SUNWlibsoup.spec revision 19107
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync#
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync# spec file for package SUNWlibsoup
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync#
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync# includes module(s): libsoup
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync#
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync# Copyright (c) 2004 Sun Microsystems, Inc.
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync# This file and all modifications and additions to the pristine
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync# package are under the same license as the package itself.
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync#
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync%define owner wangke
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync#
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync%include Solaris.inc
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync%use libsoup = libsoup.spec
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncName: SUNWlibsoup
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncLicense: LGPL v2
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncIPS_package_name: library/libsoup
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncMeta(info.classification): %{classification_prefix}:System/Libraries
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSummary: Libsoup is an HTTP client/server library for GNOME.
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncVersion: %{libsoup.version}
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSource: %{name}-manpages-0.1.tar.gz
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSUNW_Category: EVO25,%{default_category}
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSUNW_BaseDir: %{_basedir}
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSUNW_Copyright: %{name}.copyright
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRoot: %{_tmppath}/%{name}-%{version}-build
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync%include default-depend.inc
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWglib2
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWlibgcrypt
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWgnutls
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWlxml
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWzlib
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWlibms
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWlibproxy
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncRequires: SUNWsqlite3
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRequires: SUNWglib2-devel
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRequires: SUNWlibgcrypt-devel
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRequires: SUNWlibproxy-devel
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRequires: SUNWzlib
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRequires: SUNWgnome-libs
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncBuildRequires: SUNWlibgnome-keyring
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync%package devel
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSummary: %{summary} - development files
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsyncSUNW_BaseDir: %{_basedir}
7337a7243f2fb238d3d3ff90dd4c7d1aa369efbevboxsync%include default-depend.inc
Requires: SUNWlibsoup
%prep
rm -rf %name-%version
mkdir -p %name-%version
%libsoup.prep -d %name-%version
cd %{_builddir}/%name-%version
gzcat %SOURCE0 | tar xf -
%build
export LDFLAGS="%_ldflags"
export CFLAGS="%optflags"
export RPM_OPT_FLAGS="$CFLAGS"
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
export PKG_CONFIG_PATH=%{_pkg_config_path}
%libsoup.build -d %name-%version
%install
%libsoup.install -d %name-%version
# Verbose deletion to show the dirs being targetted.
rm -r $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libsoup-*
rmdir $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
rmdir $RPM_BUILD_ROOT%{_datadir}/gtk-doc
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
cd %{_builddir}/%name-%version/sun-manpages
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
%{_libdir}/girepository-1.0/*
%dir %attr (0755, root, sys) %{_datadir}
%doc -d libsoup-%{libsoup.version} README AUTHORS
%doc(bzip2) -d libsoup-%{libsoup.version} COPYING NEWS
%dir %attr (0755, root, other) %{_datadir}/doc
%{_datadir}/gir-1.0/*.gir
%{_mandir}/*/*
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%changelog
* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
- Updated BuildRequires to fit SourceJuicer.
* Sun Jan 3 2010 - christian.kelly@sun.com
- Add dep on SUNWgnome-libs.
* Thu Dec 17 2009 - ke.wang@sun.com
- Bump to 2.28.2
- Add SUNWzlib as BuildRequires.
* Thu Jul 02 2009 - ke.wang@sun.com
- Remove "-L%{_libdir} -R%{_libdir}" from LDFLAGS
- Add dependency on SUNWsqlite3
* Thu May 21 2009 - ke.wang@sun.com
- remove ChangeLog since the absence of this file in 2.26.2
* Tue Mar 10 2009 - harry.lu@sun.com
- change owner to Ke Wang.
* Wed Feb 18 2009 - ke.wang@sun.com
- Add dependency on libproxy
* Wed Jul 30 2008 - simon.zheng@sun.com
- Add manpage.
* Thu Mar 27 2008 - simon.zheng@sun.com
- Add SUNWlibsoup.copyright.
* Thu Mar 06 2008 - damien.carbery@sun.com
- Remove unnecessary code left over from SUNWevolution-libs.spec.
* Tue Mar 04 2008 - <jedy.wang@sun.com>
- Initial version created. Splited from SUNWevolution-libs.