]> git.pld-linux.org Git - packages/libbluray.git/blame - libbluray.spec
- pl
[packages/libbluray.git] / libbluray.spec
CommitLineData
f16469b0
MB
1#
2# TODO:
3# Build with bdjava (0.2.1 tarball doesn't have all necessary files)
4#
5# Conditional build:
6%bcond_without static_libs # don't build static libraries
7#
8Summary: Library to access Blu-Ray disks for video playback
fe369f9d 9Summary(pl.UTF-8): Biblioteka dostępu do dysków Blu-Ray w celu odtwarzania filmów
f16469b0
MB
10Name: libbluray
11Version: 0.2.1
12Release: 1
13License: LGPL v2+
14Group: Libraries
fe369f9d 15Source0: ftp://ftp.videolan.org/pub/videolan/libbluray/%{version}/%{name}-%{version}.tar.bz2
f16469b0
MB
16# Source0-md5: d4cfcf3f110e9d2afe01d29feb8c842b
17URL: http://www.videolan.org/developers/libbluray.html
fe369f9d 18BuildRequires: autoconf >= 2.50
f16469b0
MB
19BuildRequires: automake
20BuildRequires: doxygen
21BuildRequires: libtool
22BuildRequires: libxml2-devel >= 1:2.6.0
23BuildRequires: pkgconfig
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This package is aiming to provide a full portable free open source
28bluray library, which can be plugged into popular media players to
29allow full bluray navigation and playback on Linux. It will eventually
30be compatible with all current titles, and will be easily portable and
31embeddable in standard players such as mplayer and vlc.
32
fe369f9d
JB
33%description -l pl
34Ten pakiet ma w zamierzeniu dostarczać w pełni przenośną,
35wolnodostępną i mającą otwarte źródła biblioteką bluray, dającą się
36wykorzystać w popularnych odtwarzaczach multimedialnych w celu
37pełnej nawigacji i odtwarzania filmów pod Linuksem. Ostatecznie
38powinna być kompatybilna ze wszystkimi bieżącymi tytułami, łatwo
39przenośna i dająca się wbudować w standardowe odtwarzacze, takie jak
40mplayer czy vlc.
41
f16469b0
MB
42%package devel
43Summary: Header files for libbluray library
44Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libbluray
45Group: Development/Libraries
46Requires: %{name} = %{version}-%{release}
47
48%description devel
49Header files for libbluray library.
50
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki libbluray.
53
54%package static
55Summary: Static libbluray library
56Summary(pl.UTF-8): Statyczna biblioteka libbluray
57Group: Development/Libraries
58Requires: %{name}-devel = %{version}-%{release}
59
60%description static
61Static libbluray library.
62
63%description static -l pl.UTF-8
64Statyczna biblioteka libbluray.
65
66%prep
67%setup -q
68
69%build
70%{__libtoolize}
71%{__aclocal} -I m4
72%{__autoconf}
73%{__autoheader}
74%{__automake}
75%configure \
76 %{__enable_disable static_libs static}
77%{__make}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95%doc README.txt
96%attr(755,root,root) %{_libdir}/libbluray.so.*.*.*
97%attr(755,root,root) %ghost %{_libdir}/libbluray.so.1
98
99%files devel
100%defattr(644,root,root,755)
101%attr(755,root,root) %{_libdir}/libbluray.so
102%{_includedir}/libbluray
103%{_pkgconfigdir}/libbluray.pc
104
105%if %{with static_libs}
106%files static
107%defattr(644,root,root,755)
108%{_libdir}/libbluray.a
109%endif
This page took 0.145748 seconds and 4 git commands to generate.