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