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