]> git.pld-linux.org Git - packages/rdist.git/blobdiff - rdist.spec
- release 14
[packages/rdist.git] / rdist.spec
index bbae95e095d9b57c505868d296b226bfa4928976..2aaad181a4dda13bc989827d661f45422667f4f3 100644 (file)
@@ -1,15 +1,19 @@
 Summary:       Maintains identical copies of files on multiple machines
 Name:          rdist
 Version:       6.1.5
-Release:       7
+Release:       14
 License:       BSD
 Group:         Utilities/System
 Group(pl):     Narzêdzia/System
 Source0:       http://www.MagniComp.com/download/rdist/%{name}-%{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
+Source1:       rdist-eu-license.txt
+Patch0:                rdist-linux.patch
+Patch1:                rdist-links.patch
+Patch2:                rdist-oldpath.patch
+Patch3:                rdist-hardlink.patch
+Patch4:                rdist-glibc.patch
+Patch5:                rdist-ostype.patch
+URL:           http://www.MagniComp.com/rdist
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,13 +26,16 @@ mtime of files and it can update programs that are executing.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
-%{__make}
+%{__make} OPT="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/{bin,man/man1,man/man8,sbin}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,8},%{_sbindir}}
 
 install -s src/rdist $RPM_BUILD_ROOT%{_bindir}
 install -s src/rdistd $RPM_BUILD_ROOT%{_sbindir}
@@ -37,14 +44,16 @@ ln -sf ../sbin/rdistd $RPM_BUILD_ROOT%{_bindir}/rdistd
 install doc/rdist.man $RPM_BUILD_ROOT%{_mandir}/man1/rdist.1
 install doc/rdistd.man $RPM_BUILD_ROOT%{_mandir}/man8/rdist.8
 
-gzip -9nf $RPM_BUILD_ROOT{_mandir}/man*/*
+install %{SOURCE1} doc/
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* doc/rdist-eu-license.txt README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README.gz doc/rdist-eu-license.txt.gz
 %attr(755,root,root) %{_bindir}/rdist
 %attr(755,root,root) %{_bindir}/rdistd
 %attr(755,root,root) %{_sbindir}/rdistd
This page took 0.040094 seconds and 4 git commands to generate.