2008-02-12 Ghee Teo <
[email protected]>
* Added the following spec files to trunk for now.
These specfiles are not builadable against glib 2.15.x due to some
changes be made to the header files. Putback here so that these
spec-files can be used modified by elaine/bewitche/xz159989 if
needs to. Hope to put these back to branch once it is stablized.
* SUNWcairomm.spec:
* SUNWglibmm.spec:
* SUNWgtkmm.spec:
* SUNWsigcpp.spec:
* base-specs/cairomm.spec:
* base-specs/glibmm.spec:
* base-specs/gtkmm.spec:
* base-specs/sigcpp.spec:
#
# spec file for package SUNWcairomm
#
# includes module(s): cairomm
#
%include Solaris.inc
%use cairomm = cairomm.spec
Name: SUNWcairomm
Summary: cairomm - C++ API for the Cairo Graphics Library
Version: %{default_pkg_version}
#URL: http://cairographics.org/cairomm/
#Source: http://cairographics.org/releases/cairomm-%{version}.tar.gz
SUNW_BaseDir: %{_basedir}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWgnome-base-libs
BuildRequires: SUNWgnome-base-libs-devel
Requires: SUNWsigcpp
BuildRequires: SUNWsigcpp-devel
%package devel
Summary: %{summary} - development files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %name
Requires: SUNWgnome-base-libs-devel
%prep
rm -rf %name-%version
mkdir %name-%version
%cairomm.prep -d %name-%version
cd %{_builddir}/%name-%version
%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
%if %cc_is_gcc
%else
export CXX="${CXX} -norunpath"
%endif
export CXXFLAGS="%cxx_optflags"
export PERL_PATH=/usr/perl5/bin/perl
%cairomm.build -d %name-%version
%install
rm -rf $RPM_BUILD_ROOT
%cairomm.install -d %name-%version
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
%clean
#rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/doc
%{_datadir}/doc/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%changelog
* Fri Jan 08 2008 - [email protected]
- Modified SFEcairomm.spec to make SUNWcairomm.spec and cairomm.spec
* Mon Nov 12 2007 - [email protected]
- Bump to 1.4.6.
* Wed Sep 19 2007 - [email protected]
- Bump to 1.4.4
* Fri Aug 17 2007 - [email protected]
- Bump to 1.4.2
* Sun Feb 25 2007 - [email protected]
- create