1.1 --- a/libquicktime/libquicktime.spec Fri Mar 11 21:30:26 2011 +0100 1.2 +++ b/libquicktime/libquicktime.spec Fri Mar 11 21:36:51 2011 +0100 1.3 @@ -1,36 +1,40 @@ 1.4 -Summary: Library for reading and writing Quicktime files 1.5 -Name: libquicktime 1.6 -Version: 1.1.5 1.7 -Release: 3%{?dist} 1.8 -License: LGPLv2+ 1.9 -Group: System Environment/Libraries 1.10 -URL: http://libquicktime.sourceforge.net/ 1.11 -Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz 1.12 -Patch0: libquicktime-1.1.5-gtk.patch 1.13 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.14 - 1.15 -BuildRequires: libdv-devel 1.16 -BuildRequires: libpng-devel libjpeg-devel libGLU-devel 1.17 -BuildRequires: libvorbis-devel ffmpeg-devel 1.18 -BuildRequires: schroedinger-devel 1.19 -BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel 1.20 -BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel 1.21 -BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12 1.22 -BuildRequires: gtk2-devel >= 2.4.0 1.23 -BuildRequires: schroedinger-devel 1.24 -BuildRequires: gettext-devel 1.25 +Name: libquicktime 1.26 +Summary: Library for reading and writing Quicktime files 1.27 +Vendor: Europalab Software 1.28 +Packager: Michael Schloh von Bennewitz 1.29 +Distribution: MeeGo Thirdparty 1.30 +Version: 1.2.1 1.31 +Release: 20101201 1.32 +License: LGPLv2+ 1.33 +Group: System Environment/Libraries 1.34 +URL: http://libquicktime.sourceforge.net/ 1.35 +Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz 1.36 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.37 +BuildRequires: libdv-devel 1.38 +BuildRequires: libpng-devel libjpeg-devel libGLU-devel 1.39 +BuildRequires: libvorbis-devel ffmpeg-devel 1.40 +BuildRequires: schroedinger-devel 1.41 +BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel 1.42 +BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel 1.43 +BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12 1.44 +BuildRequires: schroedinger-devel 1.45 +BuildRequires: gettext-devel 1.46 %{?_with_faac:BuildRequires: faac-devel} 1.47 1.48 %package utils 1.49 -Summary: Utilities for working with Quicktime files 1.50 -Group: Applications/Multimedia 1.51 +Summary: Utilities for working with Quicktime files 1.52 +Vendor: Europalab Software 1.53 +Packager: Michael Schloh von Bennewitz 1.54 +Distribution: MeeGo Thirdparty 1.55 +Group: Applications/Multimedia 1.56 1.57 %package devel 1.58 -Summary: Development files for libquicktime 1.59 -Group: Development/Libraries 1.60 -Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig 1.61 - 1.62 -# -------------------------------------------------------------------- 1.63 +Summary: Development files for libquicktime 1.64 +Vendor: Europalab Software 1.65 +Packager: Michael Schloh von Bennewitz 1.66 +Distribution: MeeGo Thirdparty 1.67 +Group: Development/Libraries 1.68 +Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig 1.69 1.70 %description 1.71 Libquicktime is based on the quicktime4linux library with several 1.72 @@ -41,37 +45,31 @@ 1.73 development. Libquicktime is source-compatible with 1.74 quicktime4linux. Special API extensions allow access to the codec 1.75 registry and more convenient processing of Audio and Video 1.76 -data. 1.77 +data. 1.78 1.79 %description utils 1.80 Libquicktime is based on the quicktime4linux library with several 1.81 enhancements. This package contains utility programs and additional 1.82 -tools, like a commandline player and a GTK configuration utility which 1.83 -can configure the parameters of all installed codecs. 1.84 +tools, like a commandline player which can configure the parameters 1.85 +of all installed codecs. 1.86 1.87 %description devel 1.88 Libquicktime is based on the quicktime4linux library with several 1.89 enhancements. This package contains development files for %{name}. 1.90 1.91 -# -------------------------------------------------------------------- 1.92 - 1.93 %prep 1.94 %setup -q 1.95 -%patch0 -p1 -b .gtk 1.96 - 1.97 - 1.98 -# -------------------------------------------------------------------- 1.99 1.100 %build 1.101 %configure \ 1.102 - --enable-gpl \ 1.103 - --disable-rpath \ 1.104 - --with-cpuflags="$RPM_OPT_FLAGS" \ 1.105 - --disable-dependency-tracking \ 1.106 - --without-doxygen \ 1.107 - --disable-static \ 1.108 - --with-libdv \ 1.109 - --enable-libswscale 1.110 + --enable-gpl \ 1.111 + --disable-rpath \ 1.112 + --with-cpuflags="$RPM_OPT_FLAGS" \ 1.113 + --disable-dependency-tracking \ 1.114 + --without-doxygen \ 1.115 + --disable-static \ 1.116 + --with-libdv \ 1.117 + --enable-libswscale 1.118 1.119 # remove rpath from libtool 1.120 sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 1.121 @@ -79,24 +77,16 @@ 1.122 1.123 make %{?_smp_mflags} 1.124 1.125 -# -------------------------------------------------------------------- 1.126 - 1.127 %install 1.128 rm -rf $RPM_BUILD_ROOT 1.129 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" 1.130 find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \; 1.131 1.132 - 1.133 %find_lang %{name} 1.134 1.135 - 1.136 -# -------------------------------------------------------------------- 1.137 - 1.138 %clean 1.139 rm -rf $RPM_BUILD_ROOT 1.140 1.141 -# -------------------------------------------------------------------- 1.142 - 1.143 %post -p /sbin/ldconfig 1.144 %postun -p /sbin/ldconfig 1.145 1.146 @@ -129,11 +119,13 @@ 1.147 %{_libdir}/%{name}*.so 1.148 %{_datadir}/aclocal/lqt.m4 1.149 1.150 -# -------------------------------------------------------------------- 1.151 +%changelog 1.152 +* Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.2.1-20101201 1.153 +- Synchronize with upstream vendor version 1.2.1 1.154 +- Adjust packaging and patch logic 1.155 1.156 -%changelog 1.157 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.1.5-3 1.158 -- Build for MeeGo 1.1 1.159 +- Package for MeeGo 1.1 1.160 1.161 * Sat Jul 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.5-2 1.162 - Add libquicktime-1.1.5-gtk.patch from Dan HorĂ¡k. 1.163 @@ -194,7 +186,7 @@ 1.164 1.165 * Wed Sep 26 2007 kwizart <kwizart at gmail.com> - 1.0.0-2 1.166 - Fix build for new tooltip with gtk 2.12 1.167 - A better patch may need: 1.168 + A better patch may need: 1.169 http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html 1.170 1.171 * Thu Jul 5 2007 kwizart <kwizart at gmail.com> - 1.0.0-1 1.172 @@ -303,10 +295,10 @@ 1.173 - Added build option "with firewire" (disabled by default) 1.174 1.175 * Wed Jul 9 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.4.pre1 1.176 -- Added missing unowned directory 1.177 +- Added missing unowned directory 1.178 - Removed URL in Source0 1.179 - buildroot -> RPM_BUILD_ROOT 1.180 -- athlon is mmx compliant too 1.181 +- athlon is mmx compliant too 1.182 - Now include all *.so/*.so.*/.a in libdir (bug #451) 1.183 1.184 * Wed Apr 23 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.3.pre1 1.185 @@ -315,5 +307,5 @@ 1.186 * Mon Apr 21 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.2.pre1 1.187 - Major fix from from Diag (plugins are now in the package). 1.188 1.189 -* Wed Apr 16 2003 Dams <anvil[AT]livna.org> 1.190 -- Initial build. 1.191 +* Wed Apr 16 2003 Dams <anvil[AT]livna.org> 1.192 +- Initial build.