]> git.pld-linux.org Git - packages/librsync.git/commitdiff
- Init PLD spec
authorareq <areq@pld-linux.org>
Wed, 15 May 2002 11:13:27 +0000 (11:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    librsync.spec -> 1.1

librsync.spec [new file with mode: 0644]

diff --git a/librsync.spec b/librsync.spec
new file mode 100644 (file)
index 0000000..2b3c460
--- /dev/null
@@ -0,0 +1,84 @@
+Summary:       Rsync libraries
+Name:          librsync
+Version:       0.9.5
+Release:       1
+License:       LGPL
+Group:         Libraries
+Source0:       http://ftp1.sourceforge.net/rproxy/%{name}-%{version}.tar.gz
+URL:           http://www.sf.net/projects/rproxy
+Patch0:                %{name}-am.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+librsync implements the "rsync" algorithm, which allows remote
+differencing of binary files. librsync computes a delta relative to a
+file's checksum, so the two files need not both be present to generate
+a delta.
+
+This library was previously known as libhsync up to version 0.9.0.
+
+The current version of this package does not implement the rsync
+network protocol and uses a delta format slightly more efficient than
+and incompatible with rsync 2.4.6.
+
+%package devel
+Summary:       Headers and development libraries for librsync
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+librsync implements the "rsync" algorithm, which allows remote
+differencing of binary files. librsync computes a delta relative to a
+file's checksum, so the two files need not both be present to generate
+a delta.
+
+This library was previously known as libhsync up to version 0.9.0.
+
+The current version of this package does not implement the rsync
+network protocol and uses a delta format slightly more efficient than
+and incompatible with rsync 2.4.6.
+
+This package contains header files necessary for developing programs
+based on librsync.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+rm -f missing
+libtoolize --copy --force
+gettextize --copy --force
+aclocal
+autoconf
+automake -a -c
+
+%configure \
+       --prefix=%{_prefix} \
+       --mandir=%{_mandir}/
+
+%{__make} CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make}  DESTDIR=$RPM_BUILD_ROOT install
+gzip -9nf AUTHORS COPYING NEWS README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/rdiff
+%{_mandir}/man1/rdiff.1.gz
+%doc *.gz
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*
+%{_libdir}/librsync.*
+%{_mandir}/man3/librsync.3.gz
This page took 0.087467 seconds and 4 git commands to generate.