source: projects/specs/trunk/g/gmime/gmime-vl.spec @ 12005

Revision 12005, 8.6 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1%define apiver 3.0
2%define docver 3.2
3%define _unpackaged_files_terminate_build 1
4
5Summary:        Library for creating and parsing MIME messages
6Summary(ja):    MIMEメッセージを生成またパースするためのライブラリ
7Name:           gmime
8Version:        3.2.3
9Release:        1%{?_dist_release}
10Group:          System Environment/Libraries
11License:        GPL
12URL:            http://spruce.sourceforge.net/gmime/
13Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.xz
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
15
16BuildRequires:  glib2-devel >= 2.26.0
17BuildRequires:  gpgme-devel
18BuildRequires:  zlib-devel >= 1.2.1.1
19BuildRequires:  automake, libtool, gettext, gtk-doc
20
21# Mono only availible on these:
22%define mono_archs none
23# no mono on s390 for now: s390 s390x
24
25%ifarch %mono_archs
26BuildRequires:  mono-devel gtk-sharp2-gapi
27BuildRequires:  gtk-sharp2 >= 2.8.0
28%define monodir %{_prefix}/lib/mono
29%endif
30
31Vendor: Project Vine
32Distribution: Vine Linux
33
34%description
35The GMime suite provides a core library and set of utilities which may be
36used for the creation and parsing of messages using the Multipurpose
37Internet Mail Extension (MIME).
38
39
40%package        devel
41Summary:        Header files to develop libgmime applications
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       glib2-devel
45
46%description    devel
47The GMime suite provides a core library and set of utilities which may be
48used for the creation and parsing of messages using the Multipurpose
49Internet Mail Extension (MIME). The devel-package contains header files
50to develop applications that use libgmime.
51
52%ifarch %mono_archs
53%package        sharp
54Summary:        mono bindings for gmime
55Group:          Development/Libraries
56Requires:       %{name} = %{version}-%{release}
57Requires:       gtk-sharp2
58
59%description    sharp
60The GMime suite provides a core library and set of utilities which may be
61used for the creation and parsing of messages using the Multipurpose
62Internet Mail Extension (MIME). The devel-package contains support
63for developing mono applications that use libgmime.
64%endif
65
66%prep
67%setup -q
68
69%build
70cp %{_datadir}/gettext/config.rpath .
71## autoreconf --force --install
72
73%ifarch %mono_archs
74export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
75MONO_ARGS="--enable-mono"
76%endif
77
78%configure $MONO_ARGS
79make %{?_smp_mflags}
80
81
82%install
83rm -rf $RPM_BUILD_ROOT
84export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
85make install DESTDIR=$RPM_BUILD_ROOT
86
87find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
88
89# Don't conflict with sharutils:
90#mv $RPM_BUILD_ROOT%{_bindir}/uuencode $RPM_BUILD_ROOT%{_bindir}/gmime-uuencode
91#mv $RPM_BUILD_ROOT%{_bindir}/uudecode $RPM_BUILD_ROOT%{_bindir}/gmime-uudecode
92
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98
99%postun -p /sbin/ldconfig
100
101
102%files
103%defattr(-,root,root,-)
104%license COPYING
105%doc AUTHORS README.md TODO
106#%{_bindir}/gmime-uu??code
107%{_libdir}/lib*.so.*
108
109%files devel
110%defattr(-,root,root,-)
111%{_libdir}/lib*.a
112%{_libdir}/lib*.so
113%{_libdir}/pkgconfig/gmime-%{apiver}.pc
114%{_includedir}/gmime-%{apiver}
115%{_datadir}/gtk-doc/html/gmime-%{docver}
116
117%ifarch %mono_archs
118%files sharp
119%defattr(-,root,root,-)
120%{_libdir}/pkgconfig/gmime-sharp-%{apiver}.pc
121%{monodir}/gac/gmime-sharp
122%{monodir}/gmime-sharp-%{apiver}
123%{_datadir}/gapi-2.0/gmime-api.xml
124%endif
125
126
127%changelog
128* Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.3-1
129- new upstream release.
130- disabled to build mono stuff.
131
132* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.20-1
133- new upstream release
134
135* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.19-2
136- rebuild with VineSeed environment
137
138* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.19-1
139- new upstream release
140
141* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.17-1
142- new upstream release
143
144* Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.16-1
145- new upstream release
146
147* Sun Mar 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.15-1
148- new upstream release
149
150* Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.13-1
151- new upstream release
152
153* Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.12-1
154- new upstream release
155
156* Fri Oct 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.11-1
157- new upstream release
158
159* Thu Jun 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.10-1
160- new upstream release
161
162* Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.9-1
163- new upstream release
164
165* Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.7-1
166- new upstream release
167- remove Patch4
168
169* Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.2-1
170- new upstream release
171
172* Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
173- new upstream release
174
175* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
176- new upstream release
177- add BuildRequires: gpgme-devel
178
179* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.25-1
180- new upstream release
181
182* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.24-1
183- new upstream release
184
185* Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.22-1
186- new upstream release
187
188* Tue Dec 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.21-1
189- new upstream release
190
191* Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.20-1
192- new upstream release
193
194* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.19-1
195- new upstream release
196
197* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.17-2
198- rebuild with rpm-4.8.1 for pkg-config file
199
200* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.17-1
201- new upstream release
202
203* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.15-1
204- new upstream release
205- fix files for gmime-2.4
206- drop Patch1, Patch2, Patch3
207
208* Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.23-1vl5
209- new upstream release
210- rebuilt with mono-2.0
211- added gmime-2.2.23-gacutil.patch
212
213* Tue Aug 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.9-1vl5
214- applied new versioning policy, spec in utf-8
215- updated gmime to 2.2.9
216- dropt gmime-2.2.3-libdir.patch
217- dropt gmime-2.2.3-automake.patch
218
219* Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl1
220- initial build for Vine Linux
221
222* Tue Feb  6 2007 Alexander Larsson <alexl@redhat.com> - 2.2.3-5
223- Fix build with new automake (#224157)
224
225* Thu Oct 12 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-4
226- Bump glib requirement to 2.6 (#209565)
227
228* Tue Sep  5 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-3
229- fix gmime-config multilib conflict (#205208)
230
231* Sat Aug 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.2.3-2
232- Rebuild
233
234* Fri Aug 18 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-1
235- Upgrade to 2.2.3
236- Use the new mono libdir
237
238* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
239- rebuild
240
241* Fri Jun  9 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-2
242- Disable mono parts on s390* as mono doesn't build on s390 atm
243
244* Tue May 23 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-1
245- Update to 2.2.1
246- Fix multilib -devel conflict by using pkg-config in gmime-config (#192675)
247
248* Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.1.19-4
249- BuildRequires: gtk-sharp2 on mono archs only
250
251* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-3
252- Rebuild
253
254* Tue Feb  7 2006 Jesse Keating <jkeating@redhat.com> - 2.1.19-2.1
255- rebuilt for new gcc4.1 snapshot and glibc changes
256
257* Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-2
258- Rebuild
259
260* Sun Jan 22 2006 Alexander Larsson <alexl@redhat.com> - 2.1.19-1
261- Update to 2.1.19 (needed by beagle 0.2.0)
262
263* Thu Jan 19 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-3
264- Build on s390x
265
266* Mon Jan  9 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-2
267- build gmime-sharp conditionally on mono arches
268
269* Mon Jan  9 2006 Alexander Larsson <alexl@redhat.com> - 2.1.17-1
270- Move from Extras to Core, Update to 2.1.17, add gmime-sharp subpackage
271
272* Wed Aug 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.1.15-1
273- Update to 2.1.15
274- Use dist
275
276* Wed May 18 2005 Colin Charles <colin@fedoraproject.org> - 2.1.9-5
277- bump release, request build on ppc
278
279* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.1.9-4
280- add dep glib2-devel for pkgconfig in -devel package
281
282* Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.3
283- Remove ldconfig from Requires pre and post
284
285* Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.2
286- BR zlib-devel
287- Don't ship empty news file
288- Fixes to the files section
289- Change ldconfig in post* calls to -p /sbin/ldconfig
290
291
292* Sun Oct 17 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.1
293- Initial RPM release.
Note: See TracBrowser for help on using the repository browser.