librsync-vl.spec 4.2 KB

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