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