2 %bcond_without static_libs # don't build static library
4 Summary: Library to read DVD images
5 Summary(pl): Biblioteka do odczytu obrazów DVD-Video
11 Source0: http://www.dtek.chalmers.se/groups/dvd/dist/%{name}-%{version}.tar.gz
12 # Source0-md5: 06353d7b14541ff8b431e69ad404db84
13 Patch0: %{name}-alpha.patch
14 URL: http://www.dtek.chalmers.se/groups/dvd/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 libdvdread provides a simple foundation for reading DVD-Video images.
23 For reading CSS-encrypted DVDs you will also need libdvdcss package.
26 Biblioteka dostarczaj±ca prosty interfejs do odczytu obrazów
29 Aby czytaæ p³yty DVD szyfrowane CSS potrzebny jest tak¿e pakiet
33 Summary: %{name} library headers
34 Summary(pl): Pliki nag³ówkowe biblioteki %{name}
35 Group: Development/Libraries
36 Requires: %{name} = %{version}
39 This is the libraries, include files and other resources you can use
40 to incorporate libdvdread into applications.
42 %description devel -l pl
43 Pliki nag³ówkowe oraz dokumentacja pozwalaj±ca na dodawanie obs³ugi
44 dvd w swoich programach.
47 Summary: libdevdread static libraries
48 Summary(pl): Statyczne biblioteki do obs³ugi formatu DVD-Video
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}
53 This is package with static libdvdread libraries.
55 %description static -l pl
56 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)