forked from pool/libdvdnav
136 lines
3.5 KiB
RPMSpec
136 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package libdvdnav (Version 4.1.2)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Url: http://dvd.sourceforge.net/
|
|
|
|
Name: libdvdnav
|
|
License: GPL v2 or later
|
|
Group: Productivity/Multimedia/Other
|
|
AutoReqProv: on
|
|
Version: 4.1.2
|
|
Release: 1
|
|
Source0: http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/%name-%version.tar.bz2
|
|
Patch: libdvdnav.diff
|
|
Patch1: libdvdnav-strict-aliasing.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: A DVD Navigation Library
|
|
BuildRequires: libdvdread-devel
|
|
|
|
%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>
|
|
|
|
%package devel
|
|
License: GPL v2 or later
|
|
Summary: DVD navigation library
|
|
Group: Productivity/Multimedia/Other
|
|
Requires: libdvdnav libdvdread-devel
|
|
|
|
%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
|
|
./autogen.sh
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so.*
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
/usr/bin/*
|
|
/usr/include/*
|
|
/usr/share/aclocal/*.m4
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.la
|
|
|
|
%changelog
|
|
* Tue Jul 01 2008 hvogel@suse.de
|
|
- update to version 4.1.2, switching to version from mplayerhq
|
|
* multiple build system fixes
|
|
* added dvdnav_describe_title_chapters(title) to get title
|
|
and chapters duration
|
|
* added dvdnav_audio_stream_channels() to return number
|
|
of channels
|
|
* fixed dvdnav_time_search() in multi-angle dvds (but it still
|
|
needs improvements)
|
|
* added dvdnav_audio_stream_format() to identify the codec used
|
|
in audio streams
|
|
* starting DVD playback at specific title/part positions with
|
|
dvdnav_{title,part}_play() works again
|
|
* fixed error "Expected NAV packet but none found." occuring
|
|
sometimes on resume from menu
|
|
* Wed Jan 10 2007 hvogel@suse.de
|
|
- fix possible strncat overflow
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Nov 02 2005 hvogel@suse.de
|
|
- add -fno-strict-aliasing to CFLAGS
|
|
* Fri Sep 03 2004 hvogel@suse.de
|
|
- update to version 0.1.10
|
|
* Mon Jan 12 2004 adrian@suse.de
|
|
- fix build
|
|
* Sun Jan 11 2004 adrian@suse.de
|
|
- add %%defattr and %%run_ldconfig
|
|
* Thu Oct 23 2003 stepan@suse.de
|
|
- update to 0.1.9, needed by gnome 2.4
|
|
* Sun Jun 01 2003 ro@suse.de
|
|
- add aclocal file to devel filelist
|
|
* Fri Feb 14 2003 stepan@suse.de
|
|
- update to v0.1.4, needed by vdr-plugins
|
|
* Sun Feb 02 2003 adrian@suse.de
|
|
- fix requires
|
|
* Sun Nov 03 2002 stepan@suse.de
|
|
- include dvdnavconfig (needed by MPlayer et al)
|
|
* Mon Oct 21 2002 stepan@suse.de
|
|
- initial release
|