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

Revision 4812, 7.3 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME-3.1.92

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