packages: yum-updatesd/yum-updatesd.spec - separated from yum.spec

glen glen at pld-linux.org
Mon Dec 7 15:45:27 CET 2009


Author: glen                         Date: Mon Dec  7 14:45:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- separated from yum.spec

---- Files affected:
packages/yum-updatesd:
   yum-updatesd.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/yum-updatesd/yum-updatesd.spec
diff -u packages/yum-updatesd/yum-updatesd.spec:1.1 packages/yum-updatesd/yum-updatesd.spec:1.2
--- packages/yum-updatesd/yum-updatesd.spec:1.1	Mon Dec  7 13:21:50 2009
+++ packages/yum-updatesd/yum-updatesd.spec	Mon Dec  7 15:45:21 2009
@@ -1,29 +1,33 @@
 # $Revision$, $Date$
-Summary:	Update notification daemon
+Summary:	RPM update notifier daemon
+Summary(pl.UTF-8):	Demon powiadamiający o uaktualnionych RPM-ach
 Name:		yum-updatesd
-Version:	0.9
+Version:	0.5
 Release:	0.1
 Epoch:		1
 License:	GPL v2
-Group:		Base
-Source0:	%{name}-%{version}.tar.bz2
+Group:		Networking/Daemons
+Source0:	http://yum.baseurl.org/download/yum-updatesd/%{name}-%{version}.tar.bz2
+# Source0-md5:	369b99f963dc9a4eb8fbb3c52bd0b8cd
 URL:		http://linux.duke.edu/yum/
-BuildRequires:	python
-Requires(post):	/sbin/chkconfig
-Requires(post):	/sbin/service
-Requires(preun):	/sbin/chkconfig
-Requires(preun):	/sbin/service
-Requires:	dbus-python
-Requires:	gamin-python
-Requires:	pygobject2
-Requires:	python >= 2.4
+Source1:	%{name}.init
+Source2:	%{name}.sysconfig
+Requires(post,preun):	/sbin/chkconfig
+Requires:	dbus
+Requires:	python-dbus
+Requires:	rc-scripts
 Requires:	yum >= 3.2.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-yum-updatesd provides a daemon which checks for available updates and
-can notify you when they are available via email, syslog or dbus.
+This is a daemon which periodically checks for updates and can send
+notifications via mail, dbus or syslog.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera demona regularnie sprawdzającego dostępność
+uaktualnień, mogącego wysyłać uaktualnienia pocztą elektroniczną,
+poprzez dbus lub sysloga.
 
 %prep
 %setup -q
@@ -33,30 +37,36 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/yum-updatesd
+install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add yum-updatesd
-service yum-updatesd restart
+%service yum-updatesd restart
 
 %preun
-if [ "$1" = 0 ]; then
+if [ "$1" = "0" ]; then
 	/sbin/chkconfig --del yum-updatesd
-	%service yum-updatesd stop
+	%service -q yum-updatesd stop
 fi
 
 %files
 %defattr(644,root,root,755)
-%attr(754,root,root) /etc/rc.d/init.d/yum-updatesd
-%config(noreplace) %{_sysconfdir}/yum/yum-updatesd.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/yum-updatesd.conf
 /etc/dbus-1/system.d/yum-updatesd.conf
 %attr(755,root,root) %{_sbindir}/yum-updatesd
-%{_libexecdir}/yum-updatesd-helper
-%{_mandir}/man*/yum-updatesd*
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/yum-updatesd
+%attr(754,root,root) /etc/rc.d/init.d/yum-updatesd
+#%{_libexecdir}/yum-updatesd-helper
+%{_mandir}/man5/yum-updatesd.conf.5*
+%{_mandir}/man8/yum-updatesd.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,5 +74,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/12/07 14:45:21  glen
+- separated from yum.spec
+
 Revision 1.1  2009/12/07 12:21:50  glen
 - raw from fedora
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/yum-updatesd/yum-updatesd.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list