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

Revision 4616, 7.2 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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