dar-vl.spec 6.6 KB

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