dar/dar.spec

152 lines
4.7 KiB
RPMSpec
Raw Normal View History

%define libname lib%{name}
Name: dar
Version: 2.4.13
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>
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
* 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