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