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