]> git.pld-linux.org Git - packages/etcbackup.git/commitdiff
- initial
authorwolf <wolf@pld-linux.org>
Thu, 5 Sep 2002 14:13:57 +0000 (14:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    etcbackup.spec -> 1.1

etcbackup.spec [new file with mode: 0644]

diff --git a/etcbackup.spec b/etcbackup.spec
new file mode 100644 (file)
index 0000000..d6209a4
--- /dev/null
@@ -0,0 +1,38 @@
+Summary:       Incremental backups of /etc
+Summary(pl):   Przyrostowe kopie zapasowe /etc
+Name:          etcbackup
+Version:       0.1
+Release:       1
+License:       GPL
+Group:         Base/Utilities
+Source0:       http://team.pld.org.pl/~wolf/%{name}
+Requires:      diffutils
+Requires:      gzip
+Requires:      tar
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildArch:     noarch
+
+%description
+Incremental backups of /etc. Use at your own risk.
+
+%description -l pl
+Przyrostowe kopie zapasowe /etc. U¿ywaj na w³asn± odpowiedzialno¶æ.
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/cron.hourly}
+
+install %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
+
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/etcbackup << EOF
+#!/bin/sh
+%{_bindir}/etcbackup
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sysconfdir}/cron.hourly/*
This page took 0.086063 seconds and 4 git commands to generate.