2024-01-05 21:38:15 +01:00
|
|
|
%define libname lib%{name}
|
|
|
|
|
|
|
|
Name: dar
|
2024-01-05 21:38:18 +01:00
|
|
|
Version: 2.7.12
|
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
|
2024-01-05 21:38:16 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://dar.sourceforge.io/
|
2024-01-05 21:38:15 +01:00
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/dar/dar-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:38:16 +01:00
|
|
|
BuildRequires: libargon2-devel
|
2024-01-05 21:38:16 +01:00
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
BuildRequires: libattr-devel
|
2024-01-05 21:38:15 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-05 21:38:16 +01:00
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 21:38:15 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 21:38:16 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libgpgme-devel
|
|
|
|
BuildRequires: liblz4-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: liblzo-devel
|
2024-01-05 21:38:15 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 21:38:16 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2024-01-05 21:38:15 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cvs
|
2024-01-05 21:38:16 +01:00
|
|
|
Requires: %{libname} >= %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:38:15 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 21:38:16 +01:00
|
|
|
Obsoletes: libdar22 < 2.7.8
|
2024-01-05 21:38:15 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 21:38:16 +01:00
|
|
|
Obsoletes: libdar22-devel < 2.7.8
|
2024-01-05 21:38:15 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 21:38:18 +01:00
|
|
|
%configure \
|
|
|
|
--disable-dar-static \
|
|
|
|
--disable-static
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
%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}"
|
|
|
|
|
2024-01-05 21:38:18 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
2024-01-05 21:38:15 +01:00
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/darrc
|
2024-01-05 21:38:18 +01:00
|
|
|
%{_bindir}/dar*
|
2024-01-05 21:38:15 +01:00
|
|
|
%{_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*.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:18 +01:00
|
|
|
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 2.7.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:17 +01:00
|
|
|
* Sun Jun 25 2023 Automatic Build System <autodist@mambasoft.it> 2.7.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 2.7.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Sat Dec 03 2022 Automatic Build System <autodist@mambasoft.it> 2.7.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Mon Aug 08 2022 Automatic Build System <autodist@mambasoft.it> 2.7.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Mon Jun 20 2022 Automatic Build System <autodist@mambasoft.it> 2.7.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Thu Apr 14 2022 Automatic Build System <autodist@mambasoft.it> 2.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Mon Mar 14 2022 Automatic Build System <autodist@mambasoft.it> 2.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Mon Jan 03 2022 Automatic Build System <autodist@mambasoft.it> 2.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-1mamba
|
|
|
|
- update to 2.7.2
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:16 +01:00
|
|
|
* Sun Apr 25 2021 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:38:15 +01:00
|
|
|
* Mon Mar 15 2021 Automatic Build System <autodist@mambasoft.it> 2.6.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
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
|