libdvdread/libdvdread.spec
Tomáš Chvátal bce424d8e8 Accepting request 798373 from home:alois:branches:multimedia:libs
- Update to version 6.1.1
 * Fix the soversion following ABI breakage
 version 6.1.0:
 * Introduce DVDOpen2 and DVDOpenStream2 API to provide logger
    context
 * fix playback of broken discs with broken ifo files
 * improve getmntent_r detection
 * fix crashes in some disc, with empty contiguous ShortAD
 * clean obsolete code
- Bump soversion to 8
- Added sigfile
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/798373
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdread?expand=0&rev=35
2020-04-27 19:38:13 +00:00

92 lines
2.7 KiB
RPMSpec

#
# spec file for package libdvdread
#
# Copyright (c) 2020 SUSE LLC
#
# 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/
#
%define sover 8
Name: libdvdread
Version: 6.1.1
Release: 0
Summary: Library for Reading DVD Video Images
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Other
URL: https://www.videolan.org/developers/libdvdnav.html
Source0: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
%description
This package contains shared libraries for accessing DVD images (this
package does not contain DeCSS algorithms).
%package -n libdvdread%{sover}
Summary: Library for Reading DVD Video Images
Group: Productivity/Multimedia/Other
Provides: %{name} = %{version}
Obsoletes: %{name} <= 0.9.7
%description -n libdvdread%{sover}
This package contains shared libraries for accessing DVD images (this
package does not contain DeCSS algorithms).
%package devel
Summary: Development Environment for libdvdread
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libdvdread%{sover} = %{version}
%description devel
This package contains the include-files and static libraries for
libdvdread.
%prep
%autosetup
%build
autoreconf -fiv
%configure \
--disable-silent-rules \
--disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# We install the files on our own, using %%doc
rm -rf %{buildroot}%{_datadir}/doc/libdvdread/
%post -n libdvdread%{sover} -p /sbin/ldconfig
%postun -n libdvdread%{sover} -p /sbin/ldconfig
%files -n libdvdread%{sover}
%license COPYING
%doc AUTHORS NEWS README
%{_libdir}/libdvdread.so.%{sover}
%{_libdir}/libdvdread.so.%{sover}.*
%files devel
%{_includedir}/dvdread
%{_libdir}/libdvdread.so
%{_libdir}/pkgconfig/dvdread.pc
%changelog