2
2
%define version @PACKAGE_VERSION@
5
Summary: A script for managing file archives of various types.
7
Group: Applications/Archiving
10
Source: %{package}-%{version}.tar.gz
11
URL: http://www.student.lu.se/~nbi98oli/src/
13
BuildRoot: %{_tmppath}/%{name}-%{version}-root
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
18
20
atool is a script for managing file archives of various types (tar,
19
tar+gzip, zip, etc). The main command is probably 'aunpack' which
20
extracts files from an archive. It overcomes the dreaded "multiple
21
files in archive root" problem by first extracting to a unique
22
subdirectory, and then moving back the files if possible. aunpack
23
also prevents local files from being overwritten by mistake. Other
24
commands provided are apack (for creating archives), als (for listing
25
files in archives), and acat (for extracting files to stdout).
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).
31
./configure --prefix=/usr --mandir=\${prefix}/share/man
38
./configure --prefix=%{_prefix}
34
make install prefix=$RPM_BUILD_ROOT/usr
42
rm -rf $RPM_BUILD_ROOT
43
make DESTDIR=$RPM_BUILD_ROOT install
37
46
rm -rf $RPM_BUILD_ROOT