libdvdcss.spec 4.53 KB
Newer Older
1
%define name 	libdvdcss
2
%define version	1.2.3
3
%define release	1
4

5
%define major  	2
6
%define libname %{name}%{major}
7 8 9 10

Name:		%{name}
Version:	%{version}
Release:	%{release}
11
Summary:        Library for accessing DVDs like block devices with transparent decryption
12
Source:		%{name}-%{version}.tar.bz2
13 14
License:	GPL
Group:		System/Libraries
15 16
URL:		http://www.videolan.org/libdvdcss/
Packager:	Yves Duret <yduret@mandrakesoft.com>
17
BuildRoot:	%_tmppath/%name-%version-%release-root
18
Conflicts:	libdvdcss0.0.1, libdvdcss0.0.2
19 20 21 22

%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:
23
 * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
24
   OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
25 26 27 28 29 30
   HP-UX and OS/2.
 * Adaptability: unlike most similar projects, libdvdcss doesn't require the
   region of your drive to be set and will try its best to read from the disc
   even in the case of a region mismatch.
 * Simplicity: a DVD player can be built around the libdvdcss API using no
   more than 4 or 5 library calls.
31

32
%package -n %{libname}
33
Summary:        Library for accessing DVDs like block devices with transparent decryption
34
Group:          System/Libraries
35
Provides:       %name = %version-%release
36

37 38
%description -n %{libname}
libdvdcss is a simple library designed for accessing DVDs like a block device
39
without having to bother about the decryption. The important features are:
40
 * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
41
   OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
42 43 44 45 46 47
   HP-UX and OS/2.
 * Adaptability: unlike most similar projects, libdvdcss doesn't require the
   region of your drive to be set and will try its best to read from the disc
   even in the case of a region mismatch.
 * Simplicity: a DVD player can be built around the libdvdcss API using no
   more than 4 or 5 library calls.
48

49 50
%package -n %{libname}-devel
Summary:        Development tools for programs which will use the %{name} library
51
Group:          Development/C
52 53
Requires:	%{libname} = %version-%release
Provides:       %{name}-devel = %version-%release
54
 
55
%description -n %{libname}-devel
56 57 58 59
The %{name}-devel package includes the header files and static libraries
necessary for developing programs which will manipulate DVDs files using
the %{name} library.
 
60 61 62
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.
63 64 65 66 67 68

%prep
%setup -q

%build
%configure
69
%make
70 71

%install
72
%makeinstall_std
73 74

%clean
75
rm -rf %buildroot
76

77
%post -n %{libname} -p /sbin/ldconfig
78
 
79
%postun -n %{libname} -p /sbin/ldconfig
80

81 82 83
%files -n %{libname}
%defattr(-,root,root)
%doc AUTHORS COPYING
84 85
%{_libdir}/*.so.*

86
%files -n %{libname}-devel
87
%defattr(-,root,root)
88
%doc ChangeLog COPYING
89 90 91 92 93
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*

%changelog
94
* Sun Oct 13 2002 Samuel Hocevar <sam@zoy.org> 1.2.3-1
95 96 97
- new upstream release
- fix for drives not allowing to read their disc key

98
* Sat Aug 10 2002 Samuel Hocevar <sam@zoy.org> 1.2.2-1
99
- new upstream release
100
- even more fixes for the disc/drive region mismatch problem
101

102 103 104 105
* Sun Jun 02 2002 Samuel Hocevar <sam@zoy.org> 1.2.1-1
- new upstream release
- fix for a crash on disc/drive region mismatch

106
* Mon May 20 2002 Samuel Hocevar <sam@zoy.org> 1.2.0-1
107 108 109
- new upstream release
- weird libxalf dependency is gone

110 111 112 113 114 115 116 117 118 119 120 121
* Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 1.1.1-2plf
- major version is 2 (aka guillaume sux).
- spec clean up: do not rm in %prep, %%buildroot, %%makeinstall_std, %%provides %%version-%%release
- added doc in devel
- sync with cvs's one (%%description,%%files, conflicts).
- fix url

* Sat Apr 06 2002 Guillaume Rousse <rousse@ccr.jussieu.fr> 1.1.1-1plf
- 1.1.1

* Wed Jan 30 2002 Guillaume Rousse <rousse@ccr.jussieu.fr> 1.0.0-3plf 
- new plf extension
Sam Hocevar's avatar
Sam Hocevar committed
122

123 124
* Wed Dec 05 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.0.0-3mdk
- removed conflict
125

126 127 128 129 130 131 132 133
* Tue Dec 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.0.0-2mdk
- contributed to PLF by Yves Duret <yduret@mandrakesoft.com>
- Conflicts: libdvdcss-ogle
- more doc files
- no doc file for devel package

* Fri Nov 30 2001 Yves Duret <yduret@mandrakesoft.com> 1.0.0-1mdk
- version 1.0.0
134 135 136 137 138 139 140 141 142

* 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