]> git.pld-linux.org Git - packages/rsync.git/blobdiff - rsync.spec
ipv6 not used now - patch is buggy
[packages/rsync.git] / rsync.spec
index ed0fb354d9efdb8b2986c7510b7517903df0a63d..b6c5b4d099ebe033fa3f6582a6cee56c3d872196 100644 (file)
@@ -1,14 +1,20 @@
 Summary:       Program for efficient remote updates of files.
 Summary(pl):   Program efektywnego modyfikowania plików na zdalnym komputerze.
 Name:          rsync
-Version:       2.3.0
-Release:       2
+Version:       2.3.1
+Release:       4
 Copyright:     GPL
-Group:         Applications/Networking
+Group:         Daemons
+Group(pl):     Serwery
 Source:                ftp://samba.anu.edu.au/pub/rsync/%{name}-%{version}.tar.gz
+Patch0:                rsync-config.patch
+Patch1:                rsync-man.patch
+Patch2:                rsync-231-v6-19990520-PLD.patch
 URL:           http://samba.anu.edu.au/rsync/
 BuildRoot:     /tmp/%{name}-%{version}-root
 
+%define _sysconfdir /etc/rsyncd
+
 %description
 rsync is a replacement for rcp that has many more features.
 
@@ -27,76 +33,54 @@ i transportu plik
 algorytmu zosta³a równie¿ do³±czona do pakietu.
 
 %prep
-%setup -q
+%setup  -q
+%patch0 -p1
+%patch1 -p1
+# We don't use it because it's buggy ;(
+#%patch2 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr
+autoconf 
+LDFLAGS="-s"; export LDFLAGS
+%configure \
+#      --enable-ipv6
+
 make 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install prefix=$RPM_BUILD_ROOT/usr
+make install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       mandir=$RPM_BUILD_ROOT%{_mandir} \
+       bindir=$RPM_BUILD_ROOT%{_sbindir}
 
-strip $RPM_BUILD_ROOT/usr/bin/rsync
+install -d $RPM_BUILD_ROOT/etc/rsyncd
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
-       README
+:> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.conf
+:> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.secrets
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
-%attr(755,root,root) /usr/bin/rsync
-/usr/man/man[15]/*
+%doc README.gz 
+%dir /etc/rsyncd
+%attr(640,root,root) %config /etc/rsyncd/rsyncd.conf
+%attr(640,root,root) %config /etc/rsyncd/rsyncd.secrets
+
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man[15]/*
 
 %changelog
-* Fri Mar 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.3.0-1]
-- added gzipping man pages,
-- removed man group from man pages.
-
-* Sat Nov 08 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [2.2.0-1d]
-- translation modified for pl,
-- minor changes.
-
-* Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.1.1-1]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added using $RPM_OPT_FLAGS during compile,
-- added full %attr description in %files.
-
-* Thu Jun 18 1998 Douglas N. Arnold <dna@math.psu.edu>
-Upgrade to rsync version 2.0.18
-
-* Sat May 16 1998 John H Terpstra <jht@aquasoft.com.au>
-  Upgraded to Rsync 2.0.6
-    -new feature anonymous rsync
-
-* Mon Apr  6 1998 Douglas N. Arnold <dna@math.psu.edu>
-Upgrade to rsync version 1.7.2.
-
-* Sun Mar  1 1998 Douglas N. Arnold <dna@math.psu.edu>
-Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin.
-Changes from 1.6.3-2 packaging: added latex and dvips commands
-to create tech_report.ps.
-
-* Mon Aug 25 1997 John A. Martin <jam@jamux.com>
-Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
-was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
-showing no packager nor signature but giving 
-"Source RPM: rsync-1.6.3-1.src.rpm".
-
-Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
-to '%build', removed '%prefix'.
-
-* Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
-rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the
-previous package(s).)
+* Thu Jun 17 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
+  [2.3.1-4]
+- FHS 2.0 
+
+* Wed Jun  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [2.3.1-3]
+- pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>,
+- spec rewrited by PLD team.
This page took 0.103545 seconds and 4 git commands to generate.