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
|
|
|
#
|
2011-02-02 01:39:59 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products 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
|
2008-09-12 21:46:02 +02:00
|
|
|
Summary: Library for Reading DVD Video Images
|
|
|
|
Url: http://www.mplayerhq.hu/
|
2011-02-02 01:39:59 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:21:41 +01:00
|
|
|
Group: Productivity/Multimedia/Other
|
2008-09-12 21:46:02 +02:00
|
|
|
Version: 4.1.3
|
2011-02-02 01:39:59 +01:00
|
|
|
Release: 13
|
2008-09-12 21:46:02 +02:00
|
|
|
Source0: http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/%{name}-%{version}.tar.bz2
|
2011-05-19 09:23:12 +02:00
|
|
|
Source1: baselibs.conf
|
2007-07-27 01:53:59 +02:00
|
|
|
Patch: libdvdread-strict-aliasing.patch
|
2007-01-16 00:21:41 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-02-02 01:39:48 +01:00
|
|
|
BuildRequires: pkg-config
|
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
|
2011-02-02 01:39:59 +01:00
|
|
|
License: GPLv2+
|
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
|
2011-02-02 01:39:59 +01:00
|
|
|
License: GPLv2+
|
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++
|
2008-09-12 21:46:02 +02:00
|
|
|
Requires: libdvdread4 = %{version} glibc-devel
|
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
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
2007-07-27 01:53:59 +02:00
|
|
|
autoreconf -f -i
|
2007-08-24 01:31:53 +02:00
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%install
|
2007-07-27 01:53:59 +02:00
|
|
|
%makeinstall
|
2007-08-24 01:31:53 +02:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-09-12 21:46:02 +02: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)
|
2008-09-12 21:46:02 +02:00
|
|
|
%{_libdir}/*.so.4*
|
2007-01-16 00:21:41 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-08-24 01:31:53 +02:00
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%{_includedir}/*
|
2007-01-16 00:21:41 +01:00
|
|
|
%{_libdir}/*.so
|
2008-09-12 21:46:02 +02:00
|
|
|
%_bindir/dvdread-config
|
|
|
|
%_libdir/pkgconfig/dvdread.pc
|
|
|
|
%_datadir/aclocal/dvdread.m4
|
2007-01-16 00:21:41 +01:00
|
|
|
|
2007-07-27 01:53:59 +02:00
|
|
|
%changelog
|