]> git.pld-linux.org Git - packages/rdist.git/blob - rdist.spec
- release 34
[packages/rdist.git] / rdist.spec
1 Summary:        Maintains identical copies of files on multiple machines
2 Summary(de.UTF-8):      Dateienverteiler - Verwaltung von Dateien auf mehreren Computern
3 Summary(fr.UTF-8):      Distributeur de fichiers - maintien des fichiers sur différentes machines
4 Summary(pl.UTF-8):      Narzędzie do zarządzania identycznymi kopiami plików na wielu maszynach
5 Summary(tr.UTF-8):      Dosyaları birden fazla makinada saklama sistemi
6 Name:           rdist
7 Version:        6.1.5
8 Release:        34
9 License:        BSD
10 Group:          Applications/System
11 Source0:        http://www.MagniComp.com/download/rdist/%{name}-%{version}.tar.gz
12 # Source0-md5:  546779700af70aa5f9103e08782cdcac
13 Source1:        %{name}-eu-license.txt
14 Patch0:         %{name}-linux.patch
15 Patch1:         %{name}-links.patch
16 Patch2:         %{name}-oldpath.patch
17 Patch3:         %{name}-hardlink.patch
18 Patch4:         %{name}-glibc.patch
19 Patch5:         %{name}-ostype.patch
20 Patch6:         %{name}-environ.patch
21 Patch7:         %{name}-bison.patch
22 Patch8:         %{name}-varargs.patch
23 URL:            http://www.MagniComp.com/rdist/
24 BuildRequires:  bison
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 The rdist program maintains identical copies of files on multiple
29 hosts. If possible, rdist will preserve the owner, group, mode and
30 mtime of files and it can update programs that are executing.
31
32 %description -l de.UTF-8
33 Rdist ist ein Programm zur Aufrechterhaltung identischer Kopien von
34 Dateien über mehrere Hostrechner. Es behält den Besitzer, die Gruppe,
35 den Modus und mtime der Dateien wenn irgend möglich bei, und kann
36 Programme, die ausgeführt werden, aktualisieren.
37
38 %description -l fr.UTF-8
39 Rdist est un programme pour maintenir des copies d'un même fichier
40 identiques sur plusieurs machines. Il conserve le propriétaire, le
41 groupe, le mode, et la date des fichiers si possible et peut mettre à
42 jour les programmes qu'ils utilisent.
43
44 %description -l pl.UTF-8
45 Program rdist zarządza identycznymi kopiami plików na wielu maszynach.
46 Jeżeli to możliwe, zachowuje właściciela, grupę, uprawnienia i czas
47 modyfikacji plików.
48
49 %description -l tr.UTF-8
50 rdist ile bir programın birden fazla kopyasının değişik makinalarda
51 aynı kullanıcı, grup ve kip bilgileri ile saklanması sağlanır.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59 %patch4 -p1
60 %patch5 -p1
61 %patch6 -p0
62 %patch7 -p1
63 %patch8 -p1
64
65 %build
66 %{__make} \
67         CC="%{__cc}" \
68         OPT="%{rpmcflags}"
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,8},%{_sbindir}}
73
74 install src/rdist $RPM_BUILD_ROOT%{_bindir}
75 install src/rdistd $RPM_BUILD_ROOT%{_sbindir}
76 ln -sf ../sbin/rdistd $RPM_BUILD_ROOT%{_bindir}/rdistd
77
78 install doc/rdist.man $RPM_BUILD_ROOT%{_mandir}/man1/rdist.1
79 install doc/rdistd.man $RPM_BUILD_ROOT%{_mandir}/man8/rdist.8
80
81 install %{SOURCE1} doc/
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc README doc/rdist-eu-license.txt
89 %attr(755,root,root) %{_bindir}/rdist
90 %attr(755,root,root) %{_bindir}/rdistd
91 %attr(755,root,root) %{_sbindir}/rdistd
92 %{_mandir}/man[18]/*
This page took 0.035136 seconds and 4 git commands to generate.