SPECS: system-tools-backends.spec - updated to 2.4.0; merged chang...

megabajt megabajt at pld-linux.org
Fri Sep 14 21:17:30 CEST 2007


Author: megabajt                     Date: Fri Sep 14 19:17:30 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.4.0; merged changes from DEVEL

---- Files affected:
SPECS:
   system-tools-backends.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/system-tools-backends.spec
diff -u SPECS/system-tools-backends.spec:1.23 SPECS/system-tools-backends.spec:1.24
--- SPECS/system-tools-backends.spec:1.23	Thu Jun 14 09:54:34 2007
+++ SPECS/system-tools-backends.spec	Fri Sep 14 21:17:25 2007
@@ -2,19 +2,26 @@
 Summary:	GNOME System Tools backends
 Summary(pl.UTF-8):	Backendy GNOME System Tools (narzędzi systemowych GNOME)
 Name:		system-tools-backends
-Version:	2.2.1
-Release:	2
+Version:	2.4.0
+Release:	1
 License:	LGPL
 Group:		Applications/System
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/2.2/%{name}-%{version}.tar.bz2
-# Source0-md5:	ee8a0f412e47748285672f9825647cd2
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/2.4/%{name}-%{version}.tar.bz2
+# Source0-md5:	e4b7fff9ed3b17cb7bacf9c0b9c657b5
+Source1:	%{name}.init
+Patch0:		%{name}-logindefs.patch
 URL:		http://www.gnome.org/projects/gst/
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
+BuildRequires:	dbus-glib-devel >= 0.74
+BuildRequires:	glib2-devel >= 1:2.14.0
 BuildRequires:	gnome-common >= 2.18.0
-BuildRequires:	intltool >= 0.33
+BuildRequires:	libtool
 BuildRequires:	perl-Net-DBus >= 0.33.3-1
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires(post,preun):	/sbin/chkconfig
 Requires:	perl-Net-DBus >= 0.33.3-1
+Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,8 +32,10 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
@@ -36,17 +45,31 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/system-tools-backends
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/sbin/chkconfig --add system-tools-backends
+%service system-tools-backends restart "system-tools-backends daemon"
+
+%preun
+if [ "$1" = "0" ]; then
+	%service system-tools-backends stop
+	/sbin/chkconfig --del system-tools-backends
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
+%attr(754,root,root) /etc/rc.d/init.d/system-tools-backends
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus*/system.d/*
 %{_datadir}/dbus-1/services/*.service
@@ -71,6 +94,24 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2007/09/14 19:17:25  megabajt
+- updated to 2.4.0; merged changes from DEVEL
+
+Revision 1.23.2.4  2007/09/10 21:12:45  megabajt
+- added logindefs patch
+- release 1.1 (package needs testing)
+
+Revision 1.23.2.3  2007/09/10 19:35:34  megabajt
+- updated to 2.3.2
+
+Revision 1.23.2.2  2007/09/10 18:51:33  megabajt
+- added init script
+- revised deps
+- release 1
+
+Revision 1.23.2.1  2007/09/02 15:41:10  aflinta
+- up to 2.3.1
+
 Revision 1.23  2007/06/14 07:54:34  aflinta
 - set adm group as default, release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/system-tools-backends.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list