]> git.pld-linux.org Git - packages/cpmredir.git/blob - cpmredir.spec
- updated URLs and files, release 2
[packages/cpmredir.git] / cpmredir.spec
1 Summary:        CPMREDIR - filesystem functions of an emulated CP/M computer
2 Summary(pl.UTF-8):      CPMREDIR - funkcje obsługi systemu plików emulowanego komputera CP/M
3 Name:           cpmredir
4 Version:        1.1.1
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.seasip.demon.co.uk/Unix/Zxcc/%{name}-%{version}.tar.gz
9 # Source0-md5:  2e7c91fd169e4e9efb926ef44bd610a7
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 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
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
24 (mingw32).
25
26 %package devel
27 Summary:        Header files for cpmredir library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki cpmredir
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       readline-devel
32
33 %description devel
34 Header files for cpmredir library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki cpmredir.
38
39 %package static
40 Summary:        Static cpmredir library
41 Summary(pl.UTF-8):      Statyczna biblioteka cpmredir
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static cpmredir library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka cpmredir.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 %build
56 %{__libtoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__autoheader}
60 %{__automake}
61 %configure
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc doc/README
80 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib*.so
85 %{_libdir}/lib*.la
86 %{_includedir}/*.h
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/lib*.a
This page took 0.084262 seconds and 3 git commands to generate.