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