SHA256
1
0
forked from pool/libdvdnav
libdvdnav/libdvdnav.spec
Ismail Dönmez c860cdd6d0 Accepting request 95296 from home:pbleser:branches:multimedia:libs
- update to 4.2.0:
  * added dvdnav_get_serial_string() function
  * fixed ifo leak in dvdnav_describe_chapters()
  * added dvdnav_get_video_resolution() to retrieve video resolution
  * added dvdnav_program_play() & dvdnav_current_title_program() for
    more reliable playback
  * fixed deadlock between dvdnav_reset() and dvd_clear()
  * fixed pthread_mutex_destroy macro for Win32
  * fixed numerous assertion failures occuring when playing DVDs with
    new "copy protection" schemes
  * fixed forward seeks to always move forward

OBS-URL: https://build.opensuse.org/request/show/95296
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdnav?expand=0&rev=12
2011-12-04 18:05:29 +00:00

96 lines
2.6 KiB
RPMSpec

#
# spec file for package libdvdnav
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libdvdnav
Summary: DVD Navigation Library
Url: http://www.mplayerhq.hu/
License: GPLv2+
Group: Productivity/Multimedia/Other
Version: 4.2.0
Release: 0
Source0: http://dvdnav.mplayerhq.hu/releases/libdvdnav-%{version}.tar.bz2
Patch1: libdvdnav-strict-aliasing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libdvdread-devel >= 4.2.0
BuildRequires: pkg-config
BuildRequires: libtool
%description
This library contains functions to display DVD video menus.
%package -n libdvdnav4
License: GPLv2+
Summary: A DVD Navigation Library
Group: Productivity/Multimedia/Other
Provides: %{name} = %{version}
Obsoletes: %{name} <= 0.1.10
%description -n libdvdnav4
This library contains functions to display DVD video menus.
%package devel
License: GPLv2+
Summary: Development Environment for libdvdnav
Group: Development/Libraries/C and C++
Requires: libdvdnav4 = %{version} libdvdread-devel
%description devel
This library contains functions to display DVD video menus.
%prep
%setup -q
%patch1
%build
autoreconf -f -i -v
%configure --disable-static --with-pic
%__make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%__rm -f %{buildroot}%{_libdir}/*.la
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%post -n libdvdnav4 -p /sbin/ldconfig
%postun -n libdvdnav4 -p /sbin/ldconfig
%files -n libdvdnav4
%defattr(-,root,root)
%{_libdir}/libdvdnav.so.4
%{_libdir}/libdvdnav.so.4.*
%{_libdir}/libdvdnavmini.so.4
%{_libdir}/libdvdnavmini.so.4.*
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_bindir}/dvdnav-config
%{_includedir}/dvdnav
%{_datadir}/aclocal/dvdnav.m4
%{_libdir}/libdvdnav.so
%{_libdir}/libdvdnavmini.so
%{_libdir}/pkgconfig/dvdnav.pc
%{_libdir}/pkgconfig/dvdnavmini.pc
%changelog