librsync-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Summary: Rsync libraries
  2. Name: librsync
  3. Version: 0.9.7
  4. Release: 1%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Libraries
  7. URL: http://librsync.sourceforge.net/
  8. Source: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
  9. Patch: librsync-0.9.7-lfs_overflow.patch
  10. BuildRequires: zlib-devel, bzip2-devel, popt, libtool
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. %description
  13. librsync implements the "rsync" algorithm, which allows remote
  14. differencing of binary files. librsync computes a delta relative to a
  15. file's checksum, so the two files need not both be present to generate
  16. a delta.
  17. This library was previously known as libhsync up to version 0.9.0.
  18. The current version of this package does not implement the rsync
  19. network protocol and uses a delta format slightly more efficient than
  20. and incompatible with rsync 2.4.6.
  21. %package devel
  22. Summary: Headers and development libraries for librsync
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. librsync implements the "rsync" algorithm, which allows remote
  27. differencing of binary files. librsync computes a delta relative to a
  28. file's checksum, so the two files need not both be present to generate
  29. a delta.
  30. This library was previously known as libhsync up to version 0.9.0.
  31. The current version of this package does not implement the rsync
  32. network protocol and uses a delta format slightly more efficient than
  33. and incompatible with rsync 2.4.6.
  34. This package contains header files necessary for developing programs
  35. based on librsync.
  36. %prep
  37. %setup -q
  38. %patch -p1 -b .lfs_overflow
  39. %build
  40. autoreconf -f
  41. %configure --enable-shared
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. %makeinstall
  46. install -D -m 755 .libs/rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff
  47. rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{la,a}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root)
  54. %doc AUTHORS COPYING NEWS README
  55. %{_libdir}/librsync.so.1*
  56. %{_bindir}/rdiff
  57. %{_mandir}/man1/rdiff.1*
  58. %files devel
  59. %defattr(-,root,root)
  60. %{_libdir}/librsync.so
  61. %{_includedir}/*
  62. %{_mandir}/man3/librsync.3*
  63. %changelog
  64. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5
  65. - applied new versioning policy
  66. * Mon Jun 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7-0vl1
  67. - initial build for Vine Linux
  68. * Mon May 07 2007 Robert Scheck <robert@fedoraproject.org> 0.9.7-10
  69. - rebuilt
  70. * Thu Dec 14 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-9
  71. - removed static library from librsync-devel (#213780)
  72. * Mon Oct 09 2006 Gavin Henry <ghenry@suretecsystems.com> 0.9.7-8
  73. - rebuilt
  74. * Tue Oct 03 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-7
  75. - rebuilt
  76. * Mon Sep 25 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-6
  77. - added an upstream patch to solve a lfs overflow (#207940)
  78. * Wed Sep 20 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-5
  79. - some spec file cleanup, added %%{?dist} and rebuild
  80. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.7-4
  81. - rebuild on all arches
  82. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  83. - rebuilt
  84. * Sun Jan 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.7-2
  85. - Recreate autotools files with autoreconf to fix x86_64 build.
  86. * Wed Nov 10 2004 Adrian Reber <adrian@lisas.de> - 0:0.9.7-0.fdr.1
  87. - updated to 0.9.7 (#2248)
  88. - changed source URL to be downloadable with wget
  89. * Fri Aug 8 2003 Ben Escoto <bescoto@stanford.edu> 0.9.6-0.fdr.3
  90. - Build no longer requires GNU tools
  91. - Install shared library and rdiff executable by default
  92. * Sun Jul 20 2003 Ben Escoto <bescoto@stanford.edu> 0.9.5.1-0.fdr.2
  93. - Repackaged Laurent Papier's <papier@sdv.fr> rpm.