2007-01-16 00:21:41 +01:00
|
|
|
#
|
2011-02-02 01:39:59 +01:00
|
|
|
# spec file for package libdvdread
|
2007-01-16 00:21:41 +01:00
|
|
|
#
|
2019-02-19 09:15:55 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:41 +01:00
|
|
|
#
|
2008-09-12 21:46:02 +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:34:58 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:21:41 +01:00
|
|
|
#
|
|
|
|
|
2008-09-12 21:46:02 +02:00
|
|
|
|
2007-01-16 00:21:41 +01:00
|
|
|
Name: libdvdread
|
2019-10-17 22:11:52 +02:00
|
|
|
Version: 6.0.2
|
2015-09-25 11:03:04 +02:00
|
|
|
Release: 0
|
2008-09-12 21:46:02 +02:00
|
|
|
Summary: Library for Reading DVD Video Images
|
2019-08-14 10:34:58 +02:00
|
|
|
License: GPL-2.0-or-later
|
2007-01-16 00:21:41 +01:00
|
|
|
Group: Productivity/Multimedia/Other
|
2019-08-14 10:34:58 +02:00
|
|
|
URL: https://www.videolan.org/developers/libdvdnav.html
|
2014-07-27 14:21:31 +02:00
|
|
|
Source0: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
2019-10-17 22:11:52 +02:00
|
|
|
#Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc
|
2015-09-25 11:03:04 +02:00
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: baselibs.conf
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2011-11-19 21:42:07 +01:00
|
|
|
BuildRequires: libtool
|
2019-08-14 10:34:58 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-08-01 17:23:21 +02:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains shared libraries for accessing DVD images (this
|
|
|
|
package does not contain DeCSS algorithms).
|
|
|
|
|
2019-10-17 22:11:52 +02:00
|
|
|
%package -n libdvdread7
|
2007-07-27 01:53:59 +02:00
|
|
|
Summary: Library for Reading DVD Video Images
|
|
|
|
Group: Productivity/Multimedia/Other
|
2007-07-30 00:52:21 +02:00
|
|
|
Provides: %{name} = %{version}
|
2007-08-24 01:31:53 +02:00
|
|
|
Obsoletes: %{name} <= 0.9.7
|
2007-07-27 01:53:59 +02:00
|
|
|
|
2019-10-17 22:11:52 +02:00
|
|
|
%description -n libdvdread7
|
2007-07-27 01:53:59 +02:00
|
|
|
This package contains shared libraries for accessing DVD images (this
|
|
|
|
package does not contain DeCSS algorithms).
|
|
|
|
|
2007-01-16 00:21:41 +01:00
|
|
|
%package devel
|
2007-07-27 01:53:59 +02:00
|
|
|
Summary: Development Environment for libdvdread
|
2007-01-16 00:21:41 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-08-01 17:23:21 +02:00
|
|
|
Requires: glibc-devel
|
2019-10-17 22:11:52 +02:00
|
|
|
Requires: libdvdread7 = %{version}
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the include-files and static libraries for
|
2007-07-27 01:53:59 +02:00
|
|
|
libdvdread.
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%prep
|
2007-08-24 01:31:53 +02:00
|
|
|
%setup -q
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%build
|
2015-09-25 11:03:04 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure \
|
2019-08-14 10:34:58 +02:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%install
|
2019-08-14 10:34:58 +02:00
|
|
|
%make_install
|
2015-09-25 11:03:04 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-07-27 14:21:31 +02:00
|
|
|
# We install the files on our own, using %%doc
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/libdvdread/
|
2007-01-16 00:21:41 +01:00
|
|
|
|
2019-10-17 22:11:52 +02:00
|
|
|
%post -n libdvdread7 -p /sbin/ldconfig
|
|
|
|
%postun -n libdvdread7 -p /sbin/ldconfig
|
2007-01-16 00:21:41 +01:00
|
|
|
|
2019-10-17 22:11:52 +02:00
|
|
|
%files -n libdvdread7
|
2019-08-14 10:34:58 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS README
|
2019-10-17 22:11:52 +02:00
|
|
|
%{_libdir}/libdvdread.so.7
|
|
|
|
%{_libdir}/libdvdread.so.7.*
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%files devel
|
2011-12-04 19:04:20 +01:00
|
|
|
%{_includedir}/dvdread
|
|
|
|
%{_libdir}/libdvdread.so
|
|
|
|
%{_libdir}/pkgconfig/dvdread.pc
|
2007-01-16 00:21:41 +01:00
|
|
|
|
2007-07-27 01:53:59 +02:00
|
|
|
%changelog
|