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