3 %bcond_without static_libs # don't build static library
5 Summary: Library to read DVD images
6 Summary(pl): Biblioteka do odczytu obrazów DVD-Video
12 Source0: http://www.dtek.chalmers.se/groups/dvd/dist/%{name}-%{version}.tar.gz
13 # Source0-md5: baa9a07a8da5ed9db6a9a3ed1ad4478c
14 Patch0: %{name}-alpha.patch
15 URL: http://www.dtek.chalmers.se/groups/dvd/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libtool
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 libdvdread provides a simple foundation for reading DVD-Video images.
24 For reading CSS-encrypted DVDs you will also need libdvdcss package.
27 Biblioteka dostarczaj±ca prosty interfejs do odczytu obrazów
30 Aby czytaæ p³yty DVD szyfrowane CSS potrzebny jest tak¿e pakiet
34 Summary: %{name} library headers
35 Summary(pl): Pliki nag³ówkowe biblioteki %{name}
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 This is the libraries, include files and other resources you can use
41 to incorporate libdvdread into applications.
43 %description devel -l pl
44 Pliki nag³ówkowe oraz dokumentacja pozwalaj±ca na dodawanie obs³ugi
45 dvd w swoich programach.
48 Summary: libdvdread static libraries
49 Summary(pl): Statyczne biblioteki do obs³ugi formatu DVD-Video
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 This is package with static libdvdread libraries.
56 %description static -l pl
57 Statyczne biblioteki libdvdread.
69 %{!?with_static_libs:--disable-static}
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 rm -rf $RPM_BUILD_ROOT
86 %defattr(644,root,root,755)
87 %doc README AUTHORS TODO NEWS
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/lib*.so
94 %{_includedir}/dvdread
96 %if %{with static_libs}
98 %defattr(644,root,root,755)