SHA256
1
0
forked from pool/libdvdnav
OBS User unknown 2008-09-12 19:44:50 +00:00 committed by Git OBS Bridge
parent 6d4f6a5efa
commit 9dc1520aed
5 changed files with 68 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f97c21cff640c62550291e0c65472171bd3af498dd0ba226a4a8b076af37814e
size 157063

3
libdvdnav-4.1.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e82a3d7b3c342a895a332fc0fb2281f40ff9978cb8cbb8bf1343fcad0063759d
size 110843

View File

@ -1,11 +1,11 @@
--- src/dvdread/Makefile.am
+++ src/dvdread/Makefile.am
@@ -2,7 +2,7 @@
--- src/Makefile.am
+++ src/Makefile.am
@@ -5,7 +5,7 @@
includedir = ${prefix}/include/dvdnav
-AM_CPPFLAGS = -DDVDNAV_COMPILE -I$(top_srcdir)/src/vm
+AM_CPPFLAGS = -DDVDNAV_COMPILE -fno-strict-aliasing -I$(top_srcdir)/src/vm
AM_CPPFLAGS = -DDVDNAV_COMPILE $(THREAD_CFLAGS) $(DVDREAD_CFLAGS) \
- -I$(top_srcdir)/src/vm
+ -fno-strict-aliasing -I$(top_srcdir)/src/vm
noinst_LTLIBRARIES = libdvdread.la
EXTRA_DIST = README.MAP FELLOWSHIP.map

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 10 11:06:40 CEST 2008 - hvogel@suse.de
- update to 4.1.3
* fixes regarding potential memory and resource leaks
* added pkg-config support
- branch library subpackage
-------------------------------------------------------------------
Tue Jul 1 13:47:30 CEST 2008 - hvogel@suse.de

View File

@ -1,28 +1,34 @@
#
# spec file for package libdvdnav (Version 4.1.2)
# spec file for package libdvdnav (Version 4.1.3)
#
# 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.
#
# 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
Url: http://dvd.sourceforge.net/
Name: libdvdnav
Summary: A DVD Navigation Library
Url: http://www.mplayerhq.hu/
License: GPL v2 or later
Group: Productivity/Multimedia/Other
AutoReqProv: on
Version: 4.1.2
Version: 4.1.3
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
@ -30,6 +36,25 @@ 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 -n libdvdnav4
License: GPL v2 or later
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.
Authors:
--------
Daniel Caujolle-Bert <segfault@club-internet.fr>
@ -39,9 +64,9 @@ Authors:
%package devel
License: GPL v2 or later
Summary: DVD navigation library
Group: Productivity/Multimedia/Other
Requires: libdvdnav libdvdread-devel
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.
@ -61,39 +86,41 @@ Authors:
%patch1
%build
./autogen.sh
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include
make
autoreconf -f -i
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%post -n libdvdnav4 -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -n libdvdnav4 -p /sbin/ldconfig
%files
%files -n libdvdnav4
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING NEWS README
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
/usr/bin/*
/usr/include/*
/usr/share/aclocal/*.m4
%{_libdir}/*.so
%{_libdir}/*.la
%_libdir/pkgconfig/dvdnav.pc
%_libdir/pkgconfig/dvdnavmini.pc
%changelog
* Wed Sep 10 2008 hvogel@suse.de
- update to 4.1.3
* fixes regarding potential memory and resource leaks
* added pkg-config support
- branch library subpackage
* Tue Jul 01 2008 hvogel@suse.de
- update to version 4.1.2, switching to version from mplayerhq
* multiple build system fixes