packages: yum-updatesd/yum-updatesd.spec (NEW) - raw from fedora

glen glen at pld-linux.org
Mon Dec 7 13:21:55 CET 2009


Author: glen                         Date: Mon Dec  7 12:21:55 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- raw from fedora

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

---- Diffs:

================================================================
Index: packages/yum-updatesd/yum-updatesd.spec
diff -u /dev/null packages/yum-updatesd/yum-updatesd.spec:1.1
--- /dev/null	Mon Dec  7 13:21:55 2009
+++ packages/yum-updatesd/yum-updatesd.spec	Mon Dec  7 13:21:50 2009
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary:	Update notification daemon
+Name:		yum-updatesd
+Version:	0.9
+Release:	0.1
+Epoch:		1
+License:	GPL v2
+Group:		Base
+Source0:	%{name}-%{version}.tar.bz2
+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
+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.
+
+%prep
+%setup -q
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add yum-updatesd
+service yum-updatesd restart
+
+%preun
+if [ "$1" = 0 ]; then
+	/sbin/chkconfig --del yum-updatesd
+	%service 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
+/etc/dbus-1/system.d/yum-updatesd.conf
+%attr(755,root,root) %{_sbindir}/yum-updatesd
+%{_libexecdir}/yum-updatesd-helper
+%{_mandir}/man*/yum-updatesd*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/12/07 12:21:50  glen
+- raw from fedora
================================================================


More information about the pld-cvs-commit mailing list