]> git.pld-linux.org Git - packages/rdist.git/blob - rdist.spec
- changed all BuildRoot definitons
[packages/rdist.git] / rdist.spec
1 Summary: Maintains identical copies of files on multiple machines.
2 Name: rdist
3 Version: 6.1.5
4 Release: 7
5 Copyright: BSD
6 Group: Applications/System
7 Source: http://www.MagniComp.com/download/rdist/rdist-%{version}.tar.gz
8 Patch0: rdist-6.1.5-linux.patch
9 Patch1: rdist-6.1.5-links.patch
10 Patch2: rdist-6.1.5-oldpath.patch
11 URL: http://www.MagniComp.comA/rdist
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 The rdist program maintains identical copies of files on multiple
16 hosts.  If possible, rdist will preserve the owner, group, mode and
17 mtime of files and it can update programs that are executing.
18
19 %prep
20 %setup -q
21
22 %patch0 -p1 -b .linux
23 %patch1 -p1 -b .links
24 %patch2 -p1 -b .oldpath
25
26 %build
27 make
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1,man/man8,sbin}
32
33 install -s -m755 src/rdist $RPM_BUILD_ROOT/usr/bin
34 install -s -m755 src/rdistd $RPM_BUILD_ROOT/usr/sbin
35 ln -sf ../sbin/rdistd $RPM_BUILD_ROOT/usr/bin/rdistd
36
37 install -m644 doc/rdist.man $RPM_BUILD_ROOT/usr/man/man1/rdist.1
38 install -m644 doc/rdistd.man $RPM_BUILD_ROOT/usr/man/man8/rdist.8
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(-,root,root)
45 %doc README
46 /usr/bin/rdist
47 /usr/bin/rdistd
48 /usr/sbin/rdistd
49 /usr/man/man1/rdist.1
50 /usr/man/man8/rdist.8
This page took 0.561652 seconds and 4 git commands to generate.