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