1 |
%define name libdvdcss |
%define name libdvdcss |
2 |
%define version 1.2.10 |
%define version 1.2.10 |
|
%define distsuffix plf |
|
3 |
%define release %mkrel 2 |
%define release %mkrel 2 |
4 |
%define major 2 |
%define major 2 |
5 |
%define libname %mklibname dvdcss %{major} |
%define libname %mklibname dvdcss %{major} |
8 |
Name: %{name} |
Name: %{name} |
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release} |
Release: %{release} |
11 |
Summary: Library for accessing DVDs like block device usind deCSS if needed |
Summary: Library for accessing DVDs as a block device using deCSS if needed |
12 |
Source: %{name}-%{version}.tar.bz2 |
Source: %{name}-%{version}.tar.bz2 |
13 |
Patch: libdvdcss-1.2.10-format-strings.patch |
Patch: libdvdcss-1.2.10-format-strings.patch |
14 |
License: GPLv2+ |
License: GPLv2+ |
15 |
Group: System/Libraries |
Group: System/Libraries |
16 |
URL: http://www.videolan.org/libdvdcss |
URL: http://www.videolan.org/libdvdcss |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
|
|
Conflicts: libdvdcss0.0.1 |
|
|
Conflicts: libdvdcss0.0.2 |
|
17 |
|
|
18 |
%description |
%description |
19 |
libdvdcss is a simple library designed for accessing DVDs like a block device |
libdvdcss is a simple library designed for accessing DVDs like a block device |
28 |
* Just better. Unlike most similar projects, libdvdcss doesn't require the |
* Just better. Unlike most similar projects, libdvdcss doesn't require the |
29 |
region of your drive to be set. |
region of your drive to be set. |
30 |
|
|
31 |
This package is in PLF as it violates patents. |
This package is in 'tainted' as may violate patents in some countries. |
32 |
|
|
33 |
%package -n %{libname} |
%package -n %{libname} |
34 |
Summary: A library for accessing DVDs like block device usind deCSS if needed |
Summary: A library for accessing DVDs as a block device using deCSS if needed |
35 |
Group: System/Libraries |
Group: System/Libraries |
36 |
Provides: %name = %version-%release |
Provides: %name = %version-%release |
37 |
|
|
69 |
%patch -p1 |
%patch -p1 |
70 |
|
|
71 |
%build |
%build |
|
%if %mdkversion <= 1000 |
|
|
%define __libtoolize true |
|
|
%endif |
|
72 |
%configure2_5x |
%configure2_5x |
73 |
%make |
%make |
74 |
|
|
78 |
%clean |
%clean |
79 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
80 |
|
|
|
%post -n %{libname} -p /sbin/ldconfig |
|
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig |
|
|
|
|
81 |
%files -n %{libname} |
%files -n %{libname} |
82 |
%defattr(-,root,root) |
%defattr(-,root,root) |
83 |
%doc AUTHORS COPYING |
%doc AUTHORS COPYING |