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
|
|
|
#
|
2015-09-25 11:03:04 +02:00
|
|
|
# Copyright (c) 2015 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.
|
|
|
|
|
2007-01-16 00:21:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-09-12 21:46:02 +02:00
|
|
|
|
2007-01-16 00:21:41 +01:00
|
|
|
Name: libdvdread
|
2015-09-25 11:03:04 +02:00
|
|
|
Version: 5.0.3
|
|
|
|
Release: 0
|
2008-09-12 21:46:02 +02:00
|
|
|
Summary: Library for Reading DVD Video Images
|
2012-08-01 17:23:21 +02:00
|
|
|
License: GPL-2.0+
|
2007-01-16 00:21:41 +01:00
|
|
|
Group: Productivity/Multimedia/Other
|
2012-08-01 17:23:21 +02:00
|
|
|
Url: http://www.mplayerhq.hu/
|
2014-07-27 14:21:31 +02:00
|
|
|
Source0: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
2015-09-25 11:03:04 +02:00
|
|
|
Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: baselibs.conf
|
2012-08-01 17:23:21 +02:00
|
|
|
Patch2: libdvdread-no-internal-crypto.patch
|
2015-09-25 11:03:04 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2011-11-19 21:42:07 +01:00
|
|
|
BuildRequires: libtool
|
2012-08-01 17:23:21 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2015-09-25 11:03:04 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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).
|
|
|
|
|
2008-09-12 21:46:02 +02:00
|
|
|
%package -n libdvdread4
|
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
|
|
|
|
2008-09-12 21:46:02 +02:00
|
|
|
%description -n libdvdread4
|
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
|
|
|
|
Requires: libdvdread4 = %{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
|
2014-07-27 14:21:31 +02:00
|
|
|
#patch2
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%build
|
2015-09-25 11:03:04 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic
|
|
|
|
make %{?_smp_mflags} V=1
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%install
|
2015-09-25 11:03:04 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
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
|
|
|
|
2011-12-04 19:04:20 +01:00
|
|
|
%post -n libdvdread4 -p /sbin/ldconfig
|
2007-01-16 00:21:41 +01:00
|
|
|
|
2008-09-12 21:46:02 +02:00
|
|
|
%postun -n libdvdread4 -p /sbin/ldconfig
|
2007-01-16 00:21:41 +01:00
|
|
|
|
2008-09-12 21:46:02 +02:00
|
|
|
%files -n libdvdread4
|
2007-01-16 00:21:41 +01:00
|
|
|
%defattr(-,root,root)
|
2014-07-27 14:21:31 +02:00
|
|
|
%doc AUTHORS COPYING NEWS README
|
2011-12-04 19:04:20 +01:00
|
|
|
%{_libdir}/libdvdread.so.4
|
|
|
|
%{_libdir}/libdvdread.so.4.*
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
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
|