]> git.pld-linux.org Git - packages/libbluray.git/blob - libbluray.spec
13b5c79e8ee5d048b48e5222d7f7381850902614
[packages/libbluray.git] / libbluray.spec
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 #
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
10 Name:           libbluray
11 Version:        0.2.2
12 Release:        1
13 License:        LGPL v2+
14 Group:          Libraries
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)
25
26 %description
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.
32
33 %description -l pl
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
40 mplayer czy vlc.
41
42 %package devel
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}
47
48 %description devel
49 Header files for libbluray library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki libbluray.
53
54 %package static
55 Summary:        Static libbluray library
56 Summary(pl.UTF-8):      Statyczna biblioteka libbluray
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static libbluray library.
62
63 %description static -l pl.UTF-8
64 Statyczna 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
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
86
87 %clean
88 rm -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.064452 seconds and 3 git commands to generate.