1 |
supp |
188879 |
%define major 2 |
2 |
tux99 |
64869 |
%define libname %mklibname dvdcss %{major} |
3 |
|
|
%define develname %mklibname -d dvdcss |
4 |
|
|
|
5 |
luigiwalser |
914456 |
Name: libdvdcss |
6 |
|
|
Version: 1.4.0 |
7 |
|
|
Release: 1 |
8 |
tux99 |
64880 |
Summary: Library for accessing DVDs as a block device using deCSS if needed |
9 |
luigiwalser |
225009 |
Source: http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2 |
10 |
tux99 |
64869 |
License: GPLv2+ |
11 |
|
|
Group: System/Libraries |
12 |
|
|
URL: http://www.videolan.org/libdvdcss |
13 |
|
|
|
14 |
|
|
%description |
15 |
|
|
libdvdcss is a simple library designed for accessing DVDs like a block device |
16 |
|
|
without having to bother about the decryption. The important features are: |
17 |
|
|
* Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD, |
18 |
|
|
OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris, |
19 |
|
|
and HP-UX. |
20 |
|
|
* Simplicity. There are currently 7 functions in the API, and we intend to |
21 |
|
|
keep this number low. |
22 |
|
|
* Freedom. libdvdcss is released under the General Public License, ensuring |
23 |
|
|
it will stay free, and used only for free software products. |
24 |
|
|
* Just better. Unlike most similar projects, libdvdcss doesn't require the |
25 |
|
|
region of your drive to be set. |
26 |
|
|
|
27 |
tux99 |
64919 |
This package is in 'tainted' as it may violate patents in some countries. |
28 |
tux99 |
64869 |
|
29 |
luigiwalser |
401187 |
%package -n %{libname} |
30 |
supp |
188879 |
Summary: A library for accessing DVDs as a block device using deCSS if needed |
31 |
|
|
Group: System/Libraries |
32 |
luigiwalser |
401187 |
Provides: %{name} = %{version}-%{release} |
33 |
tux99 |
64869 |
|
34 |
|
|
%description -n %{libname} |
35 |
|
|
libdvdcss is a simple library designed for accessing DVDs like a block device |
36 |
|
|
without having to bother about the decryption. The important features are: |
37 |
|
|
* Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD, |
38 |
|
|
OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris, |
39 |
|
|
and HP-UX. |
40 |
|
|
* Simplicity. There are currently 7 functions in the API, and we intend to |
41 |
|
|
keep this number low. |
42 |
|
|
* Freedom. libdvdcss is released under the General Public License, ensuring |
43 |
|
|
it will stay free, and used only for free software products. |
44 |
|
|
* Just better. Unlike most similar projects, libdvdcss doesn't require the |
45 |
|
|
region of your drive to be set. |
46 |
|
|
|
47 |
luigiwalser |
401187 |
%package -n %{develname} |
48 |
supp |
188879 |
Summary: Development tools for programs which will use the %{name} library |
49 |
|
|
Group: Development/C |
50 |
luigiwalser |
401187 |
Requires: %{libname} = %{version} |
51 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
52 |
supp |
188879 |
Obsoletes: %mklibname -d dvdcss 2 |
53 |
tux99 |
64869 |
|
54 |
luigiwalser |
401187 |
%description -n %{develname} |
55 |
tux99 |
64869 |
The %{name}-devel package includes the header files and static libraries |
56 |
|
|
necessary for developing programs which will manipulate DVDs files using |
57 |
|
|
the %{name} library. |
58 |
|
|
|
59 |
|
|
If you are going to develop programs which will manipulate DVDs, you |
60 |
|
|
should install %{name}-devel. You'll also need to have the %{name} |
61 |
|
|
package installed. |
62 |
|
|
|
63 |
|
|
%prep |
64 |
|
|
%setup -q |
65 |
|
|
|
66 |
|
|
%build |
67 |
|
|
%configure2_5x |
68 |
|
|
%make |
69 |
|
|
|
70 |
|
|
%install |
71 |
|
|
%makeinstall_std |
72 |
|
|
|
73 |
luigiwalser |
401187 |
rm -rf %{buildroot}%{_docdir}/%{name} |
74 |
|
|
|
75 |
tux99 |
64869 |
%files -n %{libname} |
76 |
luigiwalser |
401187 |
%doc AUTHORS README |
77 |
tux99 |
64869 |
%{_libdir}/*.so.%{major}* |
78 |
|
|
|
79 |
luigiwalser |
401187 |
%files -n %{develname} |
80 |
tux99 |
64869 |
%doc ChangeLog COPYING |
81 |
|
|
%{_libdir}/*.a |
82 |
|
|
%{_libdir}/*.la |
83 |
|
|
%{_libdir}/*.so |
84 |
|
|
%{_includedir}/* |
85 |
|
|
%_libdir/pkgconfig/*.pc |