SUNWmm-common.spec revision 18850
10139N/A#
10139N/A# spec file for package SUNWmm-common
10139N/A# - set of mm macros for building C++ binding
12219N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
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#
10139N/A%define owner gheet
10139N/A
10139N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
10139N/A
10139N/A%include Solaris.inc
10615N/A
11829N/AName: SUNWmm-common
12370N/A# Since this is a private package and due to pkgbuild limitation of ++ in regular expression
10139N/A#IPS_package_name: library/desktop/c++/mm-common
10139N/AIPS_package_name: SUNWmm-common
10139N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
10139N/ASummary: GNOME C++ bindings effort http://www.gtkmm.org support tools
11819N/AVersion: 0.9.2
10794N/AVendor: Gnome Community
10139N/ALicense: GPL v2
10794N/ASource: http://ftp.acc.umu.se/pub/GNOME/sources/mm-common/0.9/mm-common-%{version}.tar.bz2
10794N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10640N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
10640N/ARequires: SUNWbash
10139N/ARequires: SUNWperl584core
10820N/A
10139N/A%prep
10820N/A%setup -q -n mm-common-%{version}
10339N/A
10820N/A%build
10535N/A
10820N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10861N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10917N/A CPUS=1
12139N/Afi
12139N/A
12308N/A./configure --prefix=%{_prefix} \
12308N/A --bindir=%{_bindir} \
12387N/A --mandir=%{_mandir}
12402N/A
10139N/Amake -j$CPUS
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/Afind $RPM_BUILD_ROOT -name '*.gitignore' -exec rm {} \;
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%{_bindir}
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/aclocal
10139N/A%dir %attr (0755, root, other) %{_datadir}/aclocal/*
10139N/A%dir %attr (0755, root, bin) %{_datadir}/pkgconfig
10139N/A%dir %attr (0755, root, bin) %{_datadir}/pkgconfig/*
10139N/A%{_mandir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/mm-common
10139N/A%dir %attr (0755, root, other) %{_datadir}/mm-common/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/mm-common/*/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc/mm-common/README
10139N/A%{_datadir}/doc/mm-common/skeletonmm.tar.gz
10139N/A
10139N/A%changelog
10139N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Mon Feb 15 2010 - christian.kelly@sun.com
10139N/A- Bump to 0.9.2.
10139N/A* Thu Oct 21 2009 - ghee.teo@sun.com
10139N/A- Fixed some dependencies and also installation location.
10139N/A* Fri Oct 02 2009 - ghee.teo@sun.com
10139N/A- initial version
10139N/A