2007-01-10 17:49:01 +01:00
|
|
|
#
|
2008-09-12 21:44:50 +02:00
|
|
|
# spec file for package libdvdnav (Version 4.1.3)
|
2007-01-10 17:49:01 +01:00
|
|
|
#
|
2010-01-11 17:30:24 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-10 17:49:01 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-07-08 21:36:24 +02:00
|
|
|
|
2007-01-10 17:49:01 +01:00
|
|
|
Name: libdvdnav
|
2008-09-12 21:44:50 +02:00
|
|
|
Summary: A DVD Navigation Library
|
|
|
|
Url: http://www.mplayerhq.hu/
|
2010-01-11 17:30:24 +01:00
|
|
|
License: GPLv2+
|
2007-01-10 17:49:01 +01:00
|
|
|
Group: Productivity/Multimedia/Other
|
2008-09-12 21:44:50 +02:00
|
|
|
Version: 4.1.3
|
2010-01-11 17:30:24 +01:00
|
|
|
Release: 2
|
2008-07-08 21:36:24 +02:00
|
|
|
Source0: http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/%name-%version.tar.bz2
|
|
|
|
Patch: libdvdnav.diff
|
2007-01-10 17:49:01 +01:00
|
|
|
Patch1: libdvdnav-strict-aliasing.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-02-02 01:44:44 +01:00
|
|
|
BuildRequires: libdvdread-devel pkg-config
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library contains functions to display DVD video menus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Daniel Caujolle-Bert <segfault@club-internet.fr>
|
|
|
|
Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
Rich Wareham <richwareham@users.sourceforge.net>
|
|
|
|
Kees Cook <kees@outflux.net>
|
|
|
|
|
2008-09-12 21:44:50 +02:00
|
|
|
%package -n libdvdnav4
|
2010-01-11 17:30:24 +01:00
|
|
|
License: GPLv2+
|
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
|
2008-09-12 21:44:50 +02:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
Obsoletes: %{name} <= 0.1.10
|
|
|
|
|
|
|
|
%description -n libdvdnav4
|
|
|
|
This library contains functions to display DVD video menus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Daniel Caujolle-Bert <segfault@club-internet.fr>
|
|
|
|
Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
Rich Wareham <richwareham@users.sourceforge.net>
|
|
|
|
Kees Cook <kees@outflux.net>
|
|
|
|
|
|
|
|
%package devel
|
2010-01-11 17:30:24 +01:00
|
|
|
License: GPLv2+
|
2008-09-12 21:44:50 +02:00
|
|
|
Summary: Development Environment for libdvdnav
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libdvdnav4 = %{version} libdvdread-devel
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This library contains functions to display DVD video menus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Daniel Caujolle-Bert <segfault@club-internet.fr>
|
|
|
|
Thomas Vander Stichele <thomas@apestaart.org>
|
|
|
|
Rich Wareham <richwareham@users.sourceforge.net>
|
|
|
|
Kees Cook <kees@outflux.net>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
2008-09-12 21:44:50 +02:00
|
|
|
autoreconf -f -i
|
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2008-09-12 21:44:50 +02:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-10 17:49:01 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-09-12 21:44:50 +02:00
|
|
|
%post -n libdvdnav4 -p /sbin/ldconfig
|
2007-01-10 17:49:01 +01:00
|
|
|
|
2008-09-12 21:44:50 +02:00
|
|
|
%postun -n libdvdnav4 -p /sbin/ldconfig
|
2007-01-10 17:49:01 +01:00
|
|
|
|
2008-09-12 21:44:50 +02:00
|
|
|
%files -n libdvdnav4
|
2007-01-10 17:49:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2008-09-12 21:44:50 +02:00
|
|
|
%doc AUTHORS COPYING NEWS README
|
2007-01-10 17:49:01 +01:00
|
|
|
/usr/bin/*
|
|
|
|
/usr/include/*
|
|
|
|
/usr/share/aclocal/*.m4
|
|
|
|
%{_libdir}/*.so
|
2008-09-12 21:44:50 +02:00
|
|
|
%_libdir/pkgconfig/dvdnav.pc
|
|
|
|
%_libdir/pkgconfig/dvdnavmini.pc
|
2007-01-10 17:49:01 +01:00
|
|
|
|
2008-07-08 21:36:24 +02:00
|
|
|
%changelog
|