gnome-media.spec
changeset 79 eb19170f9fff
child 93 59c1ec182d41
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnome-media.spec	Wed May 14 14:24:34 2003 +0000
@@ -0,0 +1,104 @@
+#
+# spec file for package gnome-media (Version 2.2.1.1)
+#
+# Copyright (c) 2003 Sun Microsystems Inc
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# This header file needs to be a Sun standard one that will
+# have to contain all the boring legal stuff
+
+Name:         gnome-media
+Summary:      GNOME Multimedia (Media)
+Version:      2.2.1.1
+Release:      1
+Distribution: Mercury
+Vendor:       Sun Microsystems Inc
+License:      GPL
+Group:        System/GUI/GNOME
+Source:       gnome-media-%{version}.tar.bz2
+URL:          http://www.gnome.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_docdir}
+Autoreqprov:  on
+PreReq:       filesystem
+Requires:     sox
+
+%description
+This package contains some multimedia programs for GNOME.
+
+Documentation:
+
+GNOME online help
+/usr/share/doc/packages/gnome
+
+Authors:
+--------
+    Iain Holmes             <[email protected]>               
+    Tim P. Gerla            <[email protected]>                  
+    Jens Ch. Restemeier     <[email protected]>    
+    Gregory McLean          <[email protected]>             
+    Andreas Hyden           <[email protected]>         
+    Seth Nickell            <[email protected]>         
+    Balamurali Viswanathan  <[email protected]>
+
+%prep
+%setup -q
+
+%build
+autoreconf -i 
+CFLAGS="$RPM_OPT_FLAGS" \
+./configure \
+    --prefix=%{_prefix} \
+    --libdir=%{_libdir} \
+    --libexecdir=%{_libdir}/gnome-media2 \
+    --sysconfdir=%{_sysconfdir} \
+    --datadir=%{_datadir} \
+    --localstatedir=/var/lib \
+    --with-kde-datadir=/opt/kde \
+    --enable-platform-gnome2
+make 
+#make -k || make
+
+%install
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 
+make -i install DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%run_ldconfig
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+SCHEMAS="gnome-volume-control.schemas CDDB-Slave2.schemas gnome-cd.schemas gnome-sound-recorder.schemas"
+for S in $SCHEMAS; do
+ gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
+done
+
+
+%files
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%defattr (-, root, root)
+%{_bindir}/*
+%{_libdir}/*.so.*
+%{_libdir}/*.so
+%{_libdir}/*.la
+%{_libdir}/*.a
+%{_libdir}/bonobo/servers/*
+%{_libdir}/gnome-media2/* 
+%{_includedir}/* 
+%{_datadir}/locale/*/LC_MESSAGES/*.mo
+%{_datadir}/control-center-2.0/capplets/*
+%{_datadir}/omf/gnome-media/*
+%{_datadir}/gnome/help/*
+%{_datadir}/idl/*
+%{_datadir}/pixmaps/*
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_datadir}/applications/*
+%{_datadir}/gnome-media-2.0/*
+%{_datadir}/gnome-sound-recorder
+
+%changelog -n gnome-media2
+* Wed May 14 2003 - [email protected]
+- Initial Sun Release