2007-01-10 17:49:01 +01:00
|
|
|
#
|
2011-02-02 01:44:53 +01:00
|
|
|
# spec file for package libdvdnav
|
2007-01-10 17:49:01 +01:00
|
|
|
#
|
2021-05-10 12:55:50 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-10 17:49:01 +01:00
|
|
|
#
|
2008-09-12 21:44:50 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-08-14 10:10:06 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-10 17:49:01 +01:00
|
|
|
#
|
|
|
|
|
2008-07-08 21:36:24 +02:00
|
|
|
|
2020-04-27 21:39:12 +02:00
|
|
|
%define sover 4
|
2007-01-10 17:49:01 +01:00
|
|
|
Name: libdvdnav
|
2021-05-10 12:55:50 +02:00
|
|
|
Version: 6.1.1
|
2011-12-04 19:05:29 +01:00
|
|
|
Release: 0
|
2019-08-14 10:10:06 +02:00
|
|
|
Summary: DVD Navigation Library
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
URL: https://www.videolan.org/developers/libdvdnav.html
|
2021-05-10 12:55:50 +02:00
|
|
|
Source0: https://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc
|
2020-04-27 21:39:12 +02:00
|
|
|
Source2: %{name}.keyring
|
2014-12-18 07:42:02 +01:00
|
|
|
Source1000: baselibs.conf
|
2011-11-19 21:16:33 +01:00
|
|
|
BuildRequires: libtool
|
2019-08-14 10:10:06 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-04-27 21:39:12 +02:00
|
|
|
BuildRequires: pkgconfig(dvdread) >= 6.0.0
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library contains functions to display DVD video menus.
|
|
|
|
|
2020-04-27 21:39:12 +02:00
|
|
|
%package -n libdvdnav%{sover}
|
2008-09-12 21:44:50 +02:00
|
|
|
Summary: A DVD Navigation Library
|
2007-01-10 17:49:01 +01:00
|
|
|
Group: Productivity/Multimedia/Other
|
2019-08-14 10:10:06 +02:00
|
|
|
Provides: %{name}
|
|
|
|
Obsoletes: %{name}
|
2008-09-12 21:44:50 +02:00
|
|
|
|
2020-04-27 21:39:12 +02:00
|
|
|
%description -n libdvdnav%{sover}
|
2008-09-12 21:44:50 +02:00
|
|
|
This library contains functions to display DVD video menus.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development Environment for libdvdnav
|
|
|
|
Group: Development/Libraries/C and C++
|
2020-04-27 21:39:12 +02:00
|
|
|
Requires: libdvdnav%{sover} = %{version}
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This library contains functions to display DVD video menus.
|
|
|
|
|
|
|
|
%prep
|
2020-04-27 21:39:12 +02:00
|
|
|
%autosetup
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%build
|
2019-08-14 10:10:06 +02:00
|
|
|
autoreconf -fvi
|
|
|
|
%configure \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-static
|
2020-04-27 21:39:12 +02:00
|
|
|
%make_build
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%install
|
2019-08-14 10:10:06 +02:00
|
|
|
%make_install
|
|
|
|
rm -r %{buildroot}%{_datadir}/doc/libdvdnav/
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-10 17:49:01 +01:00
|
|
|
|
2020-04-27 21:39:12 +02:00
|
|
|
%post -n libdvdnav%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libdvdnav%{sover} -p /sbin/ldconfig
|
2007-01-10 17:49:01 +01:00
|
|
|
|
2020-04-27 21:39:12 +02:00
|
|
|
%files -n libdvdnav%{sover}
|
|
|
|
%{_libdir}/libdvdnav.so.%{sover}
|
|
|
|
%{_libdir}/libdvdnav.so.%{sover}.*
|
2019-08-14 10:10:06 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README TODO
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%files devel
|
2011-12-04 19:05:29 +01:00
|
|
|
%{_includedir}/dvdnav
|
|
|
|
%{_libdir}/libdvdnav.so
|
|
|
|
%{_libdir}/pkgconfig/dvdnav.pc
|
2007-01-10 17:49:01 +01:00
|
|
|
|
2008-07-08 21:36:24 +02:00
|
|
|
%changelog
|