source: projects/specs/branches/6/d/dar/dar-vl.spec @ 7928

Revision 7928, 5.8 KB checked in by tomop, 11 years ago (diff)

dar-2.4.11-1

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