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