File libdv.spec of Package libdv
#
# spec file for package libdv (Version 1.0.0)
#
# 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
Name: libdv
BuildRequires: SDL-devel gtk1-compat-devel libstdc++-devel popt-devel
Url: http://libdv.sourceforge.net/
License: GPL v2 or later
Group: Development/Libraries/Other
AutoReqProv: on
Version: 1.0.0
Release: 79
Summary: The Quasar DV Codec
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch2: libdv.omit-excessive-warnings.patch
Patch3: libdv.non_x86-reorder_block.patch
Patch4: libdv-filesizecheck.patch
%description
The Quasar DV codec (libdv) is a software codec for DV video, the
encoding format used by most digital camcorders, typically those that
support the IEEE 1394 (FireWire or i.Link) interface. Libdv was
developed according to the official standards for DV video: IEC 61834
and SMPTE 314M.
There are two sample applications included with libdv: playdv and
encode.
Authors:
--------
Erik Walthinsen <omega@cse.ogi.edu>
Charles 'Buck' Krasic <krasic@acm.org>
%package -n libdv4
License: GPL v2 or later
Group: Development/Libraries/Other
Summary: The Quasar DV Codec
%description -n libdv4
The Quasar DV codec (libdv) is a software codec for DV video, the
encoding format used by most digital camcorders, typically those that
support the IEEE 1394 (FireWire or i.Link) interface. Libdv was
developed according to the official standards for DV video: IEC 61834
and SMPTE 314M.
There are two sample applications included with libdv: playdv and
encode.
Authors:
--------
Erik Walthinsen <omega@cse.ogi.edu>
Charles 'Buck' Krasic <krasic@acm.org>
%package devel
License: GPL v2 or later
Group: Development/Libraries/Other
Summary: The Quasar DV codec
Requires: libdv4 = %{version}
Requires: glibc-devel
%description devel
The Quasar DV codec (libdv) is a software codec for DV video, the
encoding format used by most digital camcorders, typically those that
support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. Libdv was
developed according to the official standards for DV video: IEC 61834
and SMPTE 314M.
There are two sample applications included with libdv: playdv and
encode.
Authors:
--------
Erik Walthinsen <omega@cse.ogi.edu>
Charles 'Buck' Krasic <krasic@acm.org>
%prep
%setup -q
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
autoreconf -fi
CFLAGS="${RPM_OPT_FLAGS/O2/O3} -fomit-frame-pointer" \
./configure \
--prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--enable-sdl
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libdv4 -p /sbin/ldconfig
%postun -n libdv4 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%doc %{_mandir}/man1/*.1.gz
%files -n libdv4
%defattr(-,root,root)
%{_libdir}/libdv.so.*
%files devel
%defattr(-,root,root)
/usr/include/libdv
%{_libdir}/libdv.a
%{_libdir}/libdv.so
%{_libdir}/libdv.la
%{_libdir}/pkgconfig/libdv.pc
%changelog
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Mon Aug 06 2007 olh@suse.de
- update to version 1.0.0
split libdv4 package which contains only libraries
remove unused update-desktop-files
build parallel
* Wed Sep 20 2006 anosek@suse.cz
- fixed compiler warnings [#136823] (warnings.patch)
* Tue Mar 21 2006 bk@suse.de
- Fix playdv abort with Bus Error on empty file (#157631)
* Thu Mar 09 2006 bk@suse.de
- Fix reorder_block() on non-x86 (Brent Casavant, SGI) (#155889),
restores the older, known good non-x86 loop (no change on x86*)
* Mon Feb 13 2006 bk@suse.de
- make use of MMX and x86 optimsations on x86_64, fixes playback
of video, 90%% of video frames are dropped without them (~3fps)
- fix memory leak in DV encoder and fix segfault in dvplay
- omit massive printout of warnings which cause interrupted play
- do not require execution stack in assember functions
* Sun Jan 29 2006 aj@suse.de
- Fix BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 26 2005 rguenther@suse.de
- put some meaningful constraints on the asms in mmx.h to
allow compiling with gcc 4.1 on i386.
* Fri Oct 21 2005 kraxel@suse.de
- splitted away -devel package.
* Mon Sep 26 2005 sbrabec@suse.cz
- Force gtk2 using gtk1-compat-devel.
* Mon Jan 24 2005 kraxel@suse.de
- update to version 0.104
* Fri Aug 20 2004 kraxel@suse.de
- update to version 0.103
* Tue Apr 20 2004 sf@suse.de
- update to version 0.102
* Wed Feb 11 2004 kraxel@suse.de
- update to version 0.101.
- file list updates.
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Mon May 26 2003 kraxel@suse.de
- added dvconnect to the file list.
* Thu May 22 2003 coolo@suse.de
- use BuildRoot (dvconnect removed to build on beta)
* Tue Jan 14 2003 kraxel@suse.de
- updated to version 0.99
* Thu Aug 01 2002 uli@suse.de
- update -> 0.98
* Fri Jul 05 2002 kukuk@suse.de
- Use %%ix86 macro
* Wed May 15 2002 ro@suse.de
- fix location for pkgconfig file in filelist
* Mon Apr 22 2002 uli@suse.de
- update -> 0.9.5 (bugfixes, enhancements, overhaul of encoder api
options relating to YUV mismatches, fixes annoying mmx init bug)
* Tue Apr 09 2002 uli@suse.de
- replaced cpuid mmx detection method with parsing of /proc/cpuinfo
(should be segfault-proof...)
- enabled SDL support
* Tue Apr 02 2002 ray@suse.de
- force MMX-support on ix86 platform
* Tue Jan 22 2002 uli@suse.de
- initial package