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

Revision 12390, 8.8 KB checked in by tomop, 4 years ago (diff)

updated 11 packages

dos2unix-7.4.1-1

enchant-1.6.0-2

enchant2-2.2.8-1

fetchmail-6.4.4-1

gmime-3.2.7-1

libical-3.0.8-1

nspr-4.25-1

re2c-1.3-1

samba-4.12.2-1

squid-4.11-1

unique-1.1.6-5

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