]> git.pld-linux.org Git - packages/rdist.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:26 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rdist.spec -> 1.1

rdist.spec [new file with mode: 0644]

diff --git a/rdist.spec b/rdist.spec
new file mode 100644 (file)
index 0000000..e8a4301
--- /dev/null
@@ -0,0 +1,50 @@
+Summary: Maintains identical copies of files on multiple machines.
+Name: rdist
+Version: 6.1.5
+Release: 7
+Copyright: BSD
+Group: Applications/System
+Source: http://www.MagniComp.com/download/rdist/rdist-%{version}.tar.gz
+Patch0: rdist-6.1.5-linux.patch
+Patch1: rdist-6.1.5-links.patch
+Patch2: rdist-6.1.5-oldpath.patch
+URL: http://www.MagniComp.comA/rdist
+BuildRoot: /var/tmp/%{name}-root
+
+%description
+The rdist program maintains identical copies of files on multiple
+hosts.  If possible, rdist will preserve the owner, group, mode and
+mtime of files and it can update programs that are executing.
+
+%prep
+%setup -q
+
+%patch0 -p1 -b .linux
+%patch1 -p1 -b .links
+%patch2 -p1 -b .oldpath
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1,man/man8,sbin}
+
+install -s -m755 src/rdist $RPM_BUILD_ROOT/usr/bin
+install -s -m755 src/rdistd $RPM_BUILD_ROOT/usr/sbin
+ln -sf ../sbin/rdistd $RPM_BUILD_ROOT/usr/bin/rdistd
+
+install -m644 doc/rdist.man $RPM_BUILD_ROOT/usr/man/man1/rdist.1
+install -m644 doc/rdistd.man $RPM_BUILD_ROOT/usr/man/man8/rdist.8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc README
+/usr/bin/rdist
+/usr/bin/rdistd
+/usr/sbin/rdistd
+/usr/man/man1/rdist.1
+/usr/man/man8/rdist.8
This page took 0.074595 seconds and 4 git commands to generate.