1 |
%define name libdvdcss |
%define name libdvdcss |
2 |
%define version 1.2.12 |
%define version 1.2.13 |
3 |
%define release %mkrel 2 |
%define release %mkrel 1 |
4 |
%define major 2 |
%define major 2 |
5 |
%define libname %mklibname dvdcss %{major} |
%define libname %mklibname dvdcss %{major} |
6 |
%define develname %mklibname -d dvdcss |
%define develname %mklibname -d dvdcss |
29 |
|
|
30 |
This package is in 'tainted' as it may violate patents in some countries. |
This package is in 'tainted' as it may violate patents in some countries. |
31 |
|
|
32 |
%package -n %{libname} |
%package -n %{libname} |
33 |
Summary: A library for accessing DVDs as a block device using deCSS if needed |
Summary: A library for accessing DVDs as a block device using deCSS if needed |
34 |
Group: System/Libraries |
Group: System/Libraries |
35 |
Provides: %name = %version-%release |
Provides: %{name} = %{version}-%{release} |
36 |
|
|
37 |
%description -n %{libname} |
%description -n %{libname} |
38 |
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 |
47 |
* Just better. Unlike most similar projects, libdvdcss doesn't require the |
* Just better. Unlike most similar projects, libdvdcss doesn't require the |
48 |
region of your drive to be set. |
region of your drive to be set. |
49 |
|
|
50 |
%package -n %develname |
%package -n %{develname} |
51 |
Summary: Development tools for programs which will use the %{name} library |
Summary: Development tools for programs which will use the %{name} library |
52 |
Group: Development/C |
Group: Development/C |
53 |
Requires: %{libname} = %version |
Requires: %{libname} = %{version} |
54 |
Provides: %{name}-devel = %version-%release |
Provides: %{name}-devel = %{version}-%{release} |
55 |
Obsoletes: %mklibname -d dvdcss 2 |
Obsoletes: %mklibname -d dvdcss 2 |
56 |
|
|
57 |
%description -n %develname |
%description -n %{develname} |
58 |
The %{name}-devel package includes the header files and static libraries |
The %{name}-devel package includes the header files and static libraries |
59 |
necessary for developing programs which will manipulate DVDs files using |
necessary for developing programs which will manipulate DVDs files using |
60 |
the %{name} library. |
the %{name} library. |
73 |
%install |
%install |
74 |
%makeinstall_std |
%makeinstall_std |
75 |
|
|
76 |
|
rm -rf %{buildroot}%{_docdir}/%{name} |
77 |
|
|
78 |
%files -n %{libname} |
%files -n %{libname} |
79 |
%doc AUTHORS COPYING |
%doc AUTHORS README |
80 |
%{_libdir}/*.so.%{major}* |
%{_libdir}/*.so.%{major}* |
81 |
|
|
82 |
%files -n %develname |
%files -n %{develname} |
83 |
%doc ChangeLog COPYING |
%doc ChangeLog COPYING |
84 |
%{_libdir}/*.a |
%{_libdir}/*.a |
85 |
%{_libdir}/*.la |
%{_libdir}/*.la |