dar-vl.spec 6.1 KB

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