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