# group: Libraries
# packagename: libdvdcss2
# : Manfred Tremmel
# packagedesc:
Now, the new copyright in germany is coming into force, it's no longer allowed to provide tools to breake technical protections.
Therefore we can no longer provide libdvdcss, sorry.
To give you the capability to watch DVD's on linux systems, we want make you the installation as easy as possible.
Download the libdvdcss tar.bz2-file in the same version as the nosrc.rpm from videolan, copy it to /usr/src/packages/SOURCES/, download the nosrc.rpm and compile the library using rpm --rebuild --target=i586 libdvdcss*.src.rpm
. The final RPM's you can find in /usr/src/packages/RPMS/i586/, you can install it like every other RPM.
%define name libdvdcss2
%define version 1.2.9
%define release 1
Name: %{name}
Summary: Library for accessing DVDs like block device usind deCSS if needed
Summary(de): Bibliothek zum Zugriff auf DVDs mit deCSS-Entschlüsselung, falls benötigt
Summary(fi): DVD-aseman käsittelyyn tarkoitettu ohjelmointikirjasto (Sisältää DeCSS ominaisuuden)
Version: %{version}
Release: %{release}
License: GPL
URL: http://www.videolan.org/libdvdcss/
Group: System/Libraries
Source0: libdvdcss-1.2.9.tar.bz2
NoSource: 0
Packager: Carsten Schoene
Vendor: linux-administrator.com
BuildRoot: %_tmppath/%name-%version-%release-root
Conflicts: libdvdcss0.0.1, libdvdcss0.0.2
Provides: libdvdcss = %version-%release
%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, NetBSD,
OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
and HP-UX.
* 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.
%description -l de
Die libdvdcss ist eine einfache Bibliothek, entwickelt um auf DVDs wie auf
Blockdevices zuzugreifen, ohne sich über die Verschlüsselung gedanken machen
zu mpssen. Die wichtigsten Features sind:
* Portabilität. Augenblicklich werden folgende Plattformen unterstützt:
GNU/Linux, FreeBSD, NetBSD, OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows
NT/2000, MacOS X, Solaris und HP-UX.
* Einfachheit. Es gibt augenblicklich 7 Funktionen in der API und die
Entwickler sind bestrebt, die Zahl niedrig zu halten.
* Freiheit. Die libdvdcss steht unter der General Public License, demzufolge
wird es frei bleiben und nur für freie Softwareprojekte eingesetzt.
* Einfach besser. Im Gegensatz zu anderen Projekten dieser art benötigt
libdvdcss den Region-Code des DVD-Laufwerks nicht.
%description -l fi
libdvdcss on yksinkertainen ohjelmointikirjasto, jonka tarkoitus on tarjota
DVD-aseman käsittelyyn helppo rajanpinta. libdvdcss käyttäjän ei tarvitse myöskään
välittää CSS:stä vaan libdvdcss hoitaa sen automaattisesti.
Tärkeimmät ominaisuudet ovat:
* Koodin siirrettävyys eri käyttöjärjestelmien välillä.
Tuettuja tällä hetkellä:
OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
ja HP-UX.
* Helppous. Kirjastossa on vain 7 funktiota ohjelmointirajapinnassa.
* Vapaus. Koodi on julkaistu General Public Lisenssin alaisena
* Toisin kuin monet DVD-purkukirjastot libdvdcss ei tarvitse aluekoodia
%package devel
Summary: Development tools for programs which will use the libdvdcss library
Summary(de): Entwicklungstools für Programme die die libdvdcss Bibliothek nutzen
Summary(fi): DVD-soittimen käsittelyyn tarkoitettu ohjelmointi kirjasto (Sisältää DeCSS ominaisuuden)
Group: Development/C
Requires: %{name} = %version-%release
Provides: libdvdcss-devel = %version-%release
%description devel
The libdvdcss-devel package includes the header files and static libraries
necessary for developing programs which will manipulate DVDs files using
the libdvdcss library.
If you are going to develop programs which will manipulate DVDs, you
should install libdvdcss-devel. You'll also need to have the libdvdcss
package installed.
%description devel -l de
Das libdvdcss-devel Packet enthelt Header-Files und statisch gelinkte
Bibliotheken die zur Entwicklung eigener Programme benötigt werden, die
auf DVDs mit Hilfe der libdvdcss zugreifen wollen.
Wenn Sie Programme entwicklen wollen, die auf DVDs zugreifen sollen,
sollten sie libdvdcss-devel installieren. Es wird ebenso die libdvdcss
benötigt.
%description devel -l fi
Paketti sisältää header-tiedostot sekä staattiset kirjastot, jotka ovat
tarpeellisia ohjelmien kehittämisen kannalta.
Jos aiot kehittää ohjelman joka käyttää libdvdcss sinun tulee asentaa nämä
tiedostot.
%prep
%setup -q -n libdvdcss-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure
%__make
%install
[ "${buildroot}" != "/" ] && [ -d ${buildroot} ] && rm -rf ${buildroot};
%makeinstall
cd %{buildroot}%{_libdir}
%{__ln_s} libdvdcss.so.2 libdvdcss.so.1
%clean
[ "${buildroot}" != "/" ] && [ -d ${buildroot} ] && rm -rf ${buildroot};
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%doc ChangeLog COPYING
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*
%changelog
* Tue Jul 12 2005 Manfred Tremmel
- Update to Version 1.2.9
* Wed Dec 01 2004 Manfred Tremmel
- some cleanups
* Sat Oct 18 2003 Manfred Tremmel
- a little change to make it compile with rpm 4 based distros
* Sat Aug 02 2003 Manfred Tremmel
- Update to Version 1.2.8
* Mon Jun 30 2003 Manfred Tremmel
- Removed source (nosrc.rpm), becauso of new copyright-law in Germany
* Thu Jun 26 2003 Manfred Tremmel
- Update to Version 1.2.7
* Thu Mar 27 2003 Manfred.Tremmel
- added packman headers
- changes to make it work with packman-upload script
* Thu Mar 13 2003 Manfred Tremmel
- Update to Version 1.2.6
* Sat Mar 08 2003 Manfred Tremmel
- added german translations
- added translation for finnish by Tuukka Pasanen
* Tue Feb 04 2003 Manfred Tremmel
- Update to Version 1.2.5
* Sat Nov 16 2002 Manfred Tremmel
- Update to Version 1.2.4
* Fri Oct 18 2002 Manfred Tremmel
- Update to Version 1.2.3
* Thu Aug 15 2002 Manfred Tremmel
- Update to Version 1.2.2
* Wed Jun 26 2002 Manfred Tremmel
- Update to Version 1.2.1
* Thu May 30 2002 Manfred Tremmel
- added link to libdvdcss.so.1 (needed by xine dvdnav-plugin)
- added little patch to build shared libraries (I can't say why they were not build)
* Mon May 20 2002 Samuel Hocevar
- new upstream release
- weird libxalf dependency is gone
* Sun Apr 07 2002 Yves Duret 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 1.1.1-1plf
- 1.1.1
* Wed Jan 30 2002 Guillaume Rousse 1.0.0-3plf
- new plf extension
* Wed Dec 05 2001 Guillaume Rousse 1.0.0-3mdk
- removed conflict
* Tue Dec 04 2001 Guillaume Rousse 1.0.0-2mdk
- contributed to PLF by Yves Duret
- Conflicts: libdvdcss-ogle
- more doc files
- no doc file for devel package
* Fri Nov 30 2001 Yves Duret 1.0.0-1mdk
- version 1.0.0
* Thu Aug 23 2001 Yves Duret 0.0.3-1mdk
- version 0.0.3
* Mon Aug 13 2001 Yves Duret 0.0.2-1mdk
- version 0.0.2
* Tue Jun 19 2001 Yves Duret 0.0.1-1mdk
- first release and first mdk release