232 lines
7.5 KiB
RPMSpec
232 lines
7.5 KiB
RPMSpec
%define libname lib%{name}
|
|
|
|
Name: dar
|
|
Version: 2.7.15
|
|
Release: 1mamba
|
|
Summary: A shell command that backs up directory trees and files
|
|
Group: Applications/Archiving
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://dar.sourceforge.io/
|
|
Source: http://downloads.sourceforge.net/sourceforge/dar/dar-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libargon2-devel
|
|
BuildRequires: libattr-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcap-devel
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libgpgme-devel
|
|
BuildRequires: liblz4-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: liblzo-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: libzstd-devel
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cvs
|
|
Requires: %{libname} >= %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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 < 2.7.8
|
|
|
|
%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 < 2.7.8
|
|
|
|
%description -n %{libname}-devel
|
|
The core part of DAR programs.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--disable-dar-static \
|
|
--disable-static
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
install -d -m0755 %{buildroot}%{python3_sitearch}
|
|
|
|
mv %{buildroot}%{_libdir}/python3/dist-packages/* %{buildroot}%{pyhton3_sitearch}
|
|
|
|
%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}/dar*
|
|
%{_datadir}/%{name}
|
|
%{_mandir}/man1/*
|
|
|
|
%files -n %{libname}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libdar*.so.*
|
|
#%{python3_sitearch}/libdar.cpython-*.so
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n %{libname}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/%{name}
|
|
%{_includedir}/%{name}/*
|
|
%{_libdir}/libdar*.so
|
|
%{_libdir}/pkgconfig/%{libname}*.pc
|
|
%doc ChangeLog NEWS README THANKS TODO
|
|
|
|
%changelog
|
|
* Sat Jun 29 2024 Automatic Build System <autodist@openmamba.org> 2.7.15-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 2.7.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 01 2023 Automatic Build System <autodist@mambasoft.it> 2.7.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 2.7.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 25 2023 Automatic Build System <autodist@mambasoft.it> 2.7.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 2.7.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 03 2022 Automatic Build System <autodist@mambasoft.it> 2.7.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 08 2022 Automatic Build System <autodist@mambasoft.it> 2.7.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 20 2022 Automatic Build System <autodist@mambasoft.it> 2.7.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 14 2022 Automatic Build System <autodist@mambasoft.it> 2.7.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 14 2022 Automatic Build System <autodist@mambasoft.it> 2.7.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 03 2022 Automatic Build System <autodist@mambasoft.it> 2.7.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.2-1mamba
|
|
- update to 2.7.2
|
|
|
|
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 25 2021 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 15 2021 Automatic Build System <autodist@mambasoft.it> 2.6.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 2.6.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 2.5.9-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Feb 14 2015 Automatic Build System <autodist@mambasoft.it> 2.4.17-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 2.4.15-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 2.4.14-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 2.4.13-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|