libdvdnav/libdvdnav.spec

122 lines
2.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libdvdnav (Version 0.1.10)
#
# Copyright (c) 2007 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
Name: libdvdnav
BuildRequires: libdvdread-devel
URL: http://dvd.sourceforge.net/
License: GNU General Public License (GPL)
Group: Productivity/Multimedia/Other
Autoreqprov: on
Version: 0.1.10
Release: 35
Source0: %name-%version.tar.bz2
Patch: %name.diff
Patch1: libdvdnav-strict-aliasing.patch
Patch2: libdvdnav-strncat_overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A DVD Navigation Library
%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
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
%patch2
%build
%{?suse_update_config:%{suse_update_config -f }}
autoreconf --force --install
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 -n libdvdnav
* 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
* Sat Nov 02 2002 - stepan@suse.de
- include dvdnavconfig (needed by MPlayer et al)
* Mon Oct 21 2002 - stepan@suse.de
- initial release