libdvdread/libdvdread.spec
Ismail Dönmez 06686c4786 Accepting request 95294 from home:pbleser:branches:multimedia:libs
- update to 4.2.0:
  * fixed ARM memory alignment issue
  * added a missing DVDFileStat function
  * exposed the dvd_stat_t struct in header
  * fixed libdvdread closing stdin if it can't open the file/device
  * fixed a segfault in UDFFileEntry on some badly mastered DVDs
  * fixed big-endian builds
  * provide BUP file support for more issues
  * move UDFReadBlocksRaw declaration to dvdread_internal.h
  * fixed double free of parental management information
  * fixed crash when PTT is too short
  * fixed segfault when reading certain DVDs, for example "Thor"

OBS-URL: https://build.opensuse.org/request/show/95294
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdread?expand=0&rev=10
2011-12-04 18:04:20 +00:00

94 lines
2.6 KiB
RPMSpec

#
# spec file for package libdvdread
#
# 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/
#
Name: libdvdread
Summary: Library for Reading DVD Video Images
Url: http://www.mplayerhq.hu/
License: GPLv2+
Group: Productivity/Multimedia/Other
Version: 4.2.0
Release: 0
Source0: http://dvdnav.mplayerhq.hu/releases/libdvdread-%{version}.tar.bz2
Source1: baselibs.conf
Patch1: libdvdread-strict-aliasing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
BuildRequires: libtool
%description
This package contains shared libraries for accessing DVD images (this
package does not contain DeCSS algorithms).
%package -n libdvdread4
License: GPLv2+
Summary: Library for Reading DVD Video Images
Group: Productivity/Multimedia/Other
Provides: %{name} = %{version}
Obsoletes: %{name} <= 0.9.7
%description -n libdvdread4
This package contains shared libraries for accessing DVD images (this
package does not contain DeCSS algorithms).
%package devel
License: GPLv2+
Summary: Development Environment for libdvdread
Group: Development/Libraries/C and C++
Requires: libdvdread4 = %{version} glibc-devel
%description devel
This package contains the include-files and static libraries for
libdvdread.
%prep
%setup -q
%patch1
%build
autoreconf -f -i -v
%configure --disable-static --with-pic
%__make %{?_smp_mflags}
%install
%makeinstall
%__rm -f %{buildroot}%{_libdir}/*.la
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%post -n libdvdread4 -p /sbin/ldconfig
%postun -n libdvdread4 -p /sbin/ldconfig
%files -n libdvdread4
%defattr(-,root,root)
%{_libdir}/libdvdread.so.4
%{_libdir}/libdvdread.so.4.*
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_includedir}/dvdread
%{_libdir}/libdvdread.so
%{_bindir}/dvdread-config
%{_libdir}/pkgconfig/dvdread.pc
%{_datadir}/aclocal/dvdread.m4
%changelog