SUNWmm-common.spec revision 19102
10139N/A#
10139N/A# spec file for package SUNWmm-common
10139N/A# - set of mm macros for building C++ binding
12198N/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
13322N/A
12578N/AName: SUNWmm-common
10139N/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
13262N/ALicense: GPLv2
11419N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
10139N/ASummary: GNOME C++ bindings effort http://www.gtkmm.org support tools
11419N/AVersion: 0.9.2
10139N/AVendor: Gnome Community
10142N/ALicense: GPL v2
10142N/ASource: http://ftp.acc.umu.se/pub/GNOME/sources/mm-common/0.9/mm-common-%{version}.tar.bz2
10244N/ASUNW_BaseDir: %{_basedir}
12773N/ASUNW_Copyright: %{name}.copyright
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/A%include default-depend.inc
11419N/ARequires: SUNWbash
10139N/ARequires: SUNWperl584core
10139N/A
11419N/A%prep
11437N/A%setup -q -n mm-common-%{version}
11962N/A
11437N/A%build
11437N/A
10139N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/A./configure --prefix=%{_prefix} \
10803N/A --bindir=%{_bindir} \
10139N/A --mandir=%{_mandir}
10139N/A
10139N/Amake -j$CPUS
10139N/A
10139N/A%install
13462N/Arm -rf $RPM_BUILD_ROOT
13462N/Amake install DESTDIR=$RPM_BUILD_ROOT
13462N/Afind $RPM_BUILD_ROOT -name '*.gitignore' -exec rm {} \;
11419N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
11419N/A%defattr (-, root, bin)
11070N/A%{_bindir}
11070N/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
12048N/A%dir %attr (0755, root, other) %{_datadir}/mm-common/*
12048N/A%dir %attr (0755, root, other) %{_datadir}/mm-common/*/*
12368N/A%dir %attr (0755, root, other) %{_datadir}/doc
12849N/A%dir %attr (0755, root, other) %{_datadir}/doc/mm-common/README
12608N/A%{_datadir}/doc/mm-common/skeletonmm.tar.gz
12849N/A
12892N/A%changelog
12892N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
13001N/A- Updated BuildRequires to fit SourceJuicer.
13001N/A* Mon Feb 15 2010 - christian.kelly@sun.com
13034N/A- Bump to 0.9.2.
13034N/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