]>
Commit | Line | Data |
---|---|---|
23201cfa | 1 | Summary: Tools for accessing CP/M file systems |
473b6b45 | 2 | Summary(pl.UTF-8): Narzędzia pozwalające na dostęp do systemów plików CP/M |
4da793ba | 3 | Name: cpmtools |
9438a72b | 4 | Version: 2.6 |
4da793ba | 5 | Release: 1 |
24b58954 | 6 | License: GPL v2+ |
4da793ba JB |
7 | Group: Applications |
8 | Source0: http://www.moria.de/~michael/cpmtools/%{name}-%{version}.tar.gz | |
9438a72b | 9 | # Source0-md5: 22f3bed0251fd48cb979e7500f8eed35 |
23201cfa | 10 | Patch0: %{name}-DESTDIR.patch |
4da793ba JB |
11 | URL: http://www.moria.de/~michael/cpmtools/ |
12 | BuildRequires: libdsk-devel | |
23201cfa | 13 | BuildRequires: ncurses-devel |
4da793ba JB |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
23201cfa JB |
16 | %define _datadir %{_prefix}/share/misc |
17 | ||
4da793ba | 18 | %description |
23201cfa JB |
19 | This package allows to access CP/M file systems similar to the |
20 | well-known mtools package, which accesses MSDOS file systems. It's | |
21 | used mainly for file exchange with a Z80-PC simulator, but it works on | |
22 | floppy devices as well. | |
4da793ba | 23 | |
473b6b45 JR |
24 | %description -l pl.UTF-8 |
25 | Ten pakiet pozwala na dostęp do systemów plików CP/M w sposób podobny | |
26 | do dobrze znanego pakietu mtools, który pozwala na dostęp do systemów | |
27 | plików MSDOS. Pakiet ten służy głównie do wymiany plików z symulatorem | |
28 | Z80-PC, ale działa także ze stacjami dyskietek. | |
4da793ba JB |
29 | |
30 | %prep | |
31 | %setup -q | |
0128fe33 | 32 | %patch0 -p1 |
4da793ba JB |
33 | |
34 | %build | |
23201cfa JB |
35 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
36 | %configure \ | |
37 | --with-libdsk | |
38 | ||
4da793ba JB |
39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
23201cfa JB |
47 | install -D cpm.5 $RPM_BUILD_ROOT%{_mandir}/man5/cpm.5 |
48 | ||
4da793ba JB |
49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
23201cfa | 54 | %doc NEWS README |
4da793ba | 55 | %attr(755,root,root) %{_bindir}/* |
23201cfa JB |
56 | %{_datadir}/diskdefs |
57 | %{_mandir}/man[15]/* |