michael@0: Summary: Library for reading and writing Quicktime files michael@0: Name: libquicktime michael@0: Version: 1.1.5 michael@0: Release: 3%{?dist} michael@0: License: LGPLv2+ michael@0: Group: System Environment/Libraries michael@0: URL: http://libquicktime.sourceforge.net/ michael@0: Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz michael@0: Patch0: libquicktime-1.1.5-gtk.patch michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@0: michael@0: BuildRequires: libdv-devel michael@0: BuildRequires: libpng-devel libjpeg-devel libGLU-devel michael@0: BuildRequires: libvorbis-devel ffmpeg-devel michael@0: BuildRequires: schroedinger-devel michael@0: BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel michael@0: BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel michael@0: BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12 michael@0: BuildRequires: gtk2-devel >= 2.4.0 michael@0: BuildRequires: schroedinger-devel michael@0: BuildRequires: gettext-devel michael@0: %{?_with_faac:BuildRequires: faac-devel} michael@0: michael@0: %package utils michael@0: Summary: Utilities for working with Quicktime files michael@0: Group: Applications/Multimedia michael@0: michael@0: %package devel michael@0: Summary: Development files for libquicktime michael@0: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %description michael@0: Libquicktime is based on the quicktime4linux library with several michael@0: enhancements. All 3rd-party libraries were removed from the michael@0: sourcetree. Instead, the systemwide installed libraries are detected michael@0: by the configure script. All original codecs were moved into michael@0: dynamically loadable modules, and new codecs are in michael@0: development. Libquicktime is source-compatible with michael@0: quicktime4linux. Special API extensions allow access to the codec michael@0: registry and more convenient processing of Audio and Video michael@0: data. michael@0: michael@0: %description utils michael@0: Libquicktime is based on the quicktime4linux library with several michael@0: enhancements. This package contains utility programs and additional michael@0: tools, like a commandline player and a GTK configuration utility which michael@0: can configure the parameters of all installed codecs. michael@0: michael@0: %description devel michael@0: Libquicktime is based on the quicktime4linux library with several michael@0: enhancements. This package contains development files for %{name}. michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 -p1 -b .gtk michael@0: michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %build michael@0: %configure \ michael@0: --enable-gpl \ michael@0: --disable-rpath \ michael@0: --with-cpuflags="$RPM_OPT_FLAGS" \ michael@0: --disable-dependency-tracking \ michael@0: --without-doxygen \ michael@0: --disable-static \ michael@0: --with-libdv \ michael@0: --enable-libswscale michael@0: michael@0: # remove rpath from libtool michael@0: sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool michael@0: sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool michael@0: michael@0: make %{?_smp_mflags} michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" michael@0: find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \; michael@0: michael@0: michael@0: %find_lang %{name} michael@0: michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %post -p /sbin/ldconfig michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %files -f %{name}.lang michael@0: %defattr(-,root,root,-) michael@0: %doc COPYING README TODO michael@0: %{_libdir}/%{name}*.so.* michael@0: %dir %{_libdir}/%{name} michael@0: %{_libdir}/%{name}/lqt_*.so michael@0: michael@0: %files utils michael@0: %defattr(-,root,root,-) michael@0: %{_bindir}/libquicktime_config michael@0: %{_bindir}/lqt_transcode michael@0: %{_bindir}/lqtplay michael@0: %{_bindir}/qt2text michael@0: %{_bindir}/qtdechunk michael@0: %{_bindir}/qtdump michael@0: %{_bindir}/qtinfo michael@0: %{_bindir}/qtrechunk michael@0: %{_bindir}/qtstreamize michael@0: %{_bindir}/qtyuv4toyuv michael@0: %{_mandir}/man1/lqtplay.1* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@0: %exclude %{_bindir}/lqt-config michael@0: %{_includedir}/lqt/ michael@0: %{_libdir}/pkgconfig/libquicktime.pc michael@0: %{_libdir}/%{name}*.so michael@0: %{_datadir}/aclocal/lqt.m4 michael@0: michael@0: # -------------------------------------------------------------------- michael@0: michael@0: %changelog michael@0: * Mon Nov 1 2010 Kozinov Ivan - 1.1.5-3 michael@0: - Build for MeeGo 1.1 michael@0: michael@0: * Sat Jul 10 2010 Nicolas Chauvet - 1.1.5-2 michael@0: - Add libquicktime-1.1.5-gtk.patch from Dan Horák. michael@0: michael@0: * Sat May 01 2010 Nicolas Chauvet - 1.1.5-1 michael@0: - Update to 1.1.5 michael@0: michael@0: * Mon Jan 25 2010 Nicolas Chauvet - 1.1.4-2 michael@0: - Rebuild michael@0: michael@0: * Sat Jan 16 2010 Nicolas Chauvet - 1.1.4-1 michael@0: - Update to 1.1.4 michael@0: michael@0: * Fri Oct 30 2009 kwizart - 1.1.3-3 michael@0: - Add BR schroedinger-devel michael@0: michael@0: * Tue Oct 27 2009 kwizart - 1.1.3-2 michael@0: - backport patch from Alexis Ballier. michael@0: michael@0: * Thu Oct 15 2009 kwizart - 1.1.3-1 michael@0: - Update to 1.1.3 michael@0: - Conditionalize faac michael@0: michael@0: * Fri Mar 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-2 michael@0: - Rebuild for faad x264 michael@0: michael@0: * Sun Dec 28 2008 kwizart - 1.1.1-1 michael@0: - Update to 1.1.1 michael@0: - Disable lqt-config (Fix RPM Fusion #265 ) michael@0: michael@0: * Thu Dec 4 2008 kwizart - 1.1.0-1 michael@0: - Update to 1.1.0 michael@0: michael@0: * Mon Sep 08 2008 Thorsten Leemhuis - 1.0.3-2 michael@0: - Add BR libdv-devel and --with-dv michael@0: michael@0: * Thu Jul 17 2008 kwizart - 1.0.3-1 michael@0: - Update to 1.0.3 michael@0: michael@0: * Sat Jun 14 2008 kwizart - 1.0.2-3 michael@0: - Enable libswscale michael@0: michael@0: * Thu Feb 28 2008 kwizart - 1.0.2-2 michael@0: - Rebuild for gcc43 and x264 michael@0: michael@0: * Sun Jan 13 2008 kwizart - 1.0.2-1 michael@0: - Update to 1.0.2 (gcc43 compliant) michael@0: michael@0: * Mon Oct 15 2007 kwizart - 1.0.1-1 michael@0: - Update to 1.0.1 michael@0: - Disable libswscale (disabled in ffmpeg). michael@0: michael@0: * Wed Sep 26 2007 kwizart - 1.0.0-2 michael@0: - Fix build for new tooltip with gtk 2.12 michael@0: A better patch may need: michael@0: http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html michael@0: michael@0: * Thu Jul 5 2007 kwizart - 1.0.0-1 michael@0: - Update to 1.0.0 michael@0: - Add BR gettext, libtool michael@0: - re-Run autogen.sh to prevent rpath issues... michael@0: - add patch from freshrpms. michael@0: michael@0: * Fri Jan 5 2007 Ville Skyttä - 0.9.10-4 michael@0: - Drop old ffmpeg (main) package dependency. michael@0: - Improve summary. michael@0: michael@0: * Wed Nov 22 2006 Ville Skyttä - 0.9.10-3 michael@0: - Enable GPL plugins, x264 patch borrowed from freshrpms. michael@0: - Split utilities into -utils subpackage. michael@0: michael@0: * Fri Oct 06 2006 Thorsten Leemhuis 0.9.10-2 michael@0: - rebuilt for unwind info generation, broken in gcc-4.1.1-21 michael@0: michael@0: * Sun Sep 24 2006 Dams - 0.9.10-1 michael@0: - Disabled some standard library paths in rpath with Ville help michael@0: - Explicitly disabling static objects building michael@0: michael@0: * Wed Sep 20 2006 Dams - 0.9.10-1 michael@0: - Updated to 0.9.10 michael@0: michael@0: * Sat Apr 8 2006 Ville Skyttä - 0.9.8-1 michael@0: - 0.9.8. michael@0: michael@0: * Thu Mar 09 2006 Andreas Bierfert michael@0: - switch to new release field michael@0: michael@0: * Tue Feb 28 2006 Andreas Bierfert michael@0: - add dist michael@0: michael@0: * Thu Jan 5 2006 Ville Skyttä - 0.9.7-0.lvn.9 michael@0: - Rebuild against new ffmpeg. michael@0: - Drop no longer needed modular X build dep workarounds. michael@0: michael@0: * Thu Dec 22 2005 Ville Skyttä - 0.9.7-0.lvn.8 michael@0: - Adapt to modular X11. michael@0: - Drop unneeded GTK1 build dependencies, BuildRequire fixed libdv-devel. michael@0: - Drop zero Epochs. michael@0: michael@0: * Fri Aug 19 2005 Dams - 0:0.9.7-0.lvn.7 michael@0: - More clean-up for obsolete pre-FC2 support michael@0: michael@0: * Tue Aug 16 2005 Ville Skyttä - 0:0.9.7-0.lvn.6 michael@0: - Quick hack to fix libavcodec detection with newer (>= 20050731) ffmpegs. michael@0: - Don't ship static libs. michael@0: michael@0: * Mon Jul 4 2005 Ville Skyttä - 0:0.9.7-0.lvn.5 michael@0: - Clean up obsolete pre-FC2 support. michael@0: michael@0: * Thu Jun 16 2005 Dams - 0:0.9.7-0.lvn.4 michael@0: - .... and gtk+-devel. michael@0: michael@0: * Thu Jun 16 2005 Dams - 0:0.9.7-0.lvn.3 michael@0: - libdv-devel needs glib-devel (fedora core bug....) michael@0: michael@0: * Mon Jun 13 2005 Dams - 0:0.9.7-0.lvn.2 michael@0: - Updated tarball michael@0: michael@0: * Thu May 26 2005 Ville Skyttä - 0:0.9.7-0.lvn.1 michael@0: - 0.9.7, MMX builds with gcc4 again. michael@0: michael@0: * Sat May 21 2005 Ville Skyttä - 0:0.9.6-0.lvn.1 michael@0: - 0.9.6, aclocal18 patch applied upstream. michael@0: - Patch to compile with gcc4 (MMX build is borked though, build --without mmx). michael@0: - Use "make install DESTDIR=..." to avoid nasty rpaths. michael@0: michael@0: * Thu Sep 2 2004 Ville Skyttä - 0:0.9.3-0.lvn.2 michael@0: - Make dv support conditional (default on), add minimum required libdv version. michael@0: - Make firewire support conditional again (only if dv support is available). michael@0: - Disable dependency tracking to speed up the build. michael@0: - Fix aclocal >= 1.8 warnings from lqt.m4. michael@0: - BuildRequire %%{_libdir}/libGLU.so.1. michael@0: michael@0: * Mon Aug 30 2004 Ville Skyttä - 0:0.9.3-0.lvn.1 michael@0: - Update to 0.9.3. michael@0: - Enable ffmpeg plugin. michael@0: - Make firewire support unconditional. michael@0: - Fix 64bit libdir. michael@0: - Fix -devel dependencies. michael@0: - Update list of archs with MMX. michael@0: - Clean up list of docs. michael@0: michael@0: * Tue Apr 6 2004 Dams 0:0.9.2-0.lvn.2 michael@0: - BuildConflicts libraw1394 0.10.0 to prevent surprises. michael@0: michael@0: * Tue Apr 6 2004 Dams 0:0.9.2-0.lvn.1 michael@0: - Conditionnal firewire stuff rewriten michael@0: michael@0: * Wed Mar 10 2004 Dams 0:0.9.2-0.fdr.1 michael@0: - Updated to final 0.9.2 release michael@0: - firewire now default enabled michael@0: michael@0: * Sun Sep 28 2003 Dams 0:0.9.2-0.fdr.0.7.pre1 michael@0: - Removed comment after scriptlets michael@0: michael@0: * Sat Aug 16 2003 Dams 0:0.9.2-0.fdr.0.6.pre1 michael@0: - Without firewire BuildConflicts with libdv/libavc1394/libraw1394-devel michael@0: michael@0: * Mon Jul 14 2003 Dams 0:0.9.2-0.fdr.0.5.pre1 michael@0: - Added missing deps for ffmpeg-devel michael@0: - Added build option "with firewire" (disabled by default) michael@0: michael@0: * Wed Jul 9 2003 Dams 0:0.9.2-0.fdr.0.4.pre1 michael@0: - Added missing unowned directory michael@0: - Removed URL in Source0 michael@0: - buildroot -> RPM_BUILD_ROOT michael@0: - athlon is mmx compliant too michael@0: - Now include all *.so/*.so.*/.a in libdir (bug #451) michael@0: michael@0: * Wed Apr 23 2003 Dams 0:0.9.2-0.fdr.0.3.pre1 michael@0: - Typo in group tag michael@0: michael@0: * Mon Apr 21 2003 Dams 0:0.9.2-0.fdr.0.2.pre1 michael@0: - Major fix from from Diag (plugins are now in the package). michael@0: michael@0: * Wed Apr 16 2003 Dams michael@0: - Initial build.