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