~ubuntu-branches/ubuntu/maverick/atool/maverick

« back to all changes in this revision

Viewing changes to atool.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2008-06-24 16:57:28 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080624165728-0w49yzajqu84lxg8
Tags: 0.35.0-4
Fix typos in README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
%define version @PACKAGE_VERSION@
3
3
%define release 1
4
4
 
5
 
Summary:        A script for managing file archives of various types.
6
 
Name:           %{package}
7
 
Group:          Applications/Archiving
8
 
Version:        %{version}
9
 
Release:        %{release}
10
 
Source:         %{package}-%{version}.tar.gz
11
 
URL:            http://www.student.lu.se/~nbi98oli/src/
12
 
License:        GPL
13
 
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
5
Summary:        A script for managing file archives of various types.
 
6
Name:           %{package}
 
7
Version:        %{version}
 
8
Release:        %{release}
 
9
License:        GPL
 
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
14
16
BuildArch:      noarch
15
17
Requires:       perl
16
18
 
17
19
%description
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). 
 
21
tar+gzip, zip etc).
 
22
 
 
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.
 
30
 
 
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).
26
33
 
27
34
%prep
28
35
%setup -q
29
36
 
30
37
%build
31
 
./configure --prefix=/usr --mandir=\${prefix}/share/man
 
38
./configure --prefix=%{_prefix}
 
39
make
32
40
 
33
41
%install
34
 
make install prefix=$RPM_BUILD_ROOT/usr
 
42
rm -rf $RPM_BUILD_ROOT
 
43
make DESTDIR=$RPM_BUILD_ROOT install
35
44
 
36
45
%clean
37
46
rm -rf $RPM_BUILD_ROOT
39
48
%files
40
49
%defattr(-,root,root)
41
50
%doc README ChangeLog COPYING NEWS TODO
42
 
%{_bindir}/*
43
 
%{_mandir}/*/*
 
51
%{_prefix}/bin/*
 
52
%{_prefix}/share/man/man1/*