libdvdcss.spec 3.31 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This is borrowed and adapted from Mandrake's Cooker
%define name 	libdvdcss
%define version	0.0.3
%define release	1
%define major  	0
%define lib_name %{name}%{major}

Summary:	A library for accessing DVDs like block device, deciphering CSS encryption if needed.
Name:		%{name}
Version:	%{version}
Release:	%{release}

Source0:	http://www.videolan.org/pub/videolan/libdvcss/%{version}/%{name}-%{version}.tar.bz2
License:	GPL
Group:		System/Libraries
URL:		http://videolan.org/
BuildRoot:	%_tmppath/%name-%version-%release-root

%description
libdvdcss is a simple library designed for accessing DVDs like a block device
without having to bother about the decryption. The important features are:
 * Portability. Currently supported platforms are GNU/Linux, FreeBSD, BeOS
   and Windows. The MacOS X version is being worked on as well.
 * Simplicity. There are currently 7 functions in the API, and we intend to
   keep this number low.
 * Freedom. libdvdcss is released under the General Public License, ensuring
   it will stay free, and used only for free software products.
 * Just better. Unlike most similar projects, libdvdcss doesn't require the
   region of your drive to be set.

%package -n %{lib_name}
Summary:        A library for accessing DVDs like block device, deciphering CSS encryption if needed.
Group:          System/Libraries
Provides:       %name

%description -n %{lib_name}
libdvdcss is a simple library designed for accessing DVDs like a block device 
without having to bother about the decryption. The important features are:
 * Portability. Currently supported platforms are GNU/Linux, FreeBSD, BeOS
   and Windows. The MacOS X version is being worked on as well.
 * Simplicity. There are currently 7 functions in the API, and we intend to 
   keep this number low.
 * Freedom. libdvdcss is released under the General Public License, ensuring
   it will stay free, and used only for free software products.
 * Just better. Unlike most similar projects, libdvdcss doesn't require the 
   region of your drive to be set.

%package -n %{lib_name}-devel
Summary:        Development tools for programs which will use the libdvdcss library.
Group:          Development/C
Provides:       %name-devel
Requires:	%{lib_name} = %{version}
 
%description -n %{lib_name}-devel
The %{name}-devel package includes the header files and static libraries
necessary for developing programs which will manipulate DVDs files using
the %{name} library.
 
 If you are going to develop programs which will manipulate DVDs,
 you should install %{name}-devel.  You'll also need to have the %name
 package installed.
 

%prep
%setup -q

%build
%configure
69
make libdvdcss
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106

%install
%makeinstall

%clean
rm -fr %buildroot

%post -n %{lib_name} -p /sbin/ldconfig
 
%postun -n %{lib_name} -p /sbin/ldconfig

%files -n %{lib_name}
%defattr(-,root,root,-)
%doc COPYING AUTHORS
%{_libdir}/*.so.*

%files -n %{lib_name}-devel
%defattr(-,root,root)
%doc COPYING
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*

%changelog
* Tue Oct 02 2001 Christophe Massiot <massiot@via.ecp.fr>
- Imported Mandrake's vlc.spec into the CVS

* Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.0.3-1mdk
- version 0.0.3

* Mon Aug 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.0.2-1mdk
- version 0.0.2

* Tue Jun 19 2001 Yves Duret <yduret@mandrakesoft.com> 0.0.1-1mdk
- first release and first mdk release

#EOF