SPECS: xsync.spec (NEW) - new, based on bundled spec

glen glen at pld-linux.org
Mon Mar 24 10:52:55 CET 2008


Author: glen                         Date: Mon Mar 24 09:52:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, based on bundled spec

---- Files affected:
SPECS:
   xsync.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/xsync.spec
diff -u /dev/null SPECS/xsync.spec:1.1
--- /dev/null	Mon Mar 24 10:52:55 2008
+++ SPECS/xsync.spec	Mon Mar 24 10:52:50 2008
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary:	Simple unified package and service management
+Name:		xsync
+Version:	0.8.3
+Release:	0.1
+License:	GPL
+Group:		Applications
+Source0:	http://www.openfusion.com.au/labs/dist/%{name}-%{version}.tar.gz
+# Source0-md5:	d96644d79fdeb80e72b1eb2ec7350c1e
+URL:		http://www.openfusion.com.au/labs/xsync/
+BuildRequires:	perl-tools-pod
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+xsync provides basic package and services management via a unified
+directory/file interface - touching a file in the appropriate
+directory indicates that a package should be installed or uninstalled,
+or a service configured to run or not run. Running xsync then ensures
+that the running system is in sync those policies. The interface is
+simple, easy to understand, and amenable to remote large-scale
+administration.
+
+This version supports chkconfig- and daemontools-based services,
+package management via rpm, apt, and yum, the installation of perl
+CPAN modules, and the execution of scripts.
+
+%prep
+%setup -q
+
+%build
+pod2man --section=8 -r "xsync %{version}" doc/xsync.pod > doc/xsync.8
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/xsync $RPM_BUILD_ROOT/etc/sysconfig $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man8 $RPM_BUILD_ROOT/var/cache/xsync
+cp -r etc/* $RPM_BUILD_ROOT%{_sysconfdir}/xsync
+mv $RPM_BUILD_ROOT%{_sysconfdir}/xsync/xsync $RPM_BUILD_ROOT/etc/sysconfig/xsync
+cp -r var/* $RPM_BUILD_ROOT/var/cache/xsync
+cp sbin/* $RPM_BUILD_ROOT%{_sbindir}
+cp -a doc/xsync.8 $RPM_BUILD_ROOT%{_mandir}/man8/xsync.8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%attr(755,root,root) %{_sbindir}/xsync_functions
+%attr(755,root,root) %{_sbindir}/xsync
+%attr(755,root,root) %{_sbindir}/xsync-*
+%attr(755,root,root) %config %{_sysconfdir}/xsync
+%attr(755,root,root) %config /var/cache/xsync
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xsync
+%{_mandir}/man8/*
+
+%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  2008-03-24 09:52:50  glen
+- new, based on bundled spec
+
================================================================


More information about the pld-cvs-commit mailing list