forked from pool/libdvdnav
e0f2933716
- Update to version 6.0.1: * improve random playback mode, to work-around broken discs * fix divide-by-zerop issue in tmap search * fix pthread on OS/2 - Removed gpg signature (not available) OBS-URL: https://build.opensuse.org/request/show/740886 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdnav?expand=0&rev=30
86 lines
2.4 KiB
RPMSpec
86 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package libdvdnav
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 libname libdvdnav4
|
|
Name: libdvdnav
|
|
Version: 6.0.1
|
|
Release: 0
|
|
Summary: DVD Navigation Library
|
|
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
|
|
Source1000: baselibs.conf
|
|
Patch0: libdvdnav-dvdread.patch
|
|
BuildRequires: pkgconfig(dvdread) >= 6.0.0
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
|
|
%description
|
|
This library contains functions to display DVD video menus.
|
|
|
|
%package -n %{libname}
|
|
Summary: A DVD Navigation Library
|
|
Group: Productivity/Multimedia/Other
|
|
Provides: %{name}
|
|
Obsoletes: %{name}
|
|
|
|
%description -n %{libname}
|
|
This library contains functions to display DVD video menus.
|
|
|
|
%package devel
|
|
Summary: Development Environment for libdvdnav
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{libname} = %{version}
|
|
|
|
%description devel
|
|
This library contains functions to display DVD video menus.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
autoreconf -fvi
|
|
%configure \
|
|
--disable-silent-rules \
|
|
--disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
rm -r %{buildroot}%{_datadir}/doc/libdvdnav/
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%post -n libdvdnav4 -p /sbin/ldconfig
|
|
%postun -n libdvdnav4 -p /sbin/ldconfig
|
|
|
|
%files -n %{libname}
|
|
%{_libdir}/libdvdnav.so.4
|
|
%{_libdir}/libdvdnav.so.4.*
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog README TODO
|
|
|
|
%files devel
|
|
%{_includedir}/dvdnav
|
|
%{_libdir}/libdvdnav.so
|
|
%{_libdir}/pkgconfig/dvdnav.pc
|
|
|
|
%changelog
|