diff -r 4f133201e207 -r 4667f24fe848 libquicktime/libquicktime.spec --- a/libquicktime/libquicktime.spec Fri Mar 11 21:30:26 2011 +0100 +++ b/libquicktime/libquicktime.spec Fri Mar 11 21:36:51 2011 +0100 @@ -1,36 +1,40 @@ -Summary: Library for reading and writing Quicktime files -Name: libquicktime -Version: 1.1.5 -Release: 3%{?dist} -License: LGPLv2+ -Group: System Environment/Libraries -URL: http://libquicktime.sourceforge.net/ -Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz -Patch0: libquicktime-1.1.5-gtk.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: libdv-devel -BuildRequires: libpng-devel libjpeg-devel libGLU-devel -BuildRequires: libvorbis-devel ffmpeg-devel -BuildRequires: schroedinger-devel -BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel -BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel -BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12 -BuildRequires: gtk2-devel >= 2.4.0 -BuildRequires: schroedinger-devel -BuildRequires: gettext-devel +Name: libquicktime +Summary: Library for reading and writing Quicktime files +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty +Version: 1.2.1 +Release: 20101201 +License: LGPLv2+ +Group: System Environment/Libraries +URL: http://libquicktime.sourceforge.net/ +Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libdv-devel +BuildRequires: libpng-devel libjpeg-devel libGLU-devel +BuildRequires: libvorbis-devel ffmpeg-devel +BuildRequires: schroedinger-devel +BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel +BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel +BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12 +BuildRequires: schroedinger-devel +BuildRequires: gettext-devel %{?_with_faac:BuildRequires: faac-devel} %package utils -Summary: Utilities for working with Quicktime files -Group: Applications/Multimedia +Summary: Utilities for working with Quicktime files +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty +Group: Applications/Multimedia %package devel -Summary: Development files for libquicktime -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig - -# -------------------------------------------------------------------- +Summary: Development files for libquicktime +Vendor: Europalab Software +Packager: Michael Schloh von Bennewitz +Distribution: MeeGo Thirdparty +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig %description Libquicktime is based on the quicktime4linux library with several @@ -41,37 +45,31 @@ development. Libquicktime is source-compatible with quicktime4linux. Special API extensions allow access to the codec registry and more convenient processing of Audio and Video -data. +data. %description utils Libquicktime is based on the quicktime4linux library with several enhancements. This package contains utility programs and additional -tools, like a commandline player and a GTK configuration utility which -can configure the parameters of all installed codecs. +tools, like a commandline player which can configure the parameters +of all installed codecs. %description devel Libquicktime is based on the quicktime4linux library with several enhancements. This package contains development files for %{name}. -# -------------------------------------------------------------------- - %prep %setup -q -%patch0 -p1 -b .gtk - - -# -------------------------------------------------------------------- %build %configure \ - --enable-gpl \ - --disable-rpath \ - --with-cpuflags="$RPM_OPT_FLAGS" \ - --disable-dependency-tracking \ - --without-doxygen \ - --disable-static \ - --with-libdv \ - --enable-libswscale + --enable-gpl \ + --disable-rpath \ + --with-cpuflags="$RPM_OPT_FLAGS" \ + --disable-dependency-tracking \ + --without-doxygen \ + --disable-static \ + --with-libdv \ + --enable-libswscale # remove rpath from libtool sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -79,24 +77,16 @@ make %{?_smp_mflags} -# -------------------------------------------------------------------- - %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \; - %find_lang %{name} - -# -------------------------------------------------------------------- - %clean rm -rf $RPM_BUILD_ROOT -# -------------------------------------------------------------------- - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -129,11 +119,13 @@ %{_libdir}/%{name}*.so %{_datadir}/aclocal/lqt.m4 -# -------------------------------------------------------------------- +%changelog +* Wed Dec 1 2010 Michael Schloh von Bennewitz - 1.2.1-20101201 +- Synchronize with upstream vendor version 1.2.1 +- Adjust packaging and patch logic -%changelog * Mon Nov 1 2010 Kozinov Ivan - 1.1.5-3 -- Build for MeeGo 1.1 +- Package for MeeGo 1.1 * Sat Jul 10 2010 Nicolas Chauvet - 1.1.5-2 - Add libquicktime-1.1.5-gtk.patch from Dan HorĂ¡k. @@ -194,7 +186,7 @@ * Wed Sep 26 2007 kwizart - 1.0.0-2 - Fix build for new tooltip with gtk 2.12 - A better patch may need: + A better patch may need: http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html * Thu Jul 5 2007 kwizart - 1.0.0-1 @@ -303,10 +295,10 @@ - Added build option "with firewire" (disabled by default) * Wed Jul 9 2003 Dams 0:0.9.2-0.fdr.0.4.pre1 -- Added missing unowned directory +- Added missing unowned directory - Removed URL in Source0 - buildroot -> RPM_BUILD_ROOT -- athlon is mmx compliant too +- athlon is mmx compliant too - Now include all *.so/*.so.*/.a in libdir (bug #451) * Wed Apr 23 2003 Dams 0:0.9.2-0.fdr.0.3.pre1 @@ -315,5 +307,5 @@ * Mon Apr 21 2003 Dams 0:0.9.2-0.fdr.0.2.pre1 - Major fix from from Diag (plugins are now in the package). -* Wed Apr 16 2003 Dams -- Initial build. +* Wed Apr 16 2003 Dams +- Initial build.