source: projects/specs/trunk/d/dar/dar-vl.spec @ 2034

Revision 2034, 5.5 KB checked in by inagaki, 14 years ago (diff)

NEW: dar, par2cmdline

Line 
1Name:           dar
2Summary:        Disk ARchive: Backup directory tree and files
3Summary(ja):    ディスクアーカイブ: ディレクトリツリーとファイルをバックアップ
4Version:        2.3.10
5Release:        1%{?_dist_release}
6
7Group:          Applications/Archiving
8License:        GPLv2+
9URL:            http://dar.linux.free.fr/
10
11Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  zlib-devel
15BuildRequires:  bzip2-devel
16BuildRequires:  openssl-devel
17BuildRequires:  libattr-devel
18BuildRequires:  e2fsprogs-devel
19
20Requires:       par2cmdline
21
22%description
23DAR is a command line tool to backup a directory tree and files. DAR is
24able to make differential backups, split them over a set of disks or files
25of a given size, use compression, filter files or subtrees to be saved or
26not saved, directly access and restore given files. DAR is also able
27to handle extented attributes, and can make remote backups through an
28ssh session for example. Finally, DAR handles save and restore of hard
29and symbolic links.
30
31%package -n libdar
32Summary:    Library providing support for the DAR API
33Group:      System Environment/Libraries
34
35%description -n libdar
36Common library code for DAR.
37
38%package -n libdar-devel
39Summary:    Development files for libdar
40Group:      Development/Libraries
41Requires:   libdar = %{version}-%{release}
42
43%description -n libdar-devel
44This package contains the header files and libraries for developing
45programs 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
54sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
55sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
56
57make %{?_smp_mflags}
58
59%install
60rm -rf $RPM_BUILD_ROOT html
61make install DESTDIR=$RPM_BUILD_ROOT
62
63# Remove the libtool archive files
64#rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/
65rm -f  $RPM_BUILD_ROOT/%{_libdir}/*.la
66
67# Delete the sample files that we can't seem to disable
68rm -rf $RPM_BUILD_ROOT/%{_datadir}/dar/
69
70# Rename the documentation directory so it makes more sense after installation.
71cp -a doc html
72# Remove the doc makefiles so they don't get installed along with the other files.
73rm -f html/Makefile*
74rm -f html/*/Makefile*
75# Sample scripts should not be executable
76chmod 0644 html/samples/*
77
78%find_lang %{name}
79
80
81%clean
82rm -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
112* Sun Oct 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3.10-1
113- Initial build for VineLinux
114
115* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.8-5
116- rebuilt with new openssl
117
118* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-4
119- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
120
121* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-3
122- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
123
124* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 2.3.8-2
125- rebuild with new openssl
126
127* Mon Aug 04 2008 Marcin Garski <mgarski[AT]post.pl> 2.3.8-1
128- Update to 2.3.8 (#434519, #438953)
129- Own dar's include directory
130- Remove Rpath
131- Update BR's
132
133* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.3.6-5
134- fix license tag
135
136* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.6-4
137- Autorebuild for GCC 4.3
138
139* Wed Dec 05 2007 Chris Petersen <rpm@forevermore.net>                  2.3.6-3
140- Add openssl requirement
141
142* Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net>                  2.3.6-2
143- failed "make tag"
144
145* Sun Nov 18 2007 Chris Petersen <rpm@forevermore.net>                  2.3.6-1
146- Update to 2.3.6
147
148* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.3.4-2
149- Rebuild for selinux ppc32 issue.
150
151* Tue Jul 03 2007 Chris Petersen <rpm@forevermore.net>                  2.3.4-1
152- Update to 2.3.4
153
154* Mon May 28 2007 Chris Petersen <rpm@forevermore.net>                  2.3.3-1
155- Update to 2.3.3
156- Remove man.dar.patch, which was added upstream
157
158* Wed Nov 15 2006 Chris Petersen <rpm@forevermore.net>                  2.3.1-4
159- Change the main summary -- this is no longer a "collection of scripts"
160
161* Tue Nov 14 2006 Chris Petersen <rpm@forevermore.net>                  2.3.1-3
162- Fix/standardize Requires/Provides for libdar and libdar-devel
163- Remove redundant zlib-devel (covered by openssl-devel)
164- Update README.Fedora with my name/date, as requested in the ticket
165- Add a patch to fix a funky character in man/dar.1
166
167* Fri Nov 04 2006 Chris Petersen <rpm@forevermore.net>                  2.3.1-2
168- Add README.Fedora explaining why we do not include static binaries (upstream's request)
169- Add libdar-static-devel subpackage to hold the *.a files
170- Disable static subpackages by default, enabled via "--with static" for those who want to compile them
171
172* Thu May 11 2006 Chris Petersen <rpm@forevermore.net>                  2.3.1-1
173- Initial package, compiled from half a dozen third party packages
174
Note: See TracBrowser for help on using the repository browser.