]> git.pld-linux.org Git - packages/mtools.git/blob - mtools.spec
- added using %%{__make} 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.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
26 without mounting them. It supports Win'95 style long file names, OS/2
27 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a high
28 density 3 1/2 disk).
29
30 %description -l de
31 Mtools ist eine Dienstprogrammsammlung zum Zugriff auf
32 MS-DOS-Disketten, ohne daß diese montiert werden müssen. Es
33 unterstützt Win'95-Dateinamen (lang), OS/2-Xdf-, ZIP/JAZ- und
34 2m-Disketten (speichern bis zu 1992 KB auf einer HD 3 1/2-Diskette).
35
36 %description -l fr
37 Mtools est un ensemble d'utilitaires pour accéder aux disques MS-DOS
38 depuis UNIX sans les monter. Il supporte les noms longs Windows 95,
39 les diques Xdf OS/2, les disques ZIP et JAZ et les disques 2m
40 (stockant 1992k sur une disquette 3,5\").
41
42 %description -l pl
43 Mtools to zbiór narzêdzi udostêpniaj±cych Unixowi DOSowe dyski bez ich
44 montowania. Obs³uguje d³ugie nazwy Win95, dyski Xdf z OS/2, dyski
45 ZIP/JAZ i dyski 2m (mieszcz±ce na 3.5-calowej dyskietce do 1992k).
46
47 %description -l tr
48 mtools, MS-DOS disklerine baðlanmadan (mount edilmeden) UNIX
49 sistemlerinden eriþilebilmesini saðlar. Win'95 tarzý uzun dosya
50 isimlerini, OS/2 Xdf disklerini, ZIP/JAZ disklerini ve 2m disklerini
51 destekler.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59
60 %build
61 autoconf
62 LDFLAGS="-s"; export LDFLAGS
63 %configure
64
65 %{__make} MYCFLAGS="$RPM_OPT_FLAGS -Wall"
66
67 (makeinfo --force mtools.texi; touch mtools.*)
68 strip mtools mkmanifest
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
73
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
76
77 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*,%{_mandir}/man{1,5}/*} \
78         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.039908 seconds and 4 git commands to generate.