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

Revision 10113, 6.3 KB checked in by tomop, 6 years ago (diff)

dar-2.5.3-1

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