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