# # spec file for package libquicktime (Version 1.1.2) # # Copyright (c) 2009 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/ # # norootforbuild Name: libquicktime BuildRequires: alsa-devel BuildRequires: doxygen BuildRequires: gtk2-devel BuildRequires: libavc1394-devel BuildRequires: libdv-devel BuildRequires: libjpeg-devel BuildRequires: libvorbis-devel BuildRequires: dirac-devel BuildRequires: sed BuildRequires: fdupes %define DISTRIBUTABLE 1 License: LGPL v2.1 or later Group: Development/Languages/C and C++ AutoReqProv: on Version: 1.1.2 Release: 1 Url: http://libquicktime.sf.net Source0: %{name}-%{version}.tar.bz2 Patch1: %{name}-1.0.3-dont_disable_deprecated.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Library for Reading and Writing Quicktime Movie Files Provides: quicktime4linux Obsoletes: quicktime4linux %description A library for reading and writing Quicktime movie files, based on and forked from quicktime4linux. %package devel License: GPL v2 or later Summary: Library for reading/writing quicktime movie files Group: Development/Libraries/Other Provides: quicktime4linux-devel Obsoletes: quicktime4linux-devel Requires: %{name} = %{version} Requires: glibc-devel, zlib-devel, libavc1394-devel, libdv-devel %description devel library for reading/writing quicktime movie files, based on and forked from quicktime4linux %prep %setup -q # fix brokem links in API docs sed -r 's/"(building|codecs|index|license|opening|positioning|reading|util|writing).html/"qt4l_&/' -i `find doc -type f` %patch1 -p1 %build autoreconf -f -i -v %configure --with-pic \ --docdir=%{_defaultdocdir}/%{name}-devel \ --htmldir=%{_defaultdocdir}/%{name}-devel/html \ --enable-gpl \ %if %DISTRIBUTABLE --without-faac \ --without-faad2 \ --without-ffmpeg \ --without-lame \ --without-x264 \ %endif --disable-static %{__make} %{?jobs:-j%jobs} %install make DESTDIR="%{buildroot}" install ln -s lqt %{buildroot}/usr/include/quicktime %find_lang %{name} find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %fdupes "%{buildroot}" %clean rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root) %{_bindir}/* %exclude %{_bindir}/lqt-config %{_libdir}/lib*.so.* %dir %{_libdir}/libquicktime %{_libdir}/libquicktime/lqt_*.so %{_mandir}/man1/* %doc ChangeLog COPYING %files devel %defattr(-, root, root) %{_bindir}/lqt-config %dir %{_includedir}/lqt %{_includedir}/lqt/*.h %{_includedir}/quicktime %{_libdir}/lib*.so %{_libdir}/pkgconfig/libquicktime.pc %{_datadir}/aclocal/lqt.m4 %doc %{_defaultdocdir}/%{name}-devel %changelog * Thu Jun 18 2009 puzel@novell.com - update to libquicktime-1.1.2 - dirac video en-/decoding - several fixes - add dirac-devel to BR * Fri Mar 06 2009 puzel@suse.cz - update to libquicktime-1.1.1 * read/write support for timecode tracks * support for newer versions of ffmpeg and x264 * several bugfixes and cleanups - fix some rpmlint warnings * Thu Jan 22 2009 crrodriguez@suse.de - remove "la" files * Thu Jul 17 2008 puzel@suse.cz - specfile fixes * use configure macro * fix htmldir location * use %%fdupes only on suse > 10.2 * Tue Jul 15 2008 puzel@suse.cz - update to 1.0.3 * dnxhd decoding support * double precision audio I/O * bugfixes - add doxygen to BuildRequires - license changed to LGPL v2 or later - use RPM_OPT_FLAGS - minor .spec fixes * Tue Apr 15 2008 pcerny@suse.cz - update to 1.0.2 * removing libquicktime-1.0.0-arrayoverflow.patch (merged in upstream) * Fri Jul 27 2007 maw@suse.de - Add dont-disable-deprecated.patch - Use %%fdupes. * Sat May 12 2007 olh@suse.de - remove unneded Requires libraw1394-devel * Wed May 09 2007 pcerny@suse.cz - minor .spec file changes (%%suse_update_config) * Fri May 04 2007 pcerny@suse.cz - update to 1.0.0 which is considered final wrt functionality - .spec file cleanup - fixed #218037 * Tue Oct 10 2006 pnemec@suse.cz - updated to 0.9.10 Read/Write support for: DVCPRO50 video, OpenDML AVIs, mp4/m4a files and Quicktime 7 lpcm audio H.264 encoding using x264. Improved compatibility with players: Quicktime 7, WMP, Divx player see http://libquicktime.sourceforge.net/ for detailed changelog - minor changes in patch -mjpeg_def_huffman.diff and legal.diff * Fri Feb 10 2006 bk@suse.de - fix optimisation (used P4 insns!) and force using RPM_OPT_FLAGS - fix firewire support (libdv-devel was splitted from libdv) - remove the forced backout of MMX instructions (obsolete) - don't include unused libquicktime-cflags.diff * Sat Feb 04 2006 aj@suse.de - Reduce BuildRequires. * Sun Jan 29 2006 aj@suse.de - Fix BuildRequires. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Sep 15 2005 jw@suse.de - added support for mjpeg files without huffman tables. * Fri Jul 29 2005 kraxel@suse.de - fix -devel package dependencies. * Fri Jul 29 2005 kraxel@suse.de - add backward compatibility symlink to the new include file location. * Thu Jul 28 2005 kraxel@suse.de - update to 0.9.7. * Mon Apr 18 2005 ro@suse.de - make it build with gcc-4 * Thu Jan 13 2005 kraxel@suse.de - update to 0.9.4. * Tue Aug 17 2004 kraxel@suse.de - update to 0.9.3. * Thu Apr 22 2004 kraxel@suse.de - fix compiler warnings. * Wed Feb 11 2004 kraxel@suse.de - update to version 0.9.2. * Sat Jan 10 2004 adrian@suse.de - add %%run_dconfig - -devel package requires glibc-devel now * Fri Jul 25 2003 kraxel@suse.de - more cflags fixes, also builds on ppc now ... * Wed Jul 23 2003 kraxel@suse.de - play with cflags to make thing build on all archs. * Mon Jun 16 2003 kukuk@suse.de - More filelist fixes * Thu Jun 12 2003 kukuk@suse.de - Add missing directory to filelist - *.la file should be mode 644 * Fri May 16 2003 ro@suse.de - fix build with current libtool * Mon Aug 12 2002 kraxel@suse.de - fixed Requires: for the -devel package. * Wed Jul 31 2002 kraxel@suse.de - fixed plugin path lookup for lib64. * Fri Jul 26 2002 adrian@suse.de - fix neededforbuild * Mon Jul 15 2002 kraxel@suse.de - fixed permission issues with fix-libtool script. * Wed Jul 10 2002 uli@suse.de - forgot to re-enable %%clean section * Wed Jul 10 2002 uli@suse.de - replace "SDL SDL-devel" with "SDL-devel-packages" in neededforbuild (fixes libdv detection) - fixed MMX detection, then disabled it :) (no runtime detection) - added DISTRIBUTABLE flag to facilitate full-featured rebuild * Thu Jun 27 2002 kraxel@suse.de - fixed neededforbuild. * Mon Jun 24 2002 kraxel@suse.de - updated to version 0.9.1 * Mon Jun 24 2002 ro@suse.de - run full autoreconf to also get shared lib on x86_64 * Fri Jun 21 2002 ro@suse.de - run libtoolize to build also on archs that are younger than a decade * Thu Jun 20 2002 kraxel@suse.de - fixed build problems by using $RPM_OPT_FLAGS - disabled divx codec (divx/mpeg4 is patent minefield, sorry folks ...). * Mon Jun 17 2002 kraxel@suse.de - initial release.