]> git.pld-linux.org Git - packages/mtools.git/blob - mtools.spec
- added using %{SOUURCE#} macro in %install,
[packages/mtools.git] / mtools.spec
1 Summary:     programs to access DOS disks w/o mounting them
2 Summary(de): Programme für den Zugriff auf DOS-Disks, ohne sie zu montieren 
3 Summary(fr): programmes pour accéder aux disques DOS sans avoir à les monter
4 Summary(pl): Dostêp do dysków DOSa bez montowania
5 Summary(tr): Baðlama (mount) yapmadan DOS disklerine eriþim saðlar
6 Name:        mtools
7 Version:     3.9.1
8 Release:     2
9 Copyright:   GPL
10 Group:       Utilities/File
11 Source0:     http://www.tux.org/pub/tux/knaff/mtools/%{name}-%{version}.tar.gz 
12 Source1:     mtools.conf
13 URL:         http://www.tux.org/pub/tux/knaff/mtools/
14 Prereq:      /sbin/install-info
15 Buildroot:   /tmp/%{name}-%{version}-root
16
17 %description
18 Mtools is a collection of utilities to access MS-DOS disks from Unix without
19 mounting them. It supports Win'95 style long file names, OS/2 Xdf disks,
20 ZIP/JAZ disks and 2m disks (store up to 1992k on a high density 3 1/2 disk).
21
22 %description -l de
23 Mtools ist eine Dienstprogrammsammlung zum Zugriff auf MS-DOS-Disketten,
24 ohne daß diese montiert werden müssen. Es unterstützt Win'95-Dateinamen
25 (lang), OS/2-Xdf-, ZIP/JAZ- und 2m-Disketten (speichern bis zu 1992 KB auf
26 einer HD 3 1/2-Diskette).
27
28 %description -l fr
29 Mtools est un ensemble d'utilitaires pour accéder aux disques MS-DOS depuis
30 UNIX sans les monter. Il supporte les noms longs Windows 95, les diques Xdf
31 OS/2, les disques ZIP et JAZ et les disques 2m (stockant 1992k sur une
32 disquette 3,5\").
33
34 %description -l pl
35 Mtools to zbiór narzêdzi udostêpniaj±cych Unixowi DOSowe dyski bez ich
36 montowania. Obs³uguje d³ugie nazwy Win95, dyski Xdf z OS/2, dyski
37 ZIP/JAZ i dyski 2m (mieszcz±ce na 3.5-calowej dyskietce do 1992k).
38
39 %description -l tr
40 mtools, MS-DOS disklerine baðlanmadan (mount edilmeden) UNIX sistemlerinden
41 eriþilebilmesini saðlar. Win'95 tarzý uzun dosya isimlerini, OS/2 Xdf
42 disklerini, ZIP/JAZ disklerini ve 2m disklerini destekler.
43
44 %prep
45 %setup -q
46
47 %build
48 CFLAGS="$RPM_OPT_FLAGS" ./configure \
49         --prefix=/usr \
50         --sysconfdir=/etc
51 make
52 strip mtools mkmanifest
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT/{usr,etc}
57
58 make prefix=$RPM_BUILD_ROOT/usr install
59
60 install %{SOURCE1} $RPM_BUILD_ROOT/etc
61 gzip -9f $RPM_BUILD_ROOT/usr/info/*
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 /sbin/install-info /usr/info/mtools.info.gz /usr/info/dir
68
69 %preun
70 if [ "$1" = 0 ]; then
71         /sbin/install-info --delete /usr/info/mtools.info.gz /usr/info/dir
72 fi
73
74 %files
75 %defattr(644, root, root, 755)
76 %config /etc/mtools.conf
77 %doc Changelog README Release.notes mtools.texi
78 %attr(755, root, root) /usr/bin/*
79 %attr(644, root,  man) /usr/man/man[15]/*
80 /usr/info/*
81
82 %changelog
83 * Fri Sep 25 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
84   [3.9.1-2]
85 - updated Source and URL addresses,
86 - added full %attr description in %files,
87 - added pl translation.
88
89 * Wed Sep 02 1998 Michael Maher <mike@redhat.com>
90 - Built package for 5.2.
91 - Updated Source to 3.9.1.
92 - Cleaned up spec file.
93
94 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
95 - translations modified for de, fr, tr
96
97 * Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
98 - updated to 3.8
99
100 * Tue Oct 21 1997 Otto Hammersmith
101 - changed buildroot to /var/tmp, rather than /tmp
102 - use install-info
103
104 * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
105 - built against glibc
106
107 * Thu Apr 17 1997 Erik Troan <ewt@redhat.com>
108 - Changed sysconfdir to be /etc
109
110 * Mon Apr 14 1997 Michael Fulbright <msf@redhat.com>
111 - Updated to 3.6
This page took 0.042044 seconds and 4 git commands to generate.