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