]> git.pld-linux.org Git - packages/libdvdcss.git/blame - libdvdcss.spec
- updated to 1.4.3
[packages/libdvdcss.git] / libdvdcss.spec
CommitLineData
09d4e893 1#
4e6f06fd 2# Conditional build:
1f7afbc5 3%bcond_without static_libs # don't build static library
919013c5 4%bcond_without apidocs # documentation generated with doxygen
e38440f9 5
8b27e974 6Summary: Library to decrypt CSS-encoded DVD
dc1fdcbe 7Summary(pl.UTF-8): Biblioteka do dekodowania DVD zakodowanych CSS
8b27e974 8Name: libdvdcss
2f572d9a 9Version: 1.4.3
6f0ba4ef 10Release: 1
84f779c4 11License: GPL v2+
8b27e974 12Group: Libraries
a66de2a2 13Source0: https://download.videolan.org/pub/videolan/libdvdcss/%{version}/%{name}-%{version}.tar.bz2
2f572d9a 14# Source0-md5: e98239a88af9b2204f9b9d987c2bc71a
a66de2a2 15URL: https://www.videolan.org/developers/libdvdcss.html
8073867c 16BuildRequires: autoconf >= 2.50
8b27e974 17BuildRequires: automake
2e84fcc8 18BuildRequires: libtool >= 2:2
919013c5
SS
19%if %{with apidocs}
20BuildRequires: doxygen
0666c785 21BuildRequires: texlive-fonts-cmsuper
919013c5
SS
22BuildRequires: texlive-fonts-jknappen
23BuildRequires: texlive-latex
9775874f 24BuildRequires: texlive-latex-extend
25BuildRequires: texlive-latex-psnfss
919013c5
SS
26BuildRequires: texlive-makeindex
27%endif
8b27e974
JK
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
09c83cd1
TP
31libdvdcss is a simple library designed for accessing DVDs like a block
32device without having to bother about the decryption.
8b27e974 33
9368abca
JR
34%description -l pl.UTF-8
35Biblioteka dostarczająca prosty interfejs pozwalający na dostęp do
36zakodowanych płyt DVD.
8b27e974
JK
37
38%package devel
09d4e893 39Summary: libdvdcss library headers
dc1fdcbe 40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdvdcss
8b27e974 41Group: Development/Libraries
09d4e893 42Requires: %{name} = %{version}-%{release}
8b27e974
JK
43
44%description devel
45This is the libraries, include files and other resources you can use
46to incorporate libdvdcss into applications.
47
9368abca
JR
48%description devel -l pl.UTF-8
49Pliki nagłówkowe oraz dokumentacja pozwalająca na dodawanie obsługi
8b27e974
JK
50CSS w swoich programach.
51
52%package static
fe0daae0 53Summary: libdvdcss static libraries
dc1fdcbe 54Summary(pl.UTF-8): Statyczne biblioteki libdvdcss
8b27e974 55Group: Development/Libraries
09d4e893 56Requires: %{name}-devel = %{version}-%{release}
8b27e974
JK
57
58%description static
59This is package with static libdvdcss libraries.
60
9368abca 61%description static -l pl.UTF-8
8b27e974
JK
62Statyczne biblioteki libdvdcss.
63
919013c5
SS
64%package apidocs
65Summary: libdvdcss API documentation
66Summary(pl.UTF-8): Dokumentacja API biblioteki libdvdcss
67Group: Documentation
e38440f9 68BuildArch: noarch
919013c5
SS
69
70%description apidocs
71libdvdcss API documentation.
72
73%description apidocs -l pl.UTF-8
74Dokumentacja API biblioteki libdvdcss.
75
8b27e974 76%prep
09c83cd1 77%setup -q
8b27e974
JK
78
79%build
ad239d33 80%{__libtoolize}
2e84fcc8 81%{__aclocal} -I m4
1f93c2fa 82%{__autoconf}
8073867c 83%{__autoheader}
1f7afbc5 84%{__automake}
85%configure \
919013c5 86 %{!?with_apidocs:--disable-doc} \
1f7afbc5 87 %{!?with_static_libs:--disable-static}
8b27e974
JK
88
89%{__make}
90
91%install
92rm -rf $RPM_BUILD_ROOT
93
3903b65b
JB
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
fe0daae0 96
7cffdb25
JB
97# packaged as %doc
98%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libdvdcss
99
8b27e974
JK
100%clean
101rm -rf $RPM_BUILD_ROOT
102
fe0daae0
JB
103%post -p /sbin/ldconfig
104%postun -p /sbin/ldconfig
105
8b27e974
JK
106%files
107%defattr(644,root,root,755)
e6104eb6 108%doc README AUTHORS ChangeLog
e15a8720
MB
109%attr(755,root,root) %{_libdir}/libdvdcss.so.*.*.*
110%attr(755,root,root) %ghost %{_libdir}/libdvdcss.so.2
8b27e974
JK
111
112%files devel
113%defattr(644,root,root,755)
e15a8720
MB
114%attr(755,root,root) %{_libdir}/libdvdcss.so
115%{_libdir}/libdvdcss.la
9d0653ac 116%{_includedir}/dvdcss
5e56822f 117%{_pkgconfigdir}/libdvdcss.pc
8b27e974 118
1f7afbc5 119%if %{with static_libs}
8b27e974
JK
120%files static
121%defattr(644,root,root,755)
e15a8720 122%{_libdir}/libdvdcss.a
1f7afbc5 123%endif
919013c5
SS
124
125%if %{with apidocs}
126%files apidocs
127%defattr(644,root,root,755)
128%doc doc/html/*
129%endif
This page took 0.116752 seconds and 4 git commands to generate.