Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > d1ff4ee937e1971bde165b0e4db8c2b8 > files > 3

atool-0.39.0-2.mga3.src.rpm

%define name atool
%define version 0.39.0
%define release %mkrel 2

Summary:        A script for managing file archives of various types
Name:           %{name}
Group:		Archiving/Compression
Version:        %{version}
Release:        %{release}
Source:         http://savannah.nongnu.org/download/atool/%{name}-%{version}.tar.gz
Patch: atool-0.37.0-bash-completion.patch
URL:            http://www.nongnu.org/atool/
License:        GPLv2+
BuildArch:	noarch
Requires:	perl

%description
atool is a script for managing file archives of various types (tar,
tar+gzip, zip, etc). The main command is probably 'aunpack' which
extracts files from an archive. It overcomes the dreaded "multiple
files in archive root" problem by first extracting to a unique
subdirectory, and then moving back the files if possible. aunpack
also prevents local files from being overwritten by mistake. Other
commands provided are apack (for creating archives), als (for listing
files in archives), and acat (for extracting files to stdout). 

%prep
%setup -q
%patch -p1 -b .bash-completion

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
install -m 644 -D extra/bash-completion-atool_0.1-1 %buildroot%_sysconfdir/bash_completion.d/atool

%files
%doc README ChangeLog NEWS TODO
%config(noreplace) %_sysconfdir/bash_completion.d/atool
%{_bindir}/*
%{_mandir}/man1/*




%changelog

* Fri Jan 11 2013 umeabot <umeabot> 0.39.0-2.mga3
+ Revision: 346547
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Oct 22 2012 gw666 <gw666> 0.39.0-1.mga3
+ Revision: 309157
- imported package atool