"Fossies" - the Fresh Open Source Software Archive

Member "atool-0.39.0/atool.spec.in" (22 Aug 2007, 1579 Bytes) of package /linux/privat/old/atool-0.39.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 %define package @PACKAGE_TARNAME@
    2 %define version @PACKAGE_VERSION@
    3 %define release 1
    4 
    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
   16 BuildArch:	noarch
   17 Requires:	perl
   18 
   19 %description
   20 atool is a script for managing file archives of various types (tar,
   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).
   33 
   34 %prep
   35 %setup -q
   36 
   37 %build
   38 ./configure --prefix=%{_prefix}
   39 make
   40 
   41 %install
   42 rm -rf $RPM_BUILD_ROOT
   43 make DESTDIR=$RPM_BUILD_ROOT install
   44 
   45 %clean
   46 rm -rf $RPM_BUILD_ROOT
   47 
   48 %files
   49 %defattr(-,root,root)
   50 %doc README ChangeLog COPYING NEWS TODO
   51 %{_prefix}/bin/*
   52 %{_prefix}/share/man/man1/*