2024-01-05 21:38:15 +01:00
|
|
|
%define libname lib%{name}
|
|
|
|
|
|
|
|
Name: dar
|
2024-01-05 21:38:15 +01:00
|
|
|
Version: 2.6.13
|
2024-01-05 21:38:15 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A shell command that backs up directory trees and files
|
|
|
|
Group: Applications/Archiving
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
2024-01-05 21:38:15 +01:00
|
|
|
URL: https://dar.sourceforge.net/
|
2024-01-05 21:38:15 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
install -d -m0755 %{buildroot}%{python3_sitearch}
|
|
|
|
|
|
|
|
mv %{buildroot}%{_libdir}/python3/dist-packages/* %{buildroot}%{pyhton3_sitearch}
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
%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/*
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:38:15 +01:00
|
|
|
%{_libdir}/libdar*.so.*
|
|
|
|
#%{python3_sitearch}/libdar.cpython-*.so
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 21:38:15 +01:00
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}/*
|
2024-01-05 21:38:15 +01:00
|
|
|
%{_libdir}/libdar*.a
|
|
|
|
%{_libdir}/libdar*.la
|
|
|
|
%{_libdir}/libdar*.so
|
|
|
|
%{_libdir}/pkgconfig/%{libname}*.pc
|
|
|
|
%doc ChangeLog NEWS README THANKS TODO
|
2024-01-05 21:38:15 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:38:15 +01:00
|
|
|
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 2.6.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 2.5.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Sat Feb 14 2015 Automatic Build System <autodist@mambasoft.it> 2.4.17-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 2.4.15-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 2.4.14-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 2.4.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Mon Feb 24 2014 Automatic Build System <autodist@mambasoft.it> 2.4.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 2.4.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 15 2013 Automatic Build System <autodist@mambasoft.it> 2.4.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 14 2013 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 14 2012 Automatic Build System <autodist@mambasoft.it> 2.4.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 16 2011 Automatic Build System <autodist@mambasoft.it> 2.3.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed May 12 2010 Automatic Build System <autodist@mambasoft.it> 2.3.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 08 2009 Automatic Build System <autodist@mambasoft.it> 2.3.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 03 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.3.8-1mamba
|
|
|
|
- update to 2.3.8
|
|
|
|
- update mantainer
|
|
|
|
- update buildrequirements list
|
|
|
|
|
|
|
|
* Sun Oct 08 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.3.1-1qilnx
|
|
|
|
- update to version 2.3.1 by autospec
|
|
|
|
- new compatibility package %{libname}22
|
|
|
|
|
|
|
|
* Thu Jun 08 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.3.0-1qilnx
|
|
|
|
- updated to version 2.3.0 by autospec
|
|
|
|
- added libdar and libdar-devel packages
|
|
|
|
|
|
|
|
* Tue May 17 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.2.2-1qilnx
|
|
|
|
- new version
|
|
|
|
|
|
|
|
* Fri Apr 29 2005 Matteo Bernasconi <voyagernm@virgilio.it> 2.2.1-1qilnx
|
|
|
|
- first build
|