]> git.pld-linux.org Git - packages/libpcd.git/blob - libpcd.spec
- ghost soname symlink
[packages/libpcd.git] / libpcd.spec
1 Summary:        Library for reading PhotoCD images
2 Summary(pl.UTF-8):      Biblioteka do odczytu plików PhotoCD
3 Name:           libpcd
4 Version:        1.0.1
5 Release:        4
6 Epoch:          1
7 License:        GPL
8 Group:          Libraries
9 Source0:        http://bytesex.org/misc/%{name}_%{version}.tar.gz
10 # Source0-md5:  c9127a6aae3c7510498990d82bb0b68a
11 URL:            http://bytesex.org/libpcd.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Library for reading PhotoCD images.
16
17 %description -l pl.UTF-8
18 Biblioteka do odczytu plików PhotoCD.
19
20 %package devel
21 Summary:        libpcd header file
22 Summary(pl.UTF-8):      Plik nagłówkowy libpcd
23 Group:          Development/Libraries
24 Requires:       %{name} = %{epoch}:%{version}-%{release}
25
26 %description devel
27 libpcd header file.
28
29 %description devel -l pl.UTF-8
30 Plik nagłówkowy biblioteki libpcd.
31
32 %package static
33 Summary:        libpcd static library
34 Summary(pl.UTF-8):      Biblioteka statyczna libpcd
35 Group:          Development/Libraries
36 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
37
38 %description static
39 Static version of libpcd.
40
41 %description static -l pl.UTF-8
42 Statyczna wersja biblioteki libpcd.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__make} \
49         CC="%{__cc}" \
50         libdir=%{_libdir} \
51         CFLAGS="%{rpmcflags} \$(WARN)"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         libdir=$RPM_BUILD_ROOT%{_libdir} \
59         prefix=%{_prefix}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files
68 %defattr(644,root,root,755)
69 %doc README
70 %attr(755,root,root) %{_libdir}/libpcd.so.*.*.*
71 %attr(755,root,root) %ghost %{_libdir}/libpcd.so.2
72
73 %files devel
74 %defattr(644,root,root,755)
75 %doc pcd.css pcd.html
76 %attr(755,root,root) %{_libdir}/libpcd.so
77 %{_includedir}/pcd.h
78
79 %files static
80 %defattr(644,root,root,755)
81 %{_libdir}/libpcd.a
This page took 0.080873 seconds and 3 git commands to generate.