1 %define package @PACKAGE_TARNAME@
2 %define version @PACKAGE_VERSION@
5 Summary: A script
for managing file archives of various types.
10 Group: Applications
/Archiving
11 Source: http
://savannah.nongnu.org
/download
/%{package}/%{package}-%{version}.tar.gz
12 URL: http
://www.nongnu.org
/%{package}/
13 Packager: Oskar Liljeblad
<oskar@osk.mine.nu
>
14 Vendor: Oskar Liljeblad
<oskar@osk.mine.nu
>
15 BuildRoot: %{_tmppath}/%{package}-%{version}-%{release}-root
20 atool is a script
for managing file archives of various types
(tar
,
23 The main
command is aunpack which extracts files from an archive. Did you
24 ever extract files from an archive
, not checking whether the files were
25 located
in a subdirectory or
in the top directory of the archive
, resulting
26 in files scattered all over the place? aunpack overcomes this problem by
27 first extracting to a new directory
, and
if there was only a single file
in
28 the archive
, moving that file to the original directory. aunpack also
29 prevents
local files from being overwritten by mistake.
31 The other commands provided are apack
(to create archives
), als
(to list
32 files
in archives
), and acat
(to extract files to standard out
).
38 .
/configure
--prefix
=%{_prefix}
42 rm -rf $RPM_BUILD_ROOT
43 make DESTDIR
=$RPM_BUILD_ROOT
install
46 rm -rf $RPM_BUILD_ROOT
50 %doc README ChangeLog COPYING NEWS TODO
52 %{_prefix}/share
/man
/man1
/*