]> git.pld-linux.org Git - packages/mtools.git/blob - mtools.spec
- Up to 4.0.15
[packages/mtools.git] / mtools.spec
1 Summary:        Programs to access DOS disks w/o mounting them
2 Summary(de.UTF-8):      Programme für den Zugriff auf DOS-Disks, ohne sie zu montieren
3 Summary(es.UTF-8):      Programas para acceder discos DOS sin montarlos
4 Summary(fr.UTF-8):      Programmes pour accéder aux disques DOS sans avoir à les monter
5 Summary(pl.UTF-8):      Dostęp do dysków DOS-a bez montowania
6 Summary(pt_BR.UTF-8):   Programas para acessar discos DOS sem montá-los
7 Summary(tr.UTF-8):      Bağlama (mount) yapmadan DOS disklerine erişim sağlar
8 Name:           mtools
9 Version:        4.0.15
10 Release:        1
11 License:        GPL v3+
12 Group:          Applications/File
13 #Source0Download: http://mtools.linux.lu/download.html
14 Source0:        http://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2
15 # Source0-md5:  b7550b649af77812cb696a780e853f47
16 Source1:        %{name}.conf
17 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
18 # Source2-md5:  7af7d462db97b53e4bfdc4aa1e41b516
19 Patch1:         %{name}-no_libnsl_and_libbsd.patch
20 Patch2:         %{name}-pmake.patch
21 URL:            http://www.gnu.org/software/mtools/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  texinfo
25 BuildRequires:  xorg-lib-libX11-devel
26 BuildRequires:  xorg-lib-libXau-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
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 es.UTF-8
42 Mtools es una colección de utilitarios para acceder a discos MS-DOS en
43 Unix sin montarlos. Soporta nombres largos de archivos estilo Win'95,
44 discos OS/2 Xdf, discos ZIP/JAZ y discos 2m (almacena hasta 1992k en
45 un disco 3 1/2 de alta densidad).
46
47 %description -l fr.UTF-8
48 Mtools est un ensemble d'utilitaires pour accéder aux disques MS-DOS
49 depuis UNIX sans les monter. Il supporte les noms longs Windows 95,
50 les diques Xdf OS/2, les disques ZIP et JAZ et les disques 2m
51 (stockant 1992k sur une disquette 3,5\").
52
53 %description -l pl.UTF-8
54 Mtools to zbiór narzędzi udostępniających Uniksowi DOS-owe dyski bez
55 ich montowania. Obsługuje długie nazwy Win95, dyski Xdf z OS/2, dyski
56 ZIP/JAZ i dyski 2m (mieszczące na 3.5-calowej dyskietce do 1992k).
57
58 %description -l pt_BR.UTF-8
59 Mtools é uma coleção de utilitários para acessar discos MS-DOS no Unix
60 sem montá-los. Ele suporta nomes longos de arquivos estilo Win'95,
61 discos OS/2 Xdf, discos ZIP/JAZ e discos 2m (armazena até 1992k em um
62 disco 3 1/2 de alta densidade).
63
64 %description -l tr.UTF-8
65 mtools, MS-DOS disklerine bağlanmadan (mount edilmeden) UNIX
66 sistemlerinden erişilebilmesini sağlar. Win'95 tarzı uzun dosya
67 isimlerini, OS/2 Xdf disklerini, ZIP/JAZ disklerini ve 2m disklerini
68 destekler.
69
70 %package floppyd
71 Summary:        floppyd - daemon for remote access to floppy drive
72 Summary(pl.UTF-8):      floppyd - serwer zdalnego dostępu do stacji dyskietek
73 Summary(pt_BR.UTF-8):   Daemon para acesso remoto a um drive de disquete
74 Group:          Applications/System
75 Requires:       %{name} = %{version}-%{release}
76
77 %description floppyd
78 floppy daemon for remote access to floppy drive. floppyd_installtest -
79 tests whether floppyd is installed and running
80
81 %description floppyd -l pl.UTF-8
82 Demon floppy do zdalnego dostępu do napędu dyskietek.
83 floppyd_installtest - sprawdza, czy floppyd jest zainstalowany i
84 działa.
85
86 %description floppyd -l pt_BR.UTF-8
87 Daemon para acesso remoto a um drive de disquete.
88
89 %prep
90 %setup -q
91 %patch1 -p1
92 %patch2 -p1
93
94 %build
95 cp /usr/share/automake/config.sub .
96 %{__autoconf}
97 %configure \
98         --enable-floppyd
99
100 %{__make} \
101         MYCFLAGS="%{rpmcflags} -Wall"
102
103 %{__make} \
104         sysconfdir.texi
105
106 makeinfo --force mtools.texi
107 touch mtools.*
108
109 %install
110 rm -rf $RPM_BUILD_ROOT
111 install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
112
113 %{__make} install \
114         DESTDIR=$RPM_BUILD_ROOT
115
116 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
117
118 tar -xjf %{SOURCE2} -C $RPM_BUILD_ROOT%{_mandir}
119 rm -f $RPM_BUILD_ROOT%{_mandir}/README.mtools-non-english-man-pages.gz
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post   -p /sbin/postshell
125 -/usr/sbin/fix-info-dir -c %{_infodir}
126
127 %postun -p /sbin/postshell
128 -/usr/sbin/fix-info-dir -c %{_infodir}
129
130 %files
131 %defattr(644,root,root,755)
132 %doc NEWS README Release.notes
133 %attr(755,root,root) %{_bindir}/amuFormat.sh
134 %attr(755,root,root) %{_bindir}/lz
135 %attr(755,root,root) %{_bindir}/m*
136 %attr(755,root,root) %{_bindir}/tgz
137 %attr(755,root,root) %{_bindir}/uz
138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mtools.conf
139 %{_mandir}/man1/m*.1*
140 %{_mandir}/man5/mtools.5*
141 %lang(de) %{_mandir}/de/man1/m*.1*
142 %lang(es) %{_mandir}/es/man1/m*.1*
143 %lang(fi) %{_mandir}/fi/man1/m*.1*
144 %lang(fr) %{_mandir}/fr/man1/m*.1*
145 %lang(it) %{_mandir}/it/man1/m*.1*
146 %lang(it) %{_mandir}/it/man5/mtools.5*
147 %lang(pl) %{_mandir}/pl/man1/m*.1*
148 %lang(pl) %{_mandir}/pl/man5/mtools.5*
149 %{_infodir}/mtools.info*
150
151 %files floppyd
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/floppyd*
154 %{_mandir}/man1/floppyd*.1*
This page took 0.033155 seconds and 4 git commands to generate.