10139N/A#
10139N/A# spec file for package SUNWgnome-system-monitor
10139N/A#
10139N/A# includes module(s): gnome-system-monitor
10139N/A#
16307N/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#
19020N/A%define owner migi
10139N/A#
10139N/A%include Solaris.inc
10139N/A%use gnomesystemmonitor = gnome-system-monitor.spec
10139N/A
10139N/AName: SUNWgnome-system-monitor
18688N/AIPS_package_name: desktop/system-monitor/gnome-system-monitor
18688N/AMeta(info.classification): %{classification_prefix}:Applications/System Utilities
10139N/ASummary: GNOME system monitor
20056N/AVersion: %{gnomesystemmonitor.version}
10139N/ASUNW_BaseDir: %{_basedir}
12695N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{gnomesystemmonitor.license}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10139N/A
16401N/ARequires: SUNWsigcpp
16401N/ARequires: SUNWgtkmm
16401N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-libs
17711N/ARequires: SUNWgnome-icon-theme
10139N/ARequires: SUNWlibgtop
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWperl-xml-parser
10139N/ARequires: SUNWlibC
16307N/ARequires: SUNWdesktop-cache
16307N/ARequires: %{name}-root
16401N/ABuildRequires: SUNWgtk2-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
17711N/ABuildRequires: SUNWgnome-icon-theme
11387N/ABuildRequires: SUNWgnome-doc-utils
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWlibgtop-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWperl-xml-parser
16233N/ABuildRequires: SUNWglibmm-devel
16233N/ABuildRequires: SUNWgtkmm-devel
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%package root
10139N/ASummary: GNOME system monitor - platform dependent, / file system
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%gnomesystemmonitor.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags -lsocket -lnsl"
10536N/Aexport CXXFLAGS="%cxx_optflags"
10536N/A%if %cc_is_gcc
10536N/A%else
10536N/Aexport CXX="${CXX} -norunpath"
10536N/A%endif
10139N/A
10139N/A%gnomesystemmonitor.build -d %name-%version
10139N/A
10139N/A%install
10139N/A%gnomesystemmonitor.install -d %name-%version
10139N/A
10210N/A##rm -r $RPM_BUILD_ROOT%{_prefix}/var/scrollkeeper
11093N/A#rm -r $RPM_BUILD_ROOT/var/lib/scrollkeeper
11093N/A#rm -r $RPM_BUILD_ROOT/var
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
14370N/A%doc -d gnome-system-monitor-%{gnomesystemmonitor.version} README AUTHORS
14370N/A%doc(bzip2) -d gnome-system-monitor-%{gnomesystemmonitor.version} COPYING NEWS ChangeLog
14370N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr(0755, root, sys) %{_datadir}
10139N/A%dir %attr(0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr(0755, root, other) %{_datadir}/gnome
10139N/A%dir %attr(0755, root, bin) %{_datadir}/gnome/help
10139N/A%{_datadir}/gnome/help/*/C
10210N/A%dir %attr(0755, root, bin) %{_datadir}/omf
10210N/A%{_datadir}/omf/*/*-C.omf
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/gnome-system-monitor/side.png
16046N/A%{_datadir}/pixmaps/gnome-system-monitor/upload.svg
16046N/A%{_datadir}/pixmaps/gnome-system-monitor/download.svg
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%{_mandir}/*/*
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%dir %attr(0755, root, other) %{_datadir}/gnome
10139N/A%dir %attr(0755, root, bin) %{_datadir}/gnome/help
10139N/A%dir %attr(0755, root, bin) %{_datadir}/gnome/help/gnome-system-monitor
10139N/A%{_datadir}/gnome/help/*/[a-z]*
10210N/A%dir %attr(0755, root, bin) %{_datadir}/omf
10210N/A%dir %attr(0755, root, bin) %{_datadir}/omf/gnome-system-monitor
10210N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
18544N/A%{_datadir}/omf/gnome-system-monitor/gnome-system-monitor-zh_CN.omf
10139N/A
10139N/A%changelog
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16233N/A* Tue Mar 24 2009 - dave.lin@sun.com
16233N/A- Add BuildRequires of SUNWglibmm-devel SUNWgtkmm-devel.
16228N/A* Mon Mar 23 2009 - Niall Power <niall.power@sun.com>
16228N/A- Take ownership of spec file
14370N/A* Wed Sep 17 2008 - Henry Zhang <hua.zhang@sun.com>
14370N/A- Add %doc to %files for copyright
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
11387N/A* Thu Oct 11 2007 - damien.carbery@sun.com
11387N/A- Remove install dependency on SUNWgnome-doc-utils and change the build
11387N/A dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
11092N/A* Sat Aug 18 2007 - damien.carbery@sun.com
11092N/A- Comment out removal of /var dirs as they are no longer installed.
10536N/A* Thu Apr 26 2007 - laca@sun.com
10536N/A- set CXX to $CXX -norunpath because libtool swallows this option sometimes
10536N/A and leaves compiler paths in the binaries
10524N/A* Tue Apr 24 2007 - laca@sun.com
10524N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
10524N/A (CR 6537817)
10210N/A* Tue Mar 06 2007 - damien.carbery@sun.com
10210N/A- Add the omf files back to %files. Tweak %install and /var references.
10139N/A* Wed Feb 14 2007 - damien.carbery@sun.com
10139N/A- Remove omf files from %files as they aren't in the build! Remove reference
10139N/A to ${_prefix}/var too as it is not installed.
10139N/A* Mon Feb 5 2007 - damien.carbery@sun.com
10139N/A- Add Requires SUNWlibC after check-deps.pl run.
10139N/A* Fri Jan 26 2007 - hua.zhang@sun.com
10139N/A- Delete dependency on SUNWpcre/-devel
10139N/A* Wed Jan 10 2007 - damien.carbery@sun.com
10139N/A- Add to LDFLAGS so that libsocket and libnsl are linked against.
10139N/A* Tue Dec 19 2006 - damien.carbery@sun.com
10139N/A- Add SUNWgnome-themes/-devel dependency for gnome-icon-theme module.
10139N/A* Mon Dec 11 2006 - damien.carbery@sun.com
10139N/A- Add SUNWpcre/-devel dependency.
10139N/A* Wed Nov 22 2006 - damien.carbery@sun.com
10139N/A- 2.17 update: Add SUNWgnome-libs/-devel dependency and add pixmaps to %files.
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Fri Aug 25 2006 - laca@sun.com
10139N/A- make the postrun scripts use $BASEDIR instead of $PKG_INSTALL_ROOT so
10139N/A that it works during diskless client installation, part of CR6448317
10139N/A* Mon Jul 31 2006 - damien.carbery@sun.com
10139N/A- Remove 'devel' package definition as there is no matching %files section.
10139N/A* Sun Jul 23 2006 - laca@sun.com
10139N/A- fix gconf schemas installation and attributes
10139N/A* Fri Jul 21 2006 - hua.zhang@sun.com
10139N/A- Delete one sentence for gconf problem.
10139N/A* Thu Jul 20 2006 - hua.zhang@sun.com
10139N/A- Fix omf file bug
10139N/A* Wed Jul 19 2006 - damien.carbery@sun.com
10139N/A- Fix dir perms and merge share pkg into base pkg.
10139N/A* Fri Apr 21 2006 - hua.zhang@sun.com
10139N/A- Inital spec file
16401N/A
19279N/A
19596N/A