gmime.spec revision 20836
10139N/A#
10139N/A# spec file for package gmime
10139N/A#
20784N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
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#
17185N/A
10139N/A%define owner gheet
17180N/A#
18603N/A
17180N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
12285N/A
10139N/AName: gmime
19980N/ALicense: LGPLv2.1
10139N/AGroup: System/Libraries
20832N/AVersion: 2.5.3
18905N/ARelease: 4
10139N/ADistribution: Java Desktop System
18615N/AVendor: Gnome Community
10139N/ASummary: Libraries and binaries to parse and index mail messages
20784N/ASource: http://download.gnome.org/sources/gmime/2.5/%{name}-%{version}.tar.bz2
12285N/AURL: http://spruce.sourceforge.net/gmime/
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/ADocdir: %{_defaultdocdir}/doc
12773N/AAutoreqprov: on
18266N/APrereq: /sbin/ldconfig
10139N/A
10737N/APatch1: libgmime-01-fixxref-modules.diff
11419N/APatch2: libgmime-02-configure.diff
17733N/A
10139N/ABuildRequires: autoconf
13494N/ABuildRequires: automake
11419N/ABuildRequires: glib2-devel >= 1:2.12.1
11895N/ABuildRequires: gtk-doc >= 1.0
13494N/ABuildRequires: libtool
10737N/ABuildRequires: pkgconfig
13494N/ABuildRequires: zlib-devel
15306N/A
16081N/A%description
13494N/AThis library allows you to manipulate MIME messages.
16081N/A
16445N/A%package devel
16081N/ASummary: Header files for developing applications with libgmime
14281N/AGroup: Development/Libraries
14127N/ARequires: %{name} = %{version}
16081N/ARequires: glib2-devel >= 1:2.11.4
14281N/ARequires: gtk-doc-common
16445N/ARequires: zlib-devel
16081N/A
15756N/A%description devel
16139N/AHeader files develop libgmime applications.
16139N/A
16139N/A
16445N/A%prep
16139N/A%setup -q
16339N/A%patch1 -p1
16339N/A%patch2 -p1
16448N/A
16448N/A%build
16622N/A%ifos linux
16620N/Aif [ -x /usr/bin/getconf ]; then
16959N/A CPUS=`getconf _NPROCESSORS_ONLN`
16966N/Afi
17275N/A%else
17275N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
17345N/A%endif
17345N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18486N/A CPUS=1
18486N/Afi
19926N/A
19926N/Alibtoolize --copy --force
20127N/Aaclocal $ACLOCAL_FLAGS
20057N/Aautoheader
20127N/Aautomake -a -c -f
20127N/Aautoconf
20814N/A
20153N/ACFLAGS="$RPM_OPT_FLAGS" \
20784N/A./configure --prefix=%{_prefix} \
20784N/A --mandir=%{_mandir} \
20784N/A --libdir=%{_libdir} \
20784N/A --libexecdir=%{_libexecdir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A %gtk_doc_option
10139N/A
10139N/A#make -j $CPUS
10139N/Amake
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)
12285N/A%doc AUTHORS ChangeLog README TODO
12285N/A%attr(755,root,root) %{_libdir}/libgmime-2.0.so.*.*.*
12285N/A%attr(755,root,root) %ghost %{_libdir}/libgmime-2.0.so.2
12285N/A
15811N/A%files devel
10139N/A%defattr(-,root,root)
13449N/A%doc PORTING
13494N/A%attr(755,root,root) %{_bindir}/gmime-config
13449N/A%attr(755,root,root) %{_libdir}/libgmime-2.0.so
13494N/A%attr(755,root,root) %{_libdir}/gmimeConf.sh
20784N/A%{_libdir}/pkgconfig/gmime-2.0.pc
20784N/A%{_includedir}/gmime-2.0
20784N/A%{_datadir}/gtk-doc/html/gmime
13859N/A
14281N/A
16081N/A
14281N/A%changelog
16081N/A* Wed Jun 02 2010 - brian.cameron@oracle.com
20784N/A- Bump to 2.5.3.
20784N/A* Sun Feb 14 2010 - christian.kelly@sun.com
16139N/A- Bump to 2.5.1.
16339N/A* Tue Jan 12 2010 - christian.kelly@sun.com
20784N/A- Add libgmime-01-fixxref-modules to fix build issue.
16620N/A* Mon Jul 21 2008 - damien.carbery@sun.com
20784N/A- Bump to 2.2.22.
20784N/A* Fri Jun 06 2008 - damien.carbery@sun.com
20784N/A- Revert to 2.2.21 as tracker does not yet support 2.3.x.
20784N/A* Tue Jun 03 2008 - jerry.tan@sun.com
20784N/A- Bump to 2.3.1.
20784N/A* Fri May 30 2008 - jerry.tan@sun.com
20127N/A- Bump to 2.3.0.
20153N/A* Mon May 26 2008 - damien.carbery@sun.com
20784N/A- Bump to 2.2.21. Remove upstream patch, 01-bitregion-crash.
20784N/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.
10139N/A* Sun Feb 03 2008 - halton.huo@sun.com
10139N/A- Bump to 2.2.16.
10139N/A* Tue 29 Jan 2008 - patrick.ale@gmail
10139N/A- Revert change since this is not correct.
10139N/A* Sun 27 Jan 2008 - patrick.ale@gmail.com
10139N/A- Revert change and remove /usr/share from
10139N/A build area.
10139N/A* Sat 26 Jan 2008 - patrick.ale@gmail.com
10139N/A- Add /usr/share to the prototype.
10139N/A* Thu Jan 24 2008 - halton.huo@sun.com
10139N/A- Remove mono stuff.
10139N/A* Thu Jan 03 2008 - halton.huo@sun.com
10139N/A- Bump to 2.2.15.
10139N/A* Wed Jan 02 2008 - halton.huo@sun.com
10139N/A- spilit from SUNWgmime.spec.
10139N/A