source: projects/specs/branches/6/g/gmime/gmime-vl.spec @ 3801

Revision 3801, 7.0 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME packages: new upstream release, bogofilter: fix perl requirements, perl-modules: new package

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