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