dar-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. Name: dar
  2. Summary: Disk ARchive: Backup directory tree and files
  3. Summary(ja): ディスクアーカイブ: ディレクトリツリーとファイルをバックアップ
  4. Version: 2.6.6
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Archiving
  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 Environment/Libraries
  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: Development/Libraries
  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. %prep
  45. %setup -q
  46. %build
  47. %configure --disable-build-html --disable-dar-static --disable-static
  48. # Remove Rpath
  49. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  50. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT html
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. # Remove the libtool archive files
  56. #rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/
  57. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  58. # Delete the sample files that we can't seem to disable
  59. rm -rf $RPM_BUILD_ROOT/%{_datadir}/dar/
  60. # Rename the documentation directory so it makes more sense after installation.
  61. cp -a doc html
  62. # Remove the doc makefiles so they don't get installed along with the other files.
  63. rm -f html/Makefile*
  64. rm -f html/*/Makefile*
  65. # Sample scripts should not be executable
  66. chmod 0644 html/samples/*
  67. %find_lang %{name}
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %post -n libdar -p /sbin/ldconfig
  71. %postun -n libdar -p /sbin/ldconfig
  72. %files -f %{name}.lang
  73. %defattr(-,root,root,-)
  74. %license COPYING
  75. %doc html/ ABOUT-NLS AUTHORS ChangeLog INSTALL
  76. %doc NEWS README THANKS TODO
  77. %{_bindir}/dar
  78. %{_bindir}/dar_cp
  79. %{_bindir}/dar_manager
  80. %{_bindir}/dar_slave
  81. %{_bindir}/dar_split
  82. %{_bindir}/dar_xform
  83. %{_mandir}/man1/*
  84. %config(noreplace) %{_sysconfdir}/darrc
  85. %files -n libdar
  86. %defattr(-,root,root,-)
  87. %{_libdir}/*.so.*
  88. %files -n libdar-devel
  89. %defattr(-,root,root,-)
  90. %{_includedir}/dar/
  91. %{_libdir}/*.so
  92. %{_libdir}/pkgconfig/*.pc
  93. %changelog
  94. * Sat Oct 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.6.6-1
  95. - new upstream release.
  96. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.5-1
  97. - new upstream release.
  98. * Mon Apr 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.3-1
  99. - new upstream release.
  100. - enabled xz compression.
  101. * Tue Nov 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.4.15-1
  102. - new upstream release
  103. - built with libgcrypt 1.6.0
  104. * Sun Jan 12 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.11-2
  105. - rebuilt with current environment.
  106. * Thu Oct 24 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.11-1
  107. - new upstream release.
  108. - enabled lzo2 and strong encryption.
  109. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.3.10-2
  110. - rebuild with openssl-1.0.0c
  111. * Sun Oct 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3.10-1
  112. - Initial build for VineLinux
  113. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.8-5
  114. - rebuilt with new openssl
  115. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-4
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  117. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-3
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  119. * Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 2.3.8-2
  120. - rebuild with new openssl
  121. * Mon Aug 04 2008 Marcin Garski <mgarski[AT]post.pl> 2.3.8-1
  122. - Update to 2.3.8 (#434519, #438953)
  123. - Own dar's include directory
  124. - Remove Rpath
  125. - Update BR's
  126. * Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.6-5
  127. - fix license tag
  128. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.6-4
  129. - Autorebuild for GCC 4.3
  130. * Wed Dec 05 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-3
  131. - Add openssl requirement
  132. * Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-2
  133. - failed "make tag"
  134. * Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net> 2.3.6-1
  135. - Update to 2.3.6
  136. * Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.3.4-2
  137. - Rebuild for selinux ppc32 issue.
  138. * Tue Jul 03 2007 Chris Petersen <rpm@forevermore.net> 2.3.4-1
  139. - Update to 2.3.4
  140. * Mon May 28 2007 Chris Petersen <rpm@forevermore.net> 2.3.3-1
  141. - Update to 2.3.3
  142. - Remove man.dar.patch, which was added upstream
  143. * Wed Nov 15 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-4
  144. - Change the main summary -- this is no longer a "collection of scripts"
  145. * Tue Nov 14 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-3
  146. - Fix/standardize Requires/Provides for libdar and libdar-devel
  147. - Remove redundant zlib-devel (covered by openssl-devel)
  148. - Update README.Fedora with my name/date, as requested in the ticket
  149. - Add a patch to fix a funky character in man/dar.1
  150. * Sat Nov 04 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-2
  151. - Add README.Fedora explaining why we do not include static binaries (upstream's request)
  152. - Add libdar-static-devel subpackage to hold the *.a files
  153. - Disable static subpackages by default, enabled via "--with static" for those who want to compile them
  154. * Thu May 11 2006 Chris Petersen <rpm@forevermore.net> 2.3.1-1
  155. - Initial package, compiled from half a dozen third party packages