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