3 # Build with bdjava (0.2.1 tarball doesn't have all necessary files)
6 %bcond_without static_libs # don't build static libraries
8 Summary: Library to access Blu-Ray disks for video playback
9 Summary(pl.UTF-8): Biblioteka dostępu do dysków Blu-Ray w celu odtwarzania filmów
15 Source0: ftp://ftp.videolan.org/pub/videolan/libbluray/%{version}/%{name}-%{version}.tar.bz2
16 # Source0-md5: cb3254de43276861ea6b07c603f4651c
17 URL: http://www.videolan.org/developers/libbluray.html
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake
20 BuildRequires: doxygen
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel >= 1:2.6.0
23 BuildRequires: pkgconfig
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This package is aiming to provide a full portable free open source
28 bluray library, which can be plugged into popular media players to
29 allow full bluray navigation and playback on Linux. It will eventually
30 be compatible with all current titles, and will be easily portable and
31 embeddable in standard players such as mplayer and vlc.
34 Ten pakiet ma w zamierzeniu dostarczać w pełni przenośną,
35 wolnodostępną i mającą otwarte źródła biblioteką bluray, dającą się
36 wykorzystać w popularnych odtwarzaczach multimedialnych w celu
37 pełnej nawigacji i odtwarzania filmów pod Linuksem. Ostatecznie
38 powinna być kompatybilna ze wszystkimi bieżącymi tytułami, łatwo
39 przenośna i dająca się wbudować w standardowe odtwarzacze, takie jak
43 Summary: Header files for libbluray library
44 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libbluray
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
49 Header files for libbluray library.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki libbluray.
55 Summary: Static libbluray library
56 Summary(pl.UTF-8): Statyczna biblioteka libbluray
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
61 Static libbluray library.
63 %description static -l pl.UTF-8
64 Statyczna biblioteka libbluray.
76 %{__enable_disable static_libs static}
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libbluray.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libbluray.so.1
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libbluray.so
102 %{_includedir}/libbluray
103 %{_pkgconfigdir}/libbluray.pc
105 %if %{with static_libs}
107 %defattr(644,root,root,755)
108 %{_libdir}/libbluray.a