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