File: atool.spec.in

package info (click to toggle)
atool 0.29.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 308 kB
  • sloc: perl: 1,343; sh: 243; makefile: 98
file content (43 lines) | stat: -rw-r--r-- 1,288 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%define package @PACKAGE_TARNAME@
%define version @PACKAGE_VERSION@
%define release 1

Summary:        A script for managing file archives of various types.
Name:           %{package}
Group:          Applications/Archiving
Version:        %{version}
Release:        %{release}
Source:         %{package}-%{version}.tar.gz
URL:            http://www.student.lu.se/~nbi98oli/src/
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
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

%build
./configure --prefix=/usr --mandir=\${prefix}/share/man

%install
make install prefix=$RPM_BUILD_ROOT/usr

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README ChangeLog COPYING NEWS TODO
%{_bindir}/*
%{_mandir}/*/*