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

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