]> git.pld-linux.org Git - packages/libaacs.git/blame - libaacs.spec
- updated to 0.8.0
[packages/libaacs.git] / libaacs.spec
CommitLineData
51877038
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: AACS support library for Blu-ray playback
6Summary(pl.UTF-8): Biblioteka obsługi AACS do odtwarzania Blu-ray
7Name: libaacs
2d574d3d 8Version: 0.8.0
78079746 9Release: 1
51877038
JB
10License: LGPL v2.1+
11Group: Libraries
78079746 12Source0: http://download.videolan.org/videolan/libaacs/%{version}/%{name}-%{version}.tar.bz2
2d574d3d 13# Source0-md5: 0b6fb63f81d62cd6acc98ae8f8d50c74
51877038
JB
14URL: http://www.videolan.org/developers/libaacs.html
15BuildRequires: libgcrypt-devel
59513fdc 16BuildRequires: libgpg-error-devel
51877038
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20libaacs is a research project to implement the Advanced Access Content
21System specification. This research project provides, through an
22open-source library, a way to understand how the AACS works.
23
24%description -l pl.UTF-8
25libaacs to projekt badawczy mający na celu zaimplementowanie
26specyfikacji Advanced Access Content System (zaawansowanego systemu
27dostępu do treści). Zapewnia on - poprzez bibliotekę mającą otwarte
28źródła - możliwość zrozumienia, jak działa AACS.
29
30%package devel
31Summary: Header files for AACS library
32Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AACS
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35
36%description devel
37Header files for AACS library.
38
39%description devel -l pl.UTF-8
40Pliki nagłówkowe biblioteki AACS.
41
42%package static
43Summary: Static AACS library
44Summary(pl.UTF-8): Statyczna biblioteka AACS
45Group: Development/Libraries
46Requires: %{name}-devel = %{version}-%{release}
47
48%description static
49Static AACS library.
50
51%description static -l pl.UTF-8
52Statyczna biblioteka AACS.
53
54%prep
55%setup -q
56
57%build
58%configure \
59 %{!?with_static_libs:--disable-static}
60%{__make} \
61 CFLAGS="%{rpmcflags}"
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66%{__make} install \
67 DESTDIR=$RPM_BUILD_ROOT
68
69# obsoleted by pkg-config
70%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
78%files
79%defattr(644,root,root,755)
78079746 80%doc ChangeLog README.txt KEYDB.cfg
d3612873 81%attr(755,root,root) %{_bindir}/aacs_info
51877038
JB
82%attr(755,root,root) %{_libdir}/libaacs.so.*.*.*
83%attr(755,root,root) %ghost %{_libdir}/libaacs.so.0
84
85%files devel
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_libdir}/libaacs.so
88%{_includedir}/libaacs
89%{_pkgconfigdir}/libaacs.pc
90
91%if %{with static_libs}
92%files static
93%defattr(644,root,root,755)
94%{_libdir}/libaacs.a
95%endif
This page took 0.12968 seconds and 4 git commands to generate.