]>
Commit | Line | Data |
---|---|---|
baee0c63 | 1 | Summary: CPMREDIR - filesystem functions of an emulated CP/M computer |
a73e96bc | 2 | Summary(pl.UTF-8): CPMREDIR - funkcje obsługi systemu plików emulowanego komputera CP/M |
baee0c63 JB |
3 | Name: cpmredir |
4 | Version: 1.1.1 | |
e58b1b2d JB |
5 | Release: 2 |
6 | License: LGPL v2+ | |
baee0c63 | 7 | Group: Libraries |
e58b1b2d | 8 | Source0: http://www.seasip.info/Unix/Zxcc/%{name}-%{version}.tar.gz |
baee0c63 JB |
9 | # Source0-md5: 2e7c91fd169e4e9efb926ef44bd610a7 |
10 | Patch0: %{name}-shared.patch | |
e58b1b2d | 11 | URL: http://www.seasip.info/Unix/Zxcc/ |
baee0c63 JB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | CPMREDIR is a library intended to support the filesystem functions of | |
19 | an emulated CP/M computer, in a Unix or Windows (mingw32) environment. | |
20 | ||
bb865b47 JR |
21 | %description -l pl.UTF-8 |
22 | CPMREDIR to biblioteka mająca obsługiwać funkcje systemu plików | |
23 | emulowanego komputera CP/M w środowisku uniksowym lub pod Windows | |
baee0c63 JB |
24 | (mingw32). |
25 | ||
26 | %package devel | |
27 | Summary: Header files for cpmredir library | |
a73e96bc | 28 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki cpmredir |
baee0c63 | 29 | Group: Development/Libraries |
f4849228 | 30 | Requires: %{name} = %{version}-%{release} |
baee0c63 JB |
31 | |
32 | %description devel | |
33 | Header files for cpmredir library. | |
34 | ||
bb865b47 JR |
35 | %description devel -l pl.UTF-8 |
36 | Pliki nagłówkowe biblioteki cpmredir. | |
baee0c63 JB |
37 | |
38 | %package static | |
39 | Summary: Static cpmredir library | |
a73e96bc | 40 | Summary(pl.UTF-8): Statyczna biblioteka cpmredir |
baee0c63 | 41 | Group: Development/Libraries |
f4849228 | 42 | Requires: %{name}-devel = %{version}-%{release} |
baee0c63 JB |
43 | |
44 | %description static | |
45 | Static cpmredir library. | |
46 | ||
bb865b47 | 47 | %description static -l pl.UTF-8 |
baee0c63 JB |
48 | Statyczna biblioteka cpmredir. |
49 | ||
50 | %prep | |
51 | %setup -q | |
52 | %patch0 -p1 | |
53 | ||
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure | |
61 | ||
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc doc/README | |
e58b1b2d JB |
79 | %attr(755,root,root) %{_libdir}/libcpmredir.so.*.*.* |
80 | %attr(755,root,root) %ghost %{_libdir}/libcpmredir.so.0 | |
baee0c63 JB |
81 | |
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
e58b1b2d JB |
84 | %attr(755,root,root) %{_libdir}/libcpmredir.so |
85 | %{_libdir}/libcpmredir.la | |
86 | %{_includedir}/cpmredir.h | |
baee0c63 JB |
87 | |
88 | %files static | |
89 | %defattr(644,root,root,755) | |
e58b1b2d | 90 | %{_libdir}/libcpmredir.a |