]>
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 | |
29efea26 SP |
10 | BuildRequires: Mesa-libGL-devel |
11 | BuildRequires: libstdc++-devel | |
d956dab2 AM |
12 | BuildRequires: libtheora-devel |
13 | BuildRequires: pkgconfig | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | capseo is a realtime video encoder/decoder library. The capseo codec | |
18 | is meant to encode fast, not to generate the smallest files on your | |
19 | file system. | |
20 | ||
21 | %package devel | |
22 | Summary: Header files and develpment documentation for capseo | |
23 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do capseo | |
24 | Group: Development/Libraries | |
25 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
26 | ||
27 | %description devel | |
28 | Header files and develpment documentation for capseo. | |
29 | ||
30 | %description devel -l pl.UTF-8 | |
31 | Pliki nagłówkowe i dokumentacja do capseo. | |
32 | ||
33 | %package static | |
34 | Summary: Static capseo library | |
35 | Summary(pl.UTF-8): Biblioteka statyczna capseo | |
36 | Group: Development/Libraries | |
37 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
38 | ||
39 | %description static | |
40 | Static capseo library. | |
41 | ||
42 | %prep | |
43 | %setup -q -n %{name}-%{version}~svn158.orig | |
44 | ||
45 | %build | |
46 | %configure \ | |
47 | --enable-theora | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_bindir}/* | |
65 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
873044d0 | 66 | %attr(755,root,root) %ghost %{_libdir}/lib*.so.0 |
d956dab2 AM |
67 | |
68 | %files devel | |
69 | %defattr(644,root,root,755) | |
70 | %attr(755,root,root) %{_libdir}/lib*.so | |
71 | %{_libdir}/lib*.la | |
72 | %{_includedir}/*.h | |
73 | %{_pkgconfigdir}/*.pc | |
74 | ||
75 | %files static | |
76 | %defattr(644,root,root,755) | |
77 | %{_libdir}/lib*.a |