librsync-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: Rsync libraries
  2. Name: librsync
  3. Version: 0.9.7
  4. Release: 2%{?_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. libtoolize --copy --force
  42. %configure --enable-shared
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. %makeinstall
  47. install -D -m 755 .libs/rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff
  48. rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{la,a}
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root)
  55. %doc AUTHORS COPYING NEWS README
  56. %{_libdir}/librsync.so.1*
  57. %{_bindir}/rdiff
  58. %{_mandir}/man1/rdiff.1*
  59. %files devel
  60. %defattr(-,root,root)
  61. %{_libdir}/librsync.so
  62. %{_includedir}/*
  63. %{_mandir}/man3/librsync.3*
  64. %changelog
  65. * Sat Apr 30 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.7-2
  66. - rebuilt with current environment
  67. - run libtoolize --copy --force
  68. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5
  69. - applied new versioning policy
  70. * Mon Jun 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7-0vl1
  71. - initial build for Vine Linux
  72. * Mon May 07 2007 Robert Scheck <robert@fedoraproject.org> 0.9.7-10
  73. - rebuilt
  74. * Thu Dec 14 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-9
  75. - removed static library from librsync-devel (#213780)
  76. * Mon Oct 09 2006 Gavin Henry <ghenry@suretecsystems.com> 0.9.7-8
  77. - rebuilt
  78. * Tue Oct 03 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-7
  79. - rebuilt
  80. * Mon Sep 25 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-6
  81. - added an upstream patch to solve a lfs overflow (#207940)
  82. * Wed Sep 20 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-5
  83. - some spec file cleanup, added %%{?dist} and rebuild
  84. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.7-4
  85. - rebuild on all arches
  86. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  87. - rebuilt
  88. * Sun Jan 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.7-2
  89. - Recreate autotools files with autoreconf to fix x86_64 build.
  90. * Wed Nov 10 2004 Adrian Reber <adrian@lisas.de> - 0:0.9.7-0.fdr.1
  91. - updated to 0.9.7 (#2248)
  92. - changed source URL to be downloadable with wget
  93. * Fri Aug 8 2003 Ben Escoto <bescoto@stanford.edu> 0.9.6-0.fdr.3
  94. - Build no longer requires GNU tools
  95. - Install shared library and rdiff executable by default
  96. * Sun Jul 20 2003 Ben Escoto <bescoto@stanford.edu> 0.9.5.1-0.fdr.2
  97. - Repackaged Laurent Papier's <papier@sdv.fr> rpm.