]> git.pld-linux.org Git - packages/mtools.git/blob - mtools.spec
- removed Prereq: /usr/sbin/fix-info-dir
[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.6
8 Release:        5
9 License:        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 Patch2:         mtools-DESTDIR.patch
17 Patch3:         mtools-paths.patch
18 URL:            http://www.tux.org/pub/tux/knaff/mtools/
19 BuildRequires:  texinfo
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _sysconfdir     /etc
23
24 %description
25 Mtools is a collection of utilities to access MS-DOS disks from Unix without
26 mounting them. It supports Win'95 style long file names, OS/2 Xdf disks,
27 ZIP/JAZ disks and 2m disks (store up to 1992k on a high density 3 1/2 disk).
28
29 %description -l de
30 Mtools ist eine Dienstprogrammsammlung zum Zugriff auf MS-DOS-Disketten,
31 ohne daß diese montiert werden müssen. Es unterstützt Win'95-Dateinamen
32 (lang), OS/2-Xdf-, ZIP/JAZ- und 2m-Disketten (speichern bis zu 1992 KB auf
33 einer HD 3 1/2-Diskette).
34
35 %description -l fr
36 Mtools est un ensemble d'utilitaires pour accéder aux disques MS-DOS depuis
37 UNIX sans les monter. Il supporte les noms longs Windows 95, les diques Xdf
38 OS/2, les disques ZIP et JAZ et les disques 2m (stockant 1992k sur une
39 disquette 3,5\").
40
41 %description -l pl
42 Mtools to zbiór narzêdzi udostêpniaj±cych Unixowi DOSowe dyski bez ich
43 montowania. Obs³uguje d³ugie nazwy Win95, dyski Xdf z OS/2, dyski
44 ZIP/JAZ i dyski 2m (mieszcz±ce na 3.5-calowej dyskietce do 1992k).
45
46 %description -l tr
47 mtools, MS-DOS disklerine baðlanmadan (mount edilmeden) UNIX sistemlerinden
48 eriþilebilmesini saðlar. Win'95 tarzý uzun dosya isimlerini, OS/2 Xdf
49 disklerini, ZIP/JAZ disklerini ve 2m disklerini destekler.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
57
58 %build
59 autoconf
60 LDFLAGS="-s"; export LDFLAGS
61 %configure
62
63 make MYCFLAGS="$RPM_OPT_FLAGS -Wall"
64
65 (makeinfo --force mtools.texi; touch mtools.*)
66 strip mtools mkmanifest
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
71
72 make install DESTDIR=$RPM_BUILD_ROOT
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
74
75 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*,%{_mandir}/man{1,5}/*} \
76         Changelog README Release.notes TODO
77
78 %post
79 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
80
81 %postun
82 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files
88 %defattr(644,root,root,755)
89 %doc {Changelog,README,Release.notes,TODO}.gz
90 %attr(755,root,root) %{_bindir}/*
91
92 %{_mandir}/man[15]/*
93 %{_infodir}/*
94 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mtools.conf
This page took 0.053827 seconds and 4 git commands to generate.