]>
Commit | Line | Data |
---|---|---|
1498a854 | 1 | Summary: A library for reading and writing Ogg encapsulated data |
b7da2411 | 2 | Summary(pl.UTF-8): Biblioteka do odczytu i zapisu danych w opakowaniu Ogg |
1498a854 JB |
3 | Name: liboggz |
4 | Version: 0.9.5 | |
5 | Release: 1 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | Source0: http://annodex.net/software/liboggz/download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 781fab29dea3c5e9d39ecbd1d007fb98 | |
10 | URL: http://annodex.net/software/liboggz/index.html | |
11 | BuildRequires: libogg-devel >= 2:1.0 | |
12 | BuildRequires: pkgconfig | |
13 | Requires: libogg >= 2:1.0 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | liboggz is a library that provides simple parsing and seeking of files | |
18 | and streams based on the Ogg file format. liboggz requires libogg to | |
19 | work. | |
20 | ||
21 | liboggz knows about Ogg Speex, Ogg Vorbis, Ogg Theora, and the Ogg | |
22 | based Annodex formats, thus allows parsing (though not decoding) of | |
23 | these files. For getting decoding and encoding functionality you will | |
24 | require in addition libspeex, libvorbis, libtheora, and libannodex | |
25 | respectively. | |
26 | ||
ffba339a JR |
27 | %description -l pl.UTF-8 |
28 | liboggz to biblioteka umożliwiająca prostą analizę i przeszukiwanie | |
29 | plików i strumieni opartych na formacie Ogg. liboggz wymaga do | |
30 | działania biblioteki libogg. | |
1498a854 JB |
31 | |
32 | liboggz wie o formatach Ogg Speex, Ogg Vorbis, Ogg Theora oraz | |
ffba339a JR |
33 | opartych na Ogg formatach Annodex, co pozwala analizować (ale nie |
34 | dekodować) pliki w tych formatach. Kodowanie i dekodowanie ich | |
1498a854 JB |
35 | wymaga dodatkowych bibliotek - odpowiednio: libspeex, libvorbis, |
36 | libtheora, libannodex. | |
37 | ||
38 | %package devel | |
39 | Summary: Header files for liboggz library | |
b7da2411 | 40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki liboggz |
1498a854 JB |
41 | Group: Development/Libraries |
42 | Requires: %{name} = %{version}-%{release} | |
43 | Requires: libogg-devel >= 2:1.0 | |
44 | ||
45 | %description devel | |
46 | Header files for liboggz library. | |
47 | ||
ffba339a JR |
48 | %description devel -l pl.UTF-8 |
49 | Pliki nagłówkowe biblioteki liboggz. | |
1498a854 JB |
50 | |
51 | %package static | |
52 | Summary: Static liboggz library | |
b7da2411 | 53 | Summary(pl.UTF-8): Statyczna biblioteka liboggz |
1498a854 JB |
54 | Group: Development/Libraries |
55 | Requires: %{name}-devel = %{version}-%{release} | |
56 | ||
57 | %description static | |
58 | Static liboggz library. | |
59 | ||
ffba339a | 60 | %description static -l pl.UTF-8 |
1498a854 JB |
61 | Statyczna biblioteka liboggz. |
62 | ||
63 | %prep | |
64 | %setup -q | |
65 | ||
66 | %build | |
67 | %configure | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | rm -rf $RPM_BUILD_ROOT%{_docdir}/liboggz | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS COPYING ChangeLog README | |
87 | %attr(755,root,root) %{_bindir}/oggz* | |
88 | %attr(755,root,root) %{_libdir}/liboggz.so.*.*.* | |
89 | %{_mandir}/man1/oggz*.1* | |
90 | ||
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
93 | %doc doc/liboggz/html/* | |
94 | %attr(755,root,root) %{_libdir}/liboggz.so | |
95 | %{_libdir}/liboggz.la | |
96 | %{_includedir}/oggz | |
97 | %{_pkgconfigdir}/oggz.pc | |
98 | ||
99 | %files static | |
100 | %defattr(644,root,root,755) | |
101 | %{_libdir}/liboggz.a |