dar-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Name: dar
  2. Summary: Disk ARchive: Backup directory tree and files
  3. Summary(ja): ディスクアーカイブ: ディレクトリツリーとファイルをバックアップ
  4. Version: 2.5.3
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Archiving
  7. License: GPLv2+
  8. URL: http://dar.linux.free.fr/
  9. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: e2fsprogs-devel
  12. BuildRequires: libattr-devel
  13. BuildRequires: libgcrypt-devel
  14. BuildRequires: openssl-devel
  15. BuildRequires: lzo-devel
  16. BuildRequires: zlib-devel
  17. BuildRequires: bzip2-devel
  18. BuildRequires: xz-devel
  19. Requires: par2cmdline
  20. %description
  21. DAR is a command line tool to backup a directory tree and files. DAR is
  22. able to make differential backups, split them over a set of disks or files
  23. of a given size, use compression, filter files or subtrees to be saved or
  24. not saved, directly access and restore given files. DAR is also able
  25. to handle extented attributes, and can make remote backups through an
  26. ssh session for example. Finally, DAR handles save and restore of hard
  27. and symbolic links.
  28. %package -n libdar
  29. Summary: Library providing support for the DAR API
  30. Summary(ja): DAR API をサポートするライブラリ
  31. Group: System Environment/Libraries
  32. %description -n libdar
  33. Common library code for DAR.
  34. %package -n libdar-devel
  35. Summary: Development files for libdar
  36. Summary(ja): libdar の開発用ファイル
  37. Group: Development/Libraries
  38. Requires: libdar = %{version}-%{release}
  39. %description -n libdar-devel
  40. This package contains the header files and libraries for developing
  41. programs that use the DAR API (libdar).
  42. %prep
  43. %setup -q
  44. %build
  45. %configure --disable-build-html --disable-dar-static --disable-static
  46. # Remove Rpath
  47. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  48. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  49. make %{?_smp_mflags}
  50. %install
  51. rm -rf $RPM_BUILD_ROOT html
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. # Remove the libtool archive files
  54. #rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/
  55. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  56. # Delete the sample files that we can't seem to disable
  57. rm -rf $RPM_BUILD_ROOT/%{_datadir}/dar/
  58. # Rename the documentation directory so it makes more sense after installation.
  59. cp -a doc html
  60. # Remove the doc makefiles so they don't get installed along with the other files.
  61. rm -f html/Makefile*
  62. rm -f html/*/Makefile*
  63. # Sample scripts should not be executable
  64. chmod 0644 html/samples/*
  65. %find_lang %{name}
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT
  68. %post -n libdar -p /sbin/ldconfig
  69. %postun -n libdar -p /sbin/ldconfig
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,-)
  72. %doc html/ ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL
  73. %doc NEWS README THANKS TODO
  74. %{_bindir}/dar
  75. %{_bindir}/dar_cp
  76. %{_bindir}/dar_manager
  77. %{_bindir}/dar_slave
  78. %{_bindir}/dar_split
  79. %{_bindir}/dar_xform
  80. %{_mandir}/man1/*
  81. %config(noreplace) %{_sysconfdir}/darrc
  82. %files -n libdar
  83. %defattr(-,root,root,-)
  84. %{_libdir}/*.so.*
  85. %files -n libdar-devel
  86. %defattr(-,root,root,-)
  87. %{_includedir}/dar/
  88. %{_libdir}/*.so
  89. %{_libdir}/pkgconfig/*.pc
  90. %changelog
  91. * Mon Apr 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.3-1
  92. - new upstream release.
  93. - enabled xz compression.
  94. * Tue Nov 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.4.15-1
  95. - new upstream release
  96. - built with libgcrypt 1.6.0
  97. * Sun Jan 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.11-2
  98. - rebuilt with current environment.
  99. * Thu Oct 24 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.11-1
  100. - new upstream release.
  101. - enabled lzo2 and strong encryption.
  102. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.3.10-2
  103. - rebuild with openssl-1.0.0c
  104. * Sun Oct 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3.10-1
  105. - Initial build for VineLinux
  106. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.8-5
  107. - rebuilt with new openssl
  108. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-4
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  110. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-3
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  112. * Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 2.3.8-2
  113. - rebuild with new openssl
  114. * Mon Aug 04 2008 Marcin Garski <mgarski[AT]post.pl> 2.3.8-1
  115. - Update to 2.3.8 (#434519, #438953)
  116. - Own dar's include directory
  117. - Remove Rpath
  118. - Update BR's
  119. * Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.6-5
  120. - fix license tag
  121. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.6-4
  122. - Autorebuild for GCC 4.3
  123. * Wed Dec 05 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-3
  124. - Add openssl requirement
  125. * Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-2
  126. - failed "make tag"
  127. * Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-1
  128. - Update to 2.3.6
  129. * Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.3.4-2
  130. - Rebuild for selinux ppc32 issue.
  131. * Tue Jul 03 2007 Chris Petersen <rpm@forevermore.net> 2.3.4-1
  132. - Update to 2.3.4
  133. * Mon May 28 2007 Chris Petersen <rpm@forevermore.net> 2.3.3-1
  134. - Update to 2.3.3
  135. - Remove man.dar.patch, which was added upstream
  136. * Wed Nov 15 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-4
  137. - Change the main summary -- this is no longer a "collection of scripts"
  138. * Tue Nov 14 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-3
  139. - Fix/standardize Requires/Provides for libdar and libdar-devel
  140. - Remove redundant zlib-devel (covered by openssl-devel)
  141. - Update README.Fedora with my name/date, as requested in the ticket
  142. - Add a patch to fix a funky character in man/dar.1
  143. * Sat Nov 04 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-2
  144. - Add README.Fedora explaining why we do not include static binaries (upstream's request)
  145. - Add libdar-static-devel subpackage to hold the *.a files
  146. - Disable static subpackages by default, enabled via "--with static" for those who want to compile them
  147. * Thu May 11 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-1
  148. - Initial package, compiled from half a dozen third party packages