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

Revision 5168, 7.4 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

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