17581N/A#
17581N/A# spec file for package SUNWmm-common
17581N/A# - set of mm macros for building C++ binding
17581N/A#
17581N/A# Copyright 2009 Sun Microsystems, Inc.
17581N/A# This file and all modifications and additions to the pristine
17581N/A# package are under the same license as the package itself.
17581N/A#
17581N/A%define owner gheet
18850N/A
18643N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
17581N/A
17581N/A%include Solaris.inc
17581N/A
17581N/AName: SUNWmm-common
18850N/A# Since this is a private package and due to pkgbuild limitation of ++ in regular expression
18850N/A#IPS_package_name: library/desktop/c++/mm-common
18850N/AIPS_package_name: SUNWmm-common
19102N/ALicense: GPLv2
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
17581N/ASummary: GNOME C++ bindings effort http://www.gtkmm.org support tools
18303N/AVersion: 0.9.2
18615N/ALicense: GPL v2
18612N/ASource: http://ftp.acc.umu.se/pub/GNOME/sources/mm-common/0.9/mm-common-%{version}.tar.bz2
17581N/ASUNW_BaseDir: %{_basedir}
17581N/ASUNW_Copyright: %{name}.copyright
17581N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17581N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
17581N/ARequires: SUNWbash
20857N/ABuildRequires: runtime/perl-512
17581N/A
17581N/A%prep
17581N/A%setup -q -n mm-common-%{version}
17581N/A
17581N/A%build
17581N/A
17581N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
17581N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
17581N/A CPUS=1
17581N/Afi
17581N/A
17581N/A./configure --prefix=%{_prefix} \
17581N/A --bindir=%{_bindir} \
17581N/A --mandir=%{_mandir}
17581N/A
17581N/Amake -j$CPUS
17581N/A
17581N/A%install
17581N/Arm -rf $RPM_BUILD_ROOT
17581N/Amake install DESTDIR=$RPM_BUILD_ROOT
17581N/Afind $RPM_BUILD_ROOT -name '*.gitignore' -exec rm {} \;
17581N/A
17581N/A%clean
17581N/Arm -rf $RPM_BUILD_ROOT
17581N/A
17581N/A%files
17581N/A%defattr (-, root, bin)
17581N/A%{_bindir}
17581N/A%dir %attr (0755, root, sys) %{_datadir}
17581N/A%dir %attr (0755, root, other) %{_datadir}/aclocal
17581N/A%dir %attr (0755, root, other) %{_datadir}/aclocal/*
17588N/A%dir %attr (0755, root, bin) %{_datadir}/pkgconfig
17588N/A%dir %attr (0755, root, bin) %{_datadir}/pkgconfig/*
17581N/A%{_mandir}
17581N/A%dir %attr (0755, root, other) %{_datadir}/mm-common
17581N/A%dir %attr (0755, root, other) %{_datadir}/mm-common/*
17581N/A%dir %attr (0755, root, other) %{_datadir}/mm-common/*/*
17581N/A%dir %attr (0755, root, other) %{_datadir}/doc
17581N/A%dir %attr (0755, root, other) %{_datadir}/doc/mm-common/README
18333N/A%{_datadir}/doc/mm-common/skeletonmm.tar.gz
17581N/A
17581N/A%changelog
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
18303N/A* Mon Feb 15 2010 - christian.kelly@sun.com
18303N/A- Bump to 0.9.2.
17588N/A* Thu Oct 21 2009 - ghee.teo@sun.com
17588N/A- Fixed some dependencies and also installation location.
17581N/A* Fri Oct 02 2009 - ghee.teo@sun.com
17581N/A- initial version
19369N/A
19686N/A