13629N/A#
13629N/A# spec file for package SUNWlibgmime
13629N/A#
16362N/A# includes module(s): gmime
13629N/A#
13629N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
13629N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
13629N/A
17182N/A#
18603N/A%define owner gheet
17182N/A#
13629N/A
15291N/A%include Solaris.inc
13629N/A
18783N/A%use gmime = gmime.spec
13629N/A
13629N/AName: SUNWlibgmime
18616N/AIPS_package_name: library/gmime
13629N/AMeta(info.classification): %{classification_prefix}:System/Libraries
18536N/AVersion: %{gmime.version}
13629N/ASummary: Libraries and binaries to parse and index mail messages
13629N/ASUNW_BaseDir: %{_basedir}
13629N/ASUNW_Copyright:%{name}.copyright
14461N/ALicense: GNU Lesser General Public License v2.1
17674N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17674N/A
20329N/A%include default-depend.inc
20369N/A%include gnome-incorporation.inc
20369N/ABuildRequires: SUNWglib2
14461N/ARequires: SUNWzlib
13629N/ARequires: SUNWlibms
13629N/ABuildRequires: SUNWglib2-devel
13629N/ABuildRequires: SUNWgtk-doc
13629N/ARequires: SUNWgnupg
13629N/ARequires: library/security/gpgme
13629N/A
13629N/A%package devel
13629N/ASummary: %{summary} - development files
13629N/ASUNW_BaseDir: %{_basedir}
13629N/A%include default-depend.inc
13629N/A%include gnome-incorporation.inc
13629N/ARequires: %name
13629N/A
13629N/A%prep
13629N/Arm -rf %name-%version
13629N/Amkdir %name-%version
13629N/A%gmime.prep -d %name-%version
13629N/A
13629N/A%build
13629N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
13629N/Aexport CFLAGS="%optflags"
17674N/Aexport RPM_OPT_FLAGS="$CFLAGS"
20329N/Aexport LDFLAGS="%_ldflags"
20369N/A
13629N/A%gmime.build -d %name-%version
13629N/A
13629N/A%install
13629N/Arm -rf $RPM_BUILD_ROOT
13629N/A%gmime.install -d %name-%version
13629N/A
13629N/A# conflicts with SUNWesu
13629N/Arm $RPM_BUILD_ROOT%{_bindir}/uuencode
13629N/Arm $RPM_BUILD_ROOT%{_bindir}/uudecode
13629N/A##Uncomment rmdir line when bumped to 2.3.x.
13629N/Armdir $RPM_BUILD_ROOT%{_bindir}
13629N/A
13629N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT}
13629N/A
13629N/A%clean
13629N/Arm -rf $RPM_BUILD_ROOT
13629N/A
13629N/A%files
13629N/A%doc -d gmime-%{gmime.version} README AUTHORS
13629N/A%doc(bzip2) -d gmime-%{gmime.version} NEWS COPYING ChangeLog
13629N/A%dir %attr (0755, root, sys) %{_datadir}
14461N/A%dir %attr (0755, root, other) %{_datadir}/doc
13629N/A%defattr(-, root, bin)
13629N/A#%dir %attr (0755, root, bin) %dir %{_bindir}
13629N/A#%{_bindir}/*
13629N/A#%dir %attr (0755, root, bin) %dir %{_libdir}
13629N/A#%{_libdir}/*.sh
13629N/A%{_libdir}/*.so*
13629N/A
13629N/A%files devel
18478N/A%defattr(-, root, bin)
18478N/A%dir %attr (0755, root, bin) %dir %{_includedir}
13629N/A%{_includedir}/*
13629N/A%dir %attr (0755, root, other) %dir %{_libdir}/pkgconfig
13629N/A%{_libdir}/pkgconfig/*
13629N/A%dir %attr (0755, root, sys) %dir %{_datadir}
13629N/A%{_datadir}/gtk-doc
13629N/A
13629N/A%changelog
13629N/A* Mon Nov 08 2010 - brian.lu@oracle.com
13629N/A- Add 'License' tag
13629N/A* Fri Jun 06 2008 - damien.carbery@sun.com
13629N/A- Revert to 2.2.21 as tracker does not yet support 2.3.x.
13629N/A* Fri May 30 2008 - damien.carbery@sun.com
13629N/A- Remove %{_bindir} and %{_libdir} from %files as 2.3.0 tarball does not
20369N/A deliver files to there anymore.
20369N/A* Thu Mar 27 2008 - halton.huo@sun.com
18783N/A- Add copyright file
18783N/A* Sun Mar 02 2008 - simon.zheng@sun.com
18536N/A- Correct package version numbers.
18536N/A* Web Feb 27 2008 - Jerry.tan@sun.com
18478N/A- rename from SUNWgmime to SUNWlibgmime
18478N/A* Tue Jan 29 2008 - patrick.ale@gmail.com
18325N/A- Remove no_gtk_doc validation. Always install gtk-doc
18325N/A* Thu Jan 24 2008 - nonsea@users.sourceforge.net
18268N/A- Remove mono stuff
18268N/A- Add gtk-doc for %files devel
18268N/A* Wed Jan 02 2008 - nonsea@users.sourceforge.net
18268N/A- Rename from SFEgmime to SUNWgmime.
18133N/A* Tue Jul 24 2007 - nonsea@users.sourceforge.net
18133N/A- Bump to 2.2.10.
17882N/A* Wed May 2 2007 - halton.huo@sun.com
17882N/A- Bump to 2.2.8.
17882N/A- Add check mono condition.
17882N/A* Wed Sep 7 2006 - jedy.wang@sun.com
17882N/A- bump to 2.2.3
17882N/A* Sun Jul 13 2006 - laca@sun.com
17857N/A- rename to SFEgmime
17857N/A- include Solaris.inc
17674N/A- correct patch file name, update CFLAGS, add gtk-docs to %files
17674N/A* Wed Jul 12 2006 - jedy.wang@sun.com
17674N/A- Initial spec
17674N/A
17554N/A
17554N/A
17358N/A