From 654f56244ff614d8a27761402930a346a85a49d9 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:38:15 +0100 Subject: [PATCH] automatic update by autodist [release 2.4.12-1mamba;Mon Feb 24 2014] --- README.md | 5 ++ dar.spec | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100644 dar.spec diff --git a/README.md b/README.md index 5b24b63..3a68df7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # dar +DAR is a command line tool to backup a directory tree and files. +DAR is able to make differential backups, split them over a set of disks or files of a given size, use compression, filter files or subtrees to be saved or not saved, directly access and restore given files. +DAR is also able to handle extented attributes, and can make remote backups through an ssh session for example. +Finally, DAR handles save and restore of hard and symbolic links. + diff --git a/dar.spec b/dar.spec new file mode 100644 index 0000000..f017ccf --- /dev/null +++ b/dar.spec @@ -0,0 +1,148 @@ +%define libname lib%{name} + +Name: dar +Version: 2.4.12 +Release: 1mamba +Summary: A shell command that backs up directory trees and files +Group: Applications/Archiving +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://dar.sourceforge.net/ +Source: http://downloads.sourceforge.net/sourceforge/dar/dar-%{version}.tar.gz +License: GPL +Requires: %{libname} >= %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +BuildRequires: libgcc +BuildRequires: libopenssl-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: cvs + +%description +DAR is a command line tool to backup a directory tree and files. +DAR is able to make differential backups, split them over a set of disks or files of a given size, use compression, filter files or subtrees to be saved or not saved, directly access and restore given files. +DAR is also able to handle extented attributes, and can make remote backups through an ssh session for example. +Finally, DAR handles save and restore of hard and symbolic links. + +%package -n %{libname} +Summary: DAR API library +Group: System/Libraries +Provides: libdar22 +Obsoletes: libdar22 + +%description -n %{libname} +The core part of DAR programs. + +%package -n %{libname}-devel +Summary: Development files for %{libname} +Group: Development/Libraries +Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Provides: libdar22-devel +Obsoletes: libdar22-devel + +%description -n %{libname}-devel +The core part of DAR programs. + +This package contains static libraries and header files needed for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/darrc +%{_bindir}/* +%{_datadir}/%{name} +%{_mandir}/man1/* +%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/libdar.so.* + +%files -n %{libname}-devel +%defattr(-,root,root) +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/* +%{_libdir}/libdar.a +%{_libdir}/libdar.la +%{_libdir}/libdar.so +%{_libdir}/pkgconfig/%{libname}.pc + +%changelog +* Mon Feb 24 2014 Automatic Build System 2.4.12-1mamba +- automatic update by autodist + +* Fri Aug 30 2013 Automatic Build System 2.4.11-1mamba +- automatic update by autodist + +* Fri Mar 15 2013 Automatic Build System 2.4.10-1mamba +- automatic version update by autodist + +* Mon Jan 14 2013 Automatic Build System 2.4.9-1mamba +- automatic version update by autodist + +* Fri Sep 14 2012 Automatic Build System 2.4.8-1mamba +- automatic version update by autodist + +* Thu Aug 09 2012 Automatic Build System 2.4.7-1mamba +- automatic version update by autodist + +* Sat Feb 18 2012 Silvan Calarco 2.4.2-2mamba +- rebuilt with new attr due to change of position of library from /usr/lib to /lib + +* Sun Oct 02 2011 Automatic Build System 2.4.2-1mamba +- automatic version update by autodist + +* Mon Jul 25 2011 Automatic Build System 2.4.1-1mamba +- automatic version update by autodist + +* Wed Mar 16 2011 Automatic Build System 2.3.11-1mamba +- automatic update by autodist + +* Wed May 12 2010 Automatic Build System 2.3.10-1mamba +- automatic update by autodist + +* Sat Aug 08 2009 Automatic Build System 2.3.9-1mamba +- automatic update by autodist + +* Wed Sep 03 2008 Tiziana Ferro 2.3.8-1mamba +- update to 2.3.8 +- update mantainer +- update buildrequirements list + +* Sun Oct 08 2006 Stefano Cotta Ramusino 2.3.1-1qilnx +- update to version 2.3.1 by autospec +- new compatibility package %{libname}22 + +* Thu Jun 08 2006 Stefano Cotta Ramusino 2.3.0-1qilnx +- updated to version 2.3.0 by autospec +- added libdar and libdar-devel packages + +* Tue May 17 2005 Alessandro Ramazzina 2.2.2-1qilnx +- new version + +* Fri Apr 29 2005 Matteo Bernasconi 2.2.1-1qilnx +- first build