libdvdread/libdvdread.spec

127 lines
3.2 KiB
RPMSpec

#
# spec file for package libdvdread (Version 0.9.6)
#
# Copyright (c) 2006 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: libdvdread
URL: http://www.dtek.chalmers.se/groups/dvd/
License: GPL
Group: Productivity/Multimedia/Other
Autoreqprov: on
Version: 0.9.6
Release: 2
Source0: http://www.dtek.chalmers.se/~dvd/libdvdread-%{version}.tar.bz2
Patch0: libdvdread-%{version}-gcc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A Library for Reading DVD Video Images
%description
This package contains shared libraries for accessing DVD images (this
package does not contain DeCSS algorithms).
Authors:
--------
Björn Englund <d4bjorn@dtek.chalmers.se>
Håkan Hjort <d95hjort@dtek.chalmers.se>
Billy Biggs <vektor@dumbterm.net>
Christian Wolff <scarabaeus@convergence.de>
%package devel
Summary: development environment for libdvdread
Group: Development/Libraries/C and C++
Requires: libdvdread
%description devel
This package contains the include-files and static libraries for
libdvdread
Authors:
--------
Björn Englund <d4bjorn@dtek.chalmers.se>
Håkan Hjort <d95hjort@dtek.chalmers.se>
Billy Biggs <vektor@dumbterm.net>
Christian Wolff <scarabaeus@convergence.de>
%prep
%setup
%patch
%build
%{?suse_update_config:%{suse_update_config -f }}
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./configure --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 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING NEWS README
%files devel
%defattr(-,root,root)
/usr/include/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la
%changelog -n libdvdread
* Mon Jun 12 2006 - kukuk@suse.de
- Cleanup superfluous BuildRequires
* Mon May 15 2006 - stark@suse.de
- update to 0.9.6
* Various bug fixes
* Potential memory leak fixes
* Better error handling
* Some support for multithreaded apps
* Added DVDFileStat() call
* Fixed a missing attribute packed for app_info in audio_attr_t
* Fri Dec 16 2005 - stark@suse.de
- adjusted ldconfig invocation
* Tue Oct 04 2005 - stark@suse.de
- build with -fno-strict-aliasing
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr and %%run_ldconfig
* Mon Mar 24 2003 - stark@suse.de
- update to 0.9.4
* Thu Jan 16 2003 - nadvornik@suse.cz
- fixed to compile with new gcc
* Fri Aug 09 2002 - stark@suse.de
- added Requires to -devel package
* Wed Jun 12 2002 - ro@suse.de
- use autoreconf (fixes build on ppc64)
* Tue May 28 2002 - stark@suse.de
- update to 0.9.3
* Wed Feb 13 2002 - stark@suse.de
- used %%{_libdir}
* Mon Jan 14 2002 - stark@suse.de
- bzip2 sources
- fixed dlopen() to work with newer versions
* Mon Jan 07 2002 - schwab@suse.de
- Fix warning.
* Wed Jan 02 2002 - stark@suse.de
- initial package 0.9.2