]>
Commit | Line | Data |
---|---|---|
d956dab2 AM |
1 | Summary: video codec library |
2 | Name: capseo | |
3 | Version: 0.3.0 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Libraries | |
7 | Source0: http://ftp.de.debian.org/debian/pool/main/c/capseo/%{name}_%{version}~svn158.orig.tar.gz | |
8 | # Source0-md5: 46660f02f7d5b8fcf7c9b5cc89eca6fe | |
9 | URL: http://rm-rf.in/capseo | |
10 | BuildRequires: libtheora-devel | |
11 | BuildRequires: pkgconfig | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | capseo is a realtime video encoder/decoder library. The capseo codec | |
16 | is meant to encode fast, not to generate the smallest files on your | |
17 | file system. | |
18 | ||
19 | %package devel | |
20 | Summary: Header files and develpment documentation for capseo | |
21 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do capseo | |
22 | Group: Development/Libraries | |
23 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
24 | ||
25 | %description devel | |
26 | Header files and develpment documentation for capseo. | |
27 | ||
28 | %description devel -l pl.UTF-8 | |
29 | Pliki nagłówkowe i dokumentacja do capseo. | |
30 | ||
31 | %package static | |
32 | Summary: Static capseo library | |
33 | Summary(pl.UTF-8): Biblioteka statyczna capseo | |
34 | Group: Development/Libraries | |
35 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
36 | ||
37 | %description static | |
38 | Static capseo library. | |
39 | ||
40 | %prep | |
41 | %setup -q -n %{name}-%{version}~svn158.orig | |
42 | ||
43 | %build | |
44 | %configure \ | |
45 | --enable-theora | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post -p /sbin/ldconfig | |
58 | %postun -p /sbin/ldconfig | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %attr(755,root,root) %{_bindir}/* | |
63 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
64 | ||
65 | %files devel | |
66 | %defattr(644,root,root,755) | |
67 | %attr(755,root,root) %{_libdir}/lib*.so | |
68 | %{_libdir}/lib*.la | |
69 | %{_includedir}/*.h | |
70 | %{_pkgconfigdir}/*.pc | |
71 | ||
72 | %files static | |
73 | %defattr(644,root,root,755) | |
74 | %{_libdir}/lib*.a |