]> 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:        2
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://www.seasip.info/Unix/Zxcc/%{name}-%{version}.tar.gz
9 # Source0-md5:  2e7c91fd169e4e9efb926ef44bd610a7
10 Patch0:         %{name}-shared.patch
11 URL:            http://www.seasip.info/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
32 %description devel
33 Header files for cpmredir library.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe biblioteki cpmredir.
37
38 %package static
39 Summary:        Static cpmredir library
40 Summary(pl.UTF-8):      Statyczna biblioteka cpmredir
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static cpmredir library.
46
47 %description static -l pl.UTF-8
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
79 %attr(755,root,root) %{_libdir}/libcpmredir.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libcpmredir.so.0
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libcpmredir.so
85 %{_libdir}/libcpmredir.la
86 %{_includedir}/cpmredir.h
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libcpmredir.a
This page took 0.125037 seconds and 3 git commands to generate.