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

Revision 5335, 7.5 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Summary:        Library for creating and parsing MIME messages
2Summary(ja):    MIMEメッセージを生成またパースするためのライブラリ
3Name:           gmime
4Version:        2.6.2
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* Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.2-1
132- new upstream release
133
134* Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
135- new upstream release
136
137* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
138- new upstream release
139- add BuildRequires: gpgme-devel
140
141* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.25-1
142- new upstream release
143
144* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.24-1
145- new upstream release
146
147* Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.22-1
148- new upstream release
149
150* Sat Dec 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.21-1
151- new upstream release
152
153* Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.20-1
154- new upstream release
155
156* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.19-1
157- new upstream release
158
159* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.17-2
160- rebuild with rpm-4.8.1 for pkg-config file
161
162* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.17-1
163- new upstream release
164
165* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.15-1
166- new upstream release
167- fix files for gmime-2.4
168- drop Patch1, Patch2, Patch3
169
170* Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.23-1vl5
171- new upstream release
172- rebuilt with mono-2.0
173- added gmime-2.2.23-gacutil.patch
174
175* Tue Aug 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.9-1vl5
176- applied new versioning policy, spec in utf-8
177- updated gmime to 2.2.9
178- dropt gmime-2.2.3-libdir.patch
179- dropt gmime-2.2.3-automake.patch
180
181* Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl1
182- initial build for Vine Linux
183
184* Tue Feb  6 2007 Alexander Larsson <alexl@redhat.com> - 2.2.3-5
185- Fix build with new automake (#224157)
186
187* Thu Oct 12 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-4
188- Bump glib requirement to 2.6 (#209565)
189
190* Tue Sep  5 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-3
191- fix gmime-config multilib conflict (#205208)
192
193* Sat Aug 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.2.3-2
194- Rebuild
195
196* Fri Aug 18 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-1
197- Upgrade to 2.2.3
198- Use the new mono libdir
199
200* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
201- rebuild
202
203* Fri Jun  9 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-2
204- Disable mono parts on s390* as mono doesn't build on s390 atm
205
206* Tue May 23 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-1
207- Update to 2.2.1
208- Fix multilib -devel conflict by using pkg-config in gmime-config (#192675)
209
210* Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.1.19-4
211- BuildRequires: gtk-sharp2 on mono archs only
212
213* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-3
214- Rebuild
215
216* Tue Feb  7 2006 Jesse Keating <jkeating@redhat.com> - 2.1.19-2.1
217- rebuilt for new gcc4.1 snapshot and glibc changes
218
219* Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-2
220- Rebuild
221
222* Sun Jan 22 2006 Alexander Larsson <alexl@redhat.com> - 2.1.19-1
223- Update to 2.1.19 (needed by beagle 0.2.0)
224
225* Thu Jan 19 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-3
226- Build on s390x
227
228* Mon Jan  9 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-2
229- build gmime-sharp conditionally on mono arches
230
231* Mon Jan  9 2006 Alexander Larsson <alexl@redhat.com> - 2.1.17-1
232- Move from Extras to Core, Update to 2.1.17, add gmime-sharp subpackage
233
234* Wed Aug 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.1.15-1
235- Update to 2.1.15
236- Use dist
237
238* Wed May 18 2005 Colin Charles <colin@fedoraproject.org> - 2.1.9-5
239- bump release, request build on ppc
240
241* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.1.9-4
242- add dep glib2-devel for pkgconfig in -devel package
243
244* Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.3
245- Remove ldconfig from Requires pre and post
246
247* Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.2
248- BR zlib-devel
249- Don't ship empty news file
250- Fixes to the files section
251- Change ldconfig in post* calls to -p /sbin/ldconfig
252
253
254* Sun Oct 17 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.1
255- Initial RPM release.
Note: See TracBrowser for help on using the repository browser.