*** empty log message ***
authordc144907
Fri, 13 Feb 2004 09:18:15 +0000
changeset 1650 9e8059314f5e
parent 1649 9206c5dbf1c4
child 1651 1e1cd52426b9
*** empty log message ***
Solaris/SUNWgnome-audio.spec
Solaris/SUNWgnome-session.spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWgnome-audio.spec	Fri Feb 13 09:18:15 2004 +0000
@@ -0,0 +1,88 @@
+#
+# spec file for package SUNWgnome-audio
+#
+# includes module(s): gnome-audio
+#
+# 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_audio = gnome-audio.spec
+%use esound = esound.spec
+%use audiofile = audiofile.spec
+
+Name:                    SUNWgnome-audio
+Summary:                 GNOME audio support framework
+Version:                 2.4.0.1
+SUNW_BaseDir:            %{_prefix}
+BuildRoot:               %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+Requires: SUNWlibms
+
+%package root
+Summary:                 GNOME audio support Framework
+SUNW_BaseDir:            /
+%include default-depend.inc
+
+%package share
+Summary:                 GNOME audio support Framework
+SUNW_BaseDir:            %{_prefix}
+%include default-depend.inc
+
+%prep
+rm -rf %name-%version
+mkdir %name-%version
+%esound.prep -d %name-%version
+%audiofile.prep -d %name-%version
+%gnome_audio.prep -d %name-%version
+
+%build
+export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
+export RPM_OPT_FLAGS="$CFLAGS"
+export CPPFLAGS="-I/usr/sfw/include"
+export LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib"
+%esound.build -d %name-%version
+%audiofile.build -d %name-%version
+%gnome_audio.build -d %name-%version
+
+%install
+%esound.install -d %name-%version
+%audiofile.install -d %name-%version
+%gnome_audio.install -d %name-%version
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, other)
+# %attr (0755, root, bin) %{_bindir}
+# HACK: damien.carbery: Omitted essddsp, esdfilt and esdloop because not in
+# 2.0.4 SUNWgnome-audio.
+%{_bindir}/esd
+%{_bindir}/esdcat
+%{_bindir}/esdctl
+%{_bindir}/esdmon
+%{_bindir}/esdplay
+%{_bindir}/esdrec
+%{_bindir}/esdsample
+# %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+
+# damien.carbery: Should be '_mandir' not '_prefix' but that results in
+# files being put into absolute dirs, not under $RPM_BUILD_ROOT
+%files share
+%defattr (-, root, other)
+# %attr (0755, root, sys) %{_prefix}
+%{_mandir}/man1/*.1
+# %attr (0755, root, sys) %{_datadir}
+%{_datadir}/sounds/*.wav
+%{_datadir}/sounds/gtk-events/*.wav
+%{_datadir}/sounds/panel/*.wav
+
+%files root
+%defattr (-, root, other)
+# %attr (0755, root, sys) %{_sysconfdir}
+%{_sysconfdir}/*
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solaris/SUNWgnome-session.spec	Fri Feb 13 09:18:15 2004 +0000
@@ -0,0 +1,82 @@
+#
+# spec file for package SUNWgnome-session
+#
+# includes module(s): gnome-session
+#
+# 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 gsession = gnome-session.spec
+
+Name:                    SUNWgnome-session
+Summary:                 GNOME session manager - platform dependent files, /usr filesystem
+Version:                 2.6.0
+SUNW_BaseDir:            %{_prefix}
+BuildRoot:               %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+Requires: SUNWgnome-vfs-root
+Requires: SUNWgnome-vfs-share
+Requires:	SUNWgnome-base-libs
+Requires:	SUNWgnome-config
+# Requires: SUNWgnome-component
+Requires: SUNWpl5u
+Requires: SUNWbzip
+Requires: SUNWzlib
+Requires: SUNWlxml
+
+%package share
+Summary:                 GNOME session manager - platform independent files, /usr/share
+SUNW_BaseDir:            %{_prefix}
+%include default-depend.inc
+Requires: SUNWpl5u
+
+%package root
+Summary:                 GNOME session manager - platform dependent files, / filesystem
+SUNW_BaseDir:            %{_prefix}
+%include default-depend.inc
+
+%prep
+rm -rf %name-%version
+mkdir %name-%version
+%gsession.prep -d %name-%version
+
+%build
+export PKG_CONFIG_PATH=%{_libdir}/pkgconfig:/usr/lib/pkgconfig
+export MSGFMT="/usr/bin/msgfmt"
+export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
+
+%gsession.build -d %name-%version
+
+%install
+%gsession.install -d %name-%version
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, other)
+%attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+#### %attr (0755, root, bin) %{_libdir}
+#### %{_libdir}/vfs
+#### %{_libdir}/bonobo
+#### %{_libdir}/gnome-vfs-2.0
+#### %{_libdir}/lib*.so*
+#### %attr (4755, root, other) %{_libdir}/gnome-vfs-reserved-port-helper
+
+%files share
+%defattr (-, root, other)
+%attr (0755, root, sys) %{_datadir}
+%{_datadir}
+%{_datadir}/gnome/*
+%{_datadir}/man/*
+%{_datadir}/pixmaps/*
+
+%files root
+%defattr (-, root, other)
+%attr (0755, root, sys) %{_sysconfdir}