2004-11-12 Brian Cameron <[email protected]>
authorbc99092
Fri, 12 Nov 2004 01:00:53 +0000
changeset 4524 c7ab92a65bdb
parent 4523 4b0f55d0a8a4
child 4525 452aae06ed38
2004-11-12 Brian Cameron <[email protected]> * gnome-perfmeter.spec: Added spec file for gnome-perfmeter. * SUNWgnome-performance-meter.spec: Added spec file for SUNWgnome-performance-meter. ---------------------------------------------------------------------
ChangeLog
Solaris/ChangeLog
Solaris/SUNWgnome-performance-meter.spec
gnome-perfmeter.spec
--- a/ChangeLog	Thu Nov 11 13:58:55 2004 +0000
+++ b/ChangeLog	Fri Nov 12 01:00:53 2004 +0000
@@ -1,3 +1,7 @@
+2004-11-12  Brian Cameron  <[email protected]>
+
+	* gnome-perfmeter.spec:  Added spec file for gnome-perfmeter.
+
 2004-11-12  Laszlo Peter  <[email protected]>
 
 	* jds-integartion.spec: (new) spec file for mozilla/acroread
--- a/Solaris/ChangeLog	Thu Nov 11 13:58:55 2004 +0000
+++ b/Solaris/ChangeLog	Fri Nov 12 01:00:53 2004 +0000
@@ -1,3 +1,8 @@
+2004-11-12  Brian Cameron  <[email protected]>
+
+	* SUNWgnome-performance-meter.spec:  Added spec file for
+	  SUNWgnome-performance-meter.
+
 2004-11-12  Laszlo Peter  <[email protected]>
 
 	* SUNWgnome-dtlogin-integration.spec: bump to 0.17
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWgnome-performance-meter.spec	Fri Nov 12 01:00:53 2004 +0000
@@ -0,0 +1,90 @@
+#
+# spec file for package SUNWgnome-perfmeter
+#
+# includes module(s): gnome-perfmeter
+#
+# Copyright (c) 2004 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%use gnome_perfmeter = gnome-perfmeter.spec
+
+Name:                    SUNWgnome-perfmeter
+Summary:                 GNOME Performance Meter - platform dependent files, /usr filesystem
+Version:                 2.6.0
+SUNW_BaseDir:            %{_basedir}
+BuildRoot:               %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+BuildRequires: SUNWgnome-javahelp-convert
+Requires: SUNWgnome-base-libs
+Requires: SUNWgnome-libs
+Requires: SUNWgnome-config
+Requires: SUNWbzip
+Requires: SUNWzlib
+
+%package share
+Summary:                 GNOME Performance Meter - platform independent files, /usr/share
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: SUNWperl584usr
+
+%package root
+Summary:                 GNOME Performance Meter - platform dependent files, / filesystem
+SUNW_BaseDir:            /
+%include default-depend.inc
+Requires: SUNWgnome-libs
+
+%prep
+rm -rf %name-%version
+mkdir %name-%version
+%gnome_perfmeter.prep -d %name-%version
+
+%build
+export PKG_CONFIG_PATH=%{_pkg_config_path}
+export MSGFMT="/usr/bin/msgfmt"
+export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
+export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
+export CFLAGS="%optflags -I%{_includedir}"
+export RPM_OPT_FLAGS="$CFLAGS"
+
+%gnome_perfmeter.build -d %name-%version
+
+%install
+%gnome_perfmeter.install -d %name-%version
+export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults
+for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do
+  %{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null
+done
+chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, other)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%files share
+%defattr (-, root, other)
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/applications
+%{_datadir}/gnome
+%{_datadir}/gperfmeter
+%{_datadir}/omf/*/*-C.omf
+%{_datadir}/pixmaps
+
+%files root
+%attr(0755, root, sys) %dir %{_sysconfdir}
+%defattr (-, root, other)
+%{_sysconfdir}/gconf
+
+%changelog
+* Thu Nov 11 2004 - [email protected]
+- Created.
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnome-perfmeter.spec	Fri Nov 12 01:00:53 2004 +0000
@@ -0,0 +1,70 @@
+Name:         gnome-perfmeter
+License:      GPL
+Group:        System/GUI/GNOME
+Version:      2.0.25
+Release:      1
+Distribution: Cinnabar
+Vendor:       Sun Microsystems, Inc.
+Summary:      GNOME Performance Meter
+Source:       http://ftp.gnome.org/pub/GNOME/sources/gnome-perfmeter/2.0/gnome-perfmeter-%{version}.tar.gz
+Source1:      mkinstalldirs
+URL:          http://ftp.gnome.org/pub/GNOME/sources/gnome-perfmeter/2.0/
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Autoreqprov:  on
+
+%define libgnome_version 2.0
+%define libglade_version 2.0
+%define gconf_version 2.0
+
+BuildRequires: libgnome >= %{libgnome_version}
+BuildRequires: libglade >= %{libglade_version}
+BuildRequires: gconf    >= %{gconf_version}
+Requires: libgnome >= %{libgnome_version}
+Requires: libglade >= %{libglade_version}
+Requires: gconf    >= %{gconf_version}
+
+%description
+GNOME Perfmeter is a Performance Meter for GNOME
+
+%prep
+%setup -q
+cp %SOURCE1 .
+
+%build
+aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
+libtoolize --force
+glib-gettextize --force --copy
+intltoolize --force --automake
+automake -a -c -f --gnu
+autoconf
+./configure \
+    --enable-maintainer-mode \
+    --disable-static \
+    --prefix=%{_prefix} \
+    --sysconfdir=%{_sysconfdir} \
+    --libexecdir=%{_libexecdir} \
+    --mandir=%{_mandir} \
+    --datadir=%{_datadir}
+
+make
+
+%install
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+%{_datadir}/applications
+%{_datadir}/gnome
+%{_datadir}/gperfmeter
+%{_datadir}/omf/*/*-C.omf
+%{_datadir}/pixmaps
+%{_sysconfdir}/gconf
+
+%changelog 
+* Thu Nov 11 2004 - [email protected]
+- Created.