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