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

Revision 2653, 5.6 KB checked in by Takemikaduchi, 13 years ago (diff)

eog-plugins,perl-Net_SSLeay,hdf5: new upstream release, others: rebuild with openssl-1.0.0c

Line 
1Name:           dar
2Summary:        Disk ARchive: Backup directory tree and files
3Summary(ja):    ディスクアーカイブ: ディレクトリツリーとファイルをバックアップ
4Version:        2.3.10
5Release:        2%{?_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 Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.3.10-2
113- rebuild with openssl-1.0.0c
114
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
Note: See TracBrowser for help on using the repository browser.