]> git.pld-linux.org Git - packages/cpmio.git/blob - cpmio.spec
- tabs in preamble
[packages/cpmio.git] / cpmio.spec
1 Summary:        CPMIO - console access functions of an emulated CP/M computer
2 Summary(pl.UTF-8):      CPMIO - funcje dostępu do konsoli emulowanego komputera CP/M
3 Name:           cpmio
4 Version:        1.1.1
5 Release:        2
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
22 %description -l pl.UTF-8
23 CPMIO to biblioteka mająca obsługiwać funkcje dostępu do konsoli
24 emulowanego komputera CP/M na maszynie uniksowej.
25
26 %package devel
27 Summary:        Header files for cpmio library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki cpmio
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       readline-devel
32
33 %description devel
34 Header files for cpmio library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki cpmio.
38
39 %package static
40 Summary:        Static cpmio library
41 Summary(pl.UTF-8):      Statyczna biblioteka cpmio
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static cpmio library.
47
48 %description static -l pl.UTF-8
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
This page took 0.093984 seconds and 3 git commands to generate.