info: mtools.spec

Marcin 'Qrczak' Kowalczyk qrczak w knm.org.pl
Pią, 25 Wrz 1998, 12:41:10 CEST


Tutaj nic szczególnego...

-- 
 __("<   Marcin Kowalczyk * qrczak w knm.org.pl http://qrczak.home.ml.org/
 \__/       GCS/M d- s+:-- a21 C+++>+++$ UL++>++++$ P+++ L++>++++$ E->++
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-
-------------- następna część ---------
Summary:	Programs to access DOS disks w/o mounting them
Summary(pl):	Dostęp do dysków DOSa bez montowania
Name:		mtools
Version:	3.9.1
Release:	2
Source0:	http://www.tux.org/pub/tux/knaff/mtools/%{name}-%{version}.tar.gz
Source1:	mtools.conf
URL:		http://www.tux.org/pub/tux/knaff/mtools/
Copyright:	GPL
Group:		Utilities/File
Prereq:		/sbin/install-info
BuildRoot:	/var/tmp/%{name}-%{version}-root

%description
Mtools is a collection of utilities to access MS-DOS disks
from Unix without mounting them. It supports Win'95 style
long file names, OS/2 Xdf disks, ZIP/JAZ disks and 2m
disks (store up to 1992k on a high density 3 1/2 disk).

%description -l pl
Mtools to zbiór narzędzi udostępniających Unixowi DOSowe dyski bez ich
montowania. Obsługuje długie nazwy Win95, dyski Xdf z OS/2, dyski
ZIP/JAZ i dyski 2m (mieszczące na 3.5-calowej dyskietce do 1992k).

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure --prefix=/usr --sysconfdir=/etc
make

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/{etc,usr}
make prefix=$RPM_BUILD_ROOT/usr install
install $RPM_SOURCE_DIR/mtools.conf $RPM_BUILD_ROOT/etc
gzip -9f $RPM_BUILD_ROOT/usr/info/*

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info /usr/info/mtools.info.gz /usr/info/dir

%preun
if [ "$1" = 0 ]; then
    /sbin/install-info --delete /usr/info/mtools.info.gz /usr/info/dir
fi

%files
%defattr(644, root, root, 755)
%doc Changelog README Release.notes mtools.texi
%config /etc/mtools.conf
%attr(755, root, root) /usr/bin/*
/usr/info/*
%attr(644, root, man) /usr/man/man*/*

%changelog
* Fri Sep 25 1998 Marcin 'Qrczak' Kowalczyk <qrczak w knm.org.pl>
- updated Source and URL addresses
- added full %attr description in %files
- added pl translation

* Thu May 14 1998 Arne Coucheron <arneco w online.no>
- updated to 3.9.1-1
- removed the SAMPLE FILE text from mtools.conf
- removed older changelogs


Więcej informacji o liście dyskusyjnej pld-devel-pl