]> git.pld-linux.org Git - packages/mtools.git/blob - mtools.spec
- removed obsoleted mzip patch
[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-DESTDIR.patch
16 Patch2:         mtools-paths.patch
17 URL:            http://www.tux.org/pub/tux/knaff/mtools/
18 BuildRequires:  texinfo
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _sysconfdir     /etc
22
23 %description
24 Mtools is a collection of utilities to access MS-DOS disks from Unix
25 without mounting them. It supports Win'95 style long file names, OS/2
26 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a high
27 density 3 1/2 disk).
28
29 %description -l de
30 Mtools ist eine Dienstprogrammsammlung zum Zugriff auf
31 MS-DOS-Disketten, ohne daß diese montiert werden müssen. Es
32 unterstützt Win'95-Dateinamen (lang), OS/2-Xdf-, ZIP/JAZ- und
33 2m-Disketten (speichern bis zu 1992 KB auf 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
37 depuis UNIX sans les monter. Il supporte les noms longs Windows 95,
38 les diques Xdf OS/2, les disques ZIP et JAZ et les disques 2m
39 (stockant 1992k sur une 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
48 sistemlerinden eriþilebilmesini saðlar. Win'95 tarzý uzun dosya
49 isimlerini, OS/2 Xdf disklerini, ZIP/JAZ disklerini ve 2m disklerini
50 destekler.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56 %patch2 -p1
57
58 %build
59 autoconf
60 %configure
61
62 %{__make} MYCFLAGS="$RPM_OPT_FLAGS -Wall"
63
64 (makeinfo --force mtools.texi; touch mtools.*)
65 strip mtools mkmanifest
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
73
74 gzip -9nf Changelog README Release.notes TODO
75
76 %post
77 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
78
79 %postun
80 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc {Changelog,README,Release.notes,TODO}.gz
88 %attr(755,root,root) %{_bindir}/*
89
90 %{_mandir}/man[15]/*
91 %{_infodir}/*
92 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mtools.conf
This page took 0.07311 seconds and 4 git commands to generate.