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