File libdvdcss.spec of Package cascadingstylesheetsfordigitalvideodispersal
#
# spec file for package libdvdcss
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libdvdcss
Version: 1.4.3+3
Release: 10.9
Summary: A library designed for accessing encrypted DVDs
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Other
URL: http://developers.videolan.org/libdvdcss/
Source: %{name}-%{version}.tar.xz
BuildRequires: libtool
BuildRequires: pkgconfig
%description
libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.
%package devel
Summary: Development libraries for libdvdCSS - access DVDs without bothering about the encryption
Group: Development/Libraries/C and C++
Requires: libdvdcss2 = %{version}
%description devel
The required header and symbol files to link agains libdvdcss
%package -n libdvdcss2
Summary: A library designed for accessing encrypted DVDs
Group: System/Libraries
Obsoletes: libdvdcss < %{version}
Provides: libdvdcss = %{version}
%description -n libdvdcss2
libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.
%prep
%autosetup
%build
autoreconf -fiv
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_datadir}/doc/
%post -n libdvdcss2 -p /sbin/ldconfig
%postun -n libdvdcss2 -p /sbin/ldconfig
%files -n libdvdcss2
%license COPYING
%doc AUTHORS NEWS
%{_libdir}/libdvdcss.so.*
%files devel
%{_includedir}/dvdcss
%{_libdir}/libdvdcss.so
%{_libdir}/pkgconfig/libdvdcss.pc
%changelog
* Tue Jul 25 2023 obs-service-tar-scm@invalid
- Update to version 1.4.3+3:
* tools/csstest: improve debugging info
* Typos found by codespell
* Move README to README.md
* Update NEWS for 1.4.3
* Fix opening non-ASCII paths in Windows
* CI: Build developer documentation
* CI: Updated to use modern builders
* update instructions with modern host targets
* Update NEWS for 1.4.3
* Squelch potential buffer overflow warning
* Fri Mar 23 2018 dimstar@opensuse.org
- Update to version 1.4.2:
* Fix buffer overflow when region mask is 0x0
* Fix invalid free on Open
- Changes from version 1.4.1:
* Fix crashes in cache directory creation
* Fix cases where the cache directory was not used
* Sun Feb 28 2016 dimstar@opensuse.org
- Update to version 1.4.0:
+ Add key caching on Android.
+ Fix leaks, win32 build breakage, file descriptor
initialization.
+ Expose version.h.
- Changes from version 1.3.90:
+ Drop support for HP-UX.
+ Drop support for Windows 9x and Windows NT.
+ Replace BeOS support by Haiku support.
+ Add dvdcss_open_stream() to public API. This allows installing
custom callback functions for accessing DVD, e.g. over the
network.
+ dvdcss_error() now returns "const char *" instad of "char *".
+ Drop support for MSVC versions before 2010.
+ Raw device access now errors out if the device cannot be
opened.
+ Miscellaneous cleanups to code, documentation, build system.
- Changes from version 1.3.0:
+ Dropped deprecated, undocumented API:
- the function dvdcss_title()
- the type dvdcss_handle
- the variable dvdcss_interface_2
+ Drop support for Windows 98 and Windows NT 4.0.
+ Support for Android.
* Mon Aug 26 2013 dimstar@opensuse.org
- Update to version 1.2.13:
+ Drop BSD/OS and Windows 95 support.
+ Rewrite most of the build system and simplify it.
+ System-dependent code cleanup
+ Move to Git and rewrite the history to get proper authorship.
+ Drop LaTeX documentation.
+ Fix build on various systems including MSVC.
* Fri May 25 2012 dimstar@opensuse.org
- Update to version 1.2.12:
+ fix regression on RPC-I drives handling.
* Fri Dec 2 2011 dimstar@opensuse.org
- Do not bootstrap the buildsystem. It's fine the way it is.
* Wed Nov 16 2011 dominique-vlc.suse@leuenberger.net
- Update to version 1.2.11
* Sun May 22 2011 dominique-vlc.suse@leuenberger.net
- Follow SLPP: rename lib package to libdvdcss2.
* Thu Feb 3 2011 dominique-vlc.suse@leuenberger.net
- BuildRequire pkgconfig instead of pkg-config.
* Tue Apr 27 2010 root@localhost
- BuildRequire pkg-config
- Cleaned the spec file with spec-cleaner
- Require the main-package from the -devel package.