]>
Commit | Line | Data |
---|---|---|
ca51c9c5 | 1 | Summary: CPMIO - console access functions of an emulated CP/M computer |
41c170b6 | 2 | Summary(pl.UTF-8): CPMIO - funcje dostępu do konsoli emulowanego komputera CP/M |
ca51c9c5 JB |
3 | Name: cpmio |
4 | Version: 1.1.1 | |
0c08f9f8 | 5 | Release: 2 |
ca51c9c5 JB |
6 | License: LGPL |
7 | Group: Libraries | |
8 | Source0: http://www.seasip.demon.co.uk/Unix/Zxcc/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 0e1bd22ab7eb4ef9d11e0931dea7cdfc | |
10 | Patch0: %{name}-shared.patch | |
11 | URL: http://www.seasip.demon.co.uk/Unix/Zxcc/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRequires: readline-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | CPMIO is a library intended to support the console access functions of | |
20 | an emulated CP/M computer, on a Unix box. | |
21 | ||
4ab3b01c JR |
22 | %description -l pl.UTF-8 |
23 | CPMIO to biblioteka mająca obsługiwać funkcje dostępu do konsoli | |
ca51c9c5 JB |
24 | emulowanego komputera CP/M na maszynie uniksowej. |
25 | ||
26 | %package devel | |
27 | Summary: Header files for cpmio library | |
41c170b6 | 28 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki cpmio |
ca51c9c5 | 29 | Group: Development/Libraries |
419ee31e | 30 | Requires: %{name} = %{version}-%{release} |
ca51c9c5 JB |
31 | Requires: readline-devel |
32 | ||
33 | %description devel | |
34 | Header files for cpmio library. | |
35 | ||
4ab3b01c JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe biblioteki cpmio. | |
ca51c9c5 JB |
38 | |
39 | %package static | |
40 | Summary: Static cpmio library | |
41c170b6 | 41 | Summary(pl.UTF-8): Statyczna biblioteka cpmio |
ca51c9c5 | 42 | Group: Development/Libraries |
419ee31e | 43 | Requires: %{name}-devel = %{version}-%{release} |
ca51c9c5 JB |
44 | |
45 | %description static | |
46 | Static cpmio library. | |
47 | ||
4ab3b01c | 48 | %description static -l pl.UTF-8 |
ca51c9c5 JB |
49 | Statyczna biblioteka cpmio. |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | %patch0 -p1 | |
54 | ||
55 | %build | |
56 | %{__libtoolize} | |
57 | %{__aclocal} | |
58 | %{__autoconf} | |
59 | %{__autoheader} | |
60 | %{__automake} | |
61 | CPPFLAGS="-I/usr/include/ncurses" | |
62 | %configure \ | |
63 | --with-readline | |
64 | ||
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc README | |
82 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
83 | ||
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
86 | %attr(755,root,root) %{_libdir}/lib*.so | |
87 | %{_libdir}/lib*.la | |
88 | %{_includedir}/*.h | |
89 | ||
90 | %files static | |
91 | %defattr(644,root,root,755) | |
92 | %{_libdir}/lib*.a |