]> git.pld-linux.org Git - packages/backup.git/commitdiff
- raw
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 10 Oct 2004 16:07:28 +0000 (16:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    backup.spec -> 1.1

backup.spec [new file with mode: 0644]

diff --git a/backup.spec b/backup.spec
new file mode 100644 (file)
index 0000000..46019d0
--- /dev/null
@@ -0,0 +1,37 @@
+Summary:       A backup strategy for Linux via CD-R
+Name:          backup
+Version:       4.0
+Release:       1
+License:       GPL
+Group:         Networking/Utilities
+Source0:       http://www.bluehaze.com.au/unix/%{name}_%{version}.tar.gz
+# Source0-md5: 6e7faf41f40d1e5c205ce5082b89e0a9
+# Source0-size:        16509
+Patch0:                %{name}-build.patch
+URL:           http://www.bluehaze.com.au/unix/cdbkup.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -c
+%patch0 -p0
+
+%build
+%{__cc} %{rpmcflags} %{rpmldflags} fsplit.c -o fsplit
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/%{name},%{_sbindir}}
+
+install %{name} fsplit $RPM_BUILD_ROOT%{_sbindir}
+install bex $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+%attr(750,root,root) %dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/bex
This page took 0.054745 seconds and 4 git commands to generate.