Author: megabajt Date: Mon Sep 10 18:51:38 2007 GMT Module: SPECS Tag: DEVEL ---- Log message: - added init script - revised deps - release 1
---- Files affected: SPECS: system-tools-backends.spec (1.23.2.1 -> 1.23.2.2) ---- Diffs: ================================================================ Index: SPECS/system-tools-backends.spec diff -u SPECS/system-tools-backends.spec:1.23.2.1 SPECS/system-tools-backends.spec:1.23.2.2 --- SPECS/system-tools-backends.spec:1.23.2.1 Sun Sep 2 17:41:10 2007 +++ SPECS/system-tools-backends.spec Mon Sep 10 20:51:33 2007 @@ -3,18 +3,24 @@ Summary(pl.UTF-8): Backendy GNOME System Tools (narzÄdzi systemowych GNOME) Name: system-tools-backends Version: 2.3.1 -Release: 0.1 +Release: 1 License: LGPL Group: Applications/System Source0: http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/2.3/%{name}-%{version}.tar.bz2 # Source0-md5: 5c1c913799c1ccdcedbb30c05736d9a3 +Source1: %{name}.init 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 @@ -27,6 +33,7 @@ %setup -q %build +%{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} @@ -36,17 +43,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 +92,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +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 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/system-tools-backends.spec?r1=1.23.2.1&r2=1.23.2.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
