gmime.spec revision 17380
15317N/A#
15317N/A# spec file for package gmime
15317N/A#
15317N/A# Copyright (c) 2008 Sun Microsystems, Inc.
15317N/A# This file and all modifications and additions to the pristine
15317N/A# package are under the same license as the package itself.
15317N/A#
20307N/A%define owner jerrytan
15317N/A#
15317N/A
18603N/A%define OSR gnome.org:0
17176N/A
15317N/AName: gmime
17016N/ALicense: LGPL v2.1
17016N/AGroup: System/Libraries
18615N/AVersion: 2.4.9
15317N/ARelease: 4
18178N/ADistribution: Java Desktop System
16477N/AVendor: Sun Microsystems, Inc.
15599N/ASummary: Libraries and binaries to parse and index mail messages
15317N/ASource: http://download.gnome.org/sources/gmime/2.4/%{name}-%{version}.tar.bz2
15317N/AURL: http://spruce.sourceforge.net/gmime/
20065N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20065N/ADocdir: %{_defaultdocdir}/doc
15317N/AAutoreqprov: on
15317N/APrereq: /sbin/ldconfig
15317N/A
20065N/ABuildRequires: autoconf
15317N/ABuildRequires: automake
15317N/ABuildRequires: glib2-devel >= 1:2.12.1
15317N/ABuildRequires: gtk-doc >= 1.0
15317N/ABuildRequires: libtool
15317N/ABuildRequires: pkgconfig
15317N/ABuildRequires: zlib-devel
15317N/A
15317N/A%description
15317N/AThis library allows you to manipulate MIME messages.
15317N/A
15599N/A%package devel
15599N/ASummary: Header files for developing applications with libgmime
15599N/AGroup: Development/Libraries
15599N/ARequires: %{name} = %{version}
15317N/ARequires: glib2-devel >= 1:2.11.4
15317N/ARequires: gtk-doc-common
15317N/ARequires: zlib-devel
15317N/A
15317N/A%description devel
15317N/AHeader files develop libgmime applications.
15317N/A
15317N/A
15317N/A%prep
15317N/A%setup -q
15317N/A
15317N/A%build
15317N/A%ifos linux
15317N/Aif [ -x /usr/bin/getconf ]; then
15317N/A CPUS=`getconf _NPROCESSORS_ONLN`
15317N/Afi
15317N/A%else
15317N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
15317N/A%endif
15317N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
15317N/A CPUS=1
15317N/Afi
15317N/A
15317N/Alibtoolize --copy --force
15317N/Aaclocal $ACLOCAL_FLAGS
15317N/Aautoheader
15317N/Aautomake -a -c -f
15317N/Aautoconf
15317N/A
15317N/ACFLAGS="$RPM_OPT_FLAGS" \
15317N/A./configure --prefix=%{_prefix} \
16477N/A --mandir=%{_mandir} \
16477N/A --libdir=%{_libdir} \
15599N/A --libexecdir=%{_libexecdir} \
15599N/A --sysconfdir=%{_sysconfdir} \
15599N/A %gtk_doc_option
15551N/A
15551N/Amake -j $CPUS
15452N/A
15452N/A%install
15317N/Amake install DESTDIR=$RPM_BUILD_ROOT
15317N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_libdir}/libgmime-2.0.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgmime-2.0.so.2
%files devel
%defattr(-,root,root)
%doc PORTING
%attr(755,root,root) %{_bindir}/gmime-config
%attr(755,root,root) %{_libdir}/libgmime-2.0.so
%attr(755,root,root) %{_libdir}/gmimeConf.sh
%{_libdir}/pkgconfig/gmime-2.0.pc
%{_includedir}/gmime-2.0
%{_datadir}/gtk-doc/html/gmime
%changelog
* Mon Jul 21 2008 - damien.carbery@sun.com
- Bump to 2.2.22.
* Fri Jun 06 2008 - damien.carbery@sun.com
- Revert to 2.2.21 as tracker does not yet support 2.3.x.
* Tue Jun 03 2008 - jerry.tan@sun.com
- Bump to 2.3.1.
* Fri May 30 2008 - jerry.tan@sun.com
- Bump to 2.3.0.
* Mon May 26 2008 - damien.carbery@sun.com
- Bump to 2.2.21. Remove upstream patch, 01-bitregion-crash.
* Sun May 04 2008 - halton.huo@sun.com
- Bump to 2.2.19
* Thu Apr 30 2008 - rick.ju@sun.com
- fix 6689345
* Thu Mar 27 2008 - damien.carbery@sun.com
- Bump to 2.2.18.
* Tue Feb 12 2008 - damien.carbery@sun.com
- Bump to 2.2.17.
* Sun Feb 03 2008 - halton.huo@sun.com
- Bump to 2.2.16.
* Tue 29 Jan 2008 - patrick.ale@gmail
- Revert change since this is not correct.
* Sun 27 Jan 2008 - patrick.ale@gmail.com
- Revert change and remove /usr/share from
build area
* Sat 26 Jan 2008 - patrick.ale@gmail.com
- Add /usr/share to the prototype
* Thu Jan 24 2008 - halton.huo@sun.com
- Remove mono stuff.
* Thu Jan 03 2008 - halton.huo@sun.com
- Bump to 2.2.15
* Wed Jan 02 2008 - halton.huo@sun.com
- spilit from SUNWgmime.spec