libquicktime/libquicktime.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

     1 Summary: 	Library for reading and writing Quicktime files
     2 Name: 		libquicktime
     3 Version:	1.1.5
     4 Release:	3%{?dist}
     5 License:	LGPLv2+
     6 Group: 		System Environment/Libraries
     7 URL: 		http://libquicktime.sourceforge.net/
     8 Source0: 	http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
     9 Patch0:         libquicktime-1.1.5-gtk.patch
    10 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    12 BuildRequires:	libdv-devel
    13 BuildRequires:	libpng-devel libjpeg-devel libGLU-devel
    14 BuildRequires:	libvorbis-devel ffmpeg-devel
    15 BuildRequires:	schroedinger-devel
    16 BuildRequires:	lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel
    17 BuildRequires:	libdv-devel >= 0.102-4 x264-devel faad2-devel
    18 BuildRequires:	libavc1394-devel libraw1394-devel >= 0.9.0-12
    19 BuildRequires:	gtk2-devel >= 2.4.0
    20 BuildRequires:  schroedinger-devel
    21 BuildRequires:  gettext-devel
    22 %{?_with_faac:BuildRequires: faac-devel}
    24 %package utils
    25 Summary:	Utilities for working with Quicktime files
    26 Group:		Applications/Multimedia
    28 %package devel
    29 Summary:	Development files for libquicktime
    30 Group:		Development/Libraries
    31 Requires:	%{name} = %{version}-%{release} zlib-devel pkgconfig
    33 # --------------------------------------------------------------------
    35 %description
    36 Libquicktime is based on the quicktime4linux library with several
    37 enhancements. All 3rd-party libraries were removed from the
    38 sourcetree. Instead, the systemwide installed libraries are detected
    39 by the configure script. All original codecs were moved into
    40 dynamically loadable modules, and new codecs are in
    41 development. Libquicktime is source-compatible with
    42 quicktime4linux. Special API extensions allow access to the codec
    43 registry and more convenient processing of Audio and Video
    44 data. 
    46 %description utils
    47 Libquicktime is based on the quicktime4linux library with several
    48 enhancements. This package contains utility programs and additional
    49 tools, like a commandline player and a GTK configuration utility which
    50 can configure the parameters of all installed codecs.
    52 %description devel
    53 Libquicktime is based on the quicktime4linux library with several
    54 enhancements. This package contains development files for %{name}.
    56 # --------------------------------------------------------------------
    58 %prep
    59 %setup -q
    60 %patch0 -p1 -b .gtk
    63 # --------------------------------------------------------------------
    65 %build
    66 %configure \
    67 	--enable-gpl \
    68 	--disable-rpath \
    69 	--with-cpuflags="$RPM_OPT_FLAGS" \
    70 	--disable-dependency-tracking \
    71 	--without-doxygen \
    72 	--disable-static \
    73 	--with-libdv \
    74 	--enable-libswscale
    76 # remove rpath from libtool
    77 sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    78 sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
    80 make %{?_smp_mflags}
    82 # --------------------------------------------------------------------
    84 %install
    85 rm -rf $RPM_BUILD_ROOT
    86 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
    87 find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \;
    90 %find_lang %{name}
    93 # --------------------------------------------------------------------
    95 %clean
    96 rm -rf $RPM_BUILD_ROOT
    98 # --------------------------------------------------------------------
   100 %post -p /sbin/ldconfig
   101 %postun -p /sbin/ldconfig
   103 %files -f %{name}.lang
   104 %defattr(-,root,root,-)
   105 %doc COPYING README TODO
   106 %{_libdir}/%{name}*.so.*
   107 %dir %{_libdir}/%{name}
   108 %{_libdir}/%{name}/lqt_*.so
   110 %files utils
   111 %defattr(-,root,root,-)
   112 %{_bindir}/libquicktime_config
   113 %{_bindir}/lqt_transcode
   114 %{_bindir}/lqtplay
   115 %{_bindir}/qt2text
   116 %{_bindir}/qtdechunk
   117 %{_bindir}/qtdump
   118 %{_bindir}/qtinfo
   119 %{_bindir}/qtrechunk
   120 %{_bindir}/qtstreamize
   121 %{_bindir}/qtyuv4toyuv
   122 %{_mandir}/man1/lqtplay.1*
   124 %files devel
   125 %defattr(-,root,root,-)
   126 %exclude %{_bindir}/lqt-config
   127 %{_includedir}/lqt/
   128 %{_libdir}/pkgconfig/libquicktime.pc
   129 %{_libdir}/%{name}*.so
   130 %{_datadir}/aclocal/lqt.m4
   132 # --------------------------------------------------------------------
   134 %changelog
   135 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.1.5-3
   136 - Build for MeeGo 1.1
   138 * Sat Jul 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.5-2
   139 - Add libquicktime-1.1.5-gtk.patch from Dan Horák.
   141 * Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.5-1
   142 - Update to 1.1.5
   144 * Mon Jan 25 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.4-2
   145 - Rebuild
   147 * Sat Jan 16 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.4-1
   148 - Update to 1.1.4
   150 * Fri Oct 30 2009 kwizart <kwizart at gmail.com > - 1.1.3-3
   151 - Add BR schroedinger-devel
   153 * Tue Oct 27 2009 kwizart <kwizart at gmail.com > - 1.1.3-2
   154 - backport patch from Alexis Ballier.
   156 * Thu Oct 15 2009 kwizart <kwizart at gmail.com > - 1.1.3-1
   157 - Update to 1.1.3
   158 - Conditionalize faac
   160 * Fri Mar 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-2
   161 - Rebuild for faad x264
   163 * Sun Dec 28 2008 kwizart <kwizart at gmail.com> - 1.1.1-1
   164 - Update to 1.1.1
   165 - Disable lqt-config (Fix RPM Fusion #265 )
   167 * Thu Dec  4 2008 kwizart <kwizart at gmail.com> - 1.1.0-1
   168 - Update to 1.1.0
   170 * Mon Sep 08 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.0.3-4
   171 - rebuild for new x264
   173 * Fri Aug 08 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.0.3-3
   174 - rebuild
   176 * Thu Jul 17 2008 kwizart <kwizart at gmail.com> - 1.0.3-2
   177 - Add BR libdv-devel and --with-dv
   179 * Thu Jul 17 2008 kwizart <kwizart at gmail.com> - 1.0.3-1
   180 - Update to 1.0.3
   182 * Sat Jun 14 2008 kwizart <kwizart at gmail.com> - 1.0.2-3
   183 - Enable libswscale
   185 * Thu Feb 28 2008 kwizart <kwizart at gmail.com> - 1.0.2-2
   186 - Rebuild for gcc43 and x264
   188 * Sun Jan 13 2008 kwizart <kwizart at gmail.com> - 1.0.2-1
   189 - Update to 1.0.2 (gcc43 compliant)
   191 * Mon Oct 15 2007 kwizart <kwizart at gmail.com> - 1.0.1-1
   192 - Update to 1.0.1
   193 - Disable libswscale (disabled in ffmpeg).
   195 * Wed Sep 26 2007 kwizart <kwizart at gmail.com> - 1.0.0-2
   196 - Fix build for new tooltip with gtk 2.12
   197   A better patch may need: 
   198   http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html
   200 * Thu Jul  5 2007 kwizart <kwizart at gmail.com> - 1.0.0-1
   201 - Update to 1.0.0
   202 - Add BR gettext, libtool
   203 - re-Run autogen.sh to prevent rpath issues...
   204 - add patch from freshrpms.
   206 * Fri Jan  5 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.10-4
   207 - Drop old ffmpeg (main) package dependency.
   208 - Improve summary.
   210 * Wed Nov 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.10-3
   211 - Enable GPL plugins, x264 patch borrowed from freshrpms.
   212 - Split utilities into -utils subpackage.
   214 * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.9.10-2
   215 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
   217 * Sun Sep 24 2006 Dams <anvil[AT]livna.org> - 0.9.10-1
   218 - Disabled some standard library paths in rpath with Ville help
   219 - Explicitly disabling static objects building
   221 * Wed Sep 20 2006 Dams <anvil[AT]livna.org> - 0.9.10-1
   222 - Updated to 0.9.10
   224 * Sat Apr  8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.8-1
   225 - 0.9.8.
   227 * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
   228 - switch to new release field
   230 * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
   231 - add dist
   233 * Thu Jan  5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.7-0.lvn.9
   234 - Rebuild against new ffmpeg.
   235 - Drop no longer needed modular X build dep workarounds.
   237 * Thu Dec 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.7-0.lvn.8
   238 - Adapt to modular X11.
   239 - Drop unneeded GTK1 build dependencies, BuildRequire fixed libdv-devel.
   240 - Drop zero Epochs.
   242 * Fri Aug 19 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.7
   243 - More clean-up for obsolete pre-FC2 support
   245 * Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.7-0.lvn.6
   246 - Quick hack to fix libavcodec detection with newer (>= 20050731) ffmpegs.
   247 - Don't ship static libs.
   249 * Mon Jul  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.7-0.lvn.5
   250 - Clean up obsolete pre-FC2 support.
   252 * Thu Jun 16 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.4
   253 - .... and gtk+-devel.
   255 * Thu Jun 16 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.3
   256 - libdv-devel needs glib-devel (fedora core bug....)
   258 * Mon Jun 13 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.2
   259 - Updated tarball
   261 * Thu May 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.7-0.lvn.1
   262 - 0.9.7, MMX builds with gcc4 again.
   264 * Sat May 21 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.6-0.lvn.1
   265 - 0.9.6, aclocal18 patch applied upstream.
   266 - Patch to compile with gcc4 (MMX build is borked though, build --without mmx).
   267 - Use "make install DESTDIR=..." to avoid nasty rpaths.
   269 * Thu Sep  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.3-0.lvn.2
   270 - Make dv support conditional (default on), add minimum required libdv version.
   271 - Make firewire support conditional again (only if dv support is available).
   272 - Disable dependency tracking to speed up the build.
   273 - Fix aclocal >= 1.8 warnings from lqt.m4.
   274 - BuildRequire %%{_libdir}/libGLU.so.1.
   276 * Mon Aug 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.3-0.lvn.1
   277 - Update to 0.9.3.
   278 - Enable ffmpeg plugin.
   279 - Make firewire support unconditional.
   280 - Fix 64bit libdir.
   281 - Fix -devel dependencies.
   282 - Update list of archs with MMX.
   283 - Clean up list of docs.
   285 * Tue Apr  6 2004 Dams <anvil[AT]livna.org> 0:0.9.2-0.lvn.2
   286 - BuildConflicts libraw1394 0.10.0 to prevent surprises.
   288 * Tue Apr  6 2004 Dams <anvil[AT]livna.org> 0:0.9.2-0.lvn.1
   289 - Conditionnal firewire stuff rewriten
   291 * Wed Mar 10 2004 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.1
   292 - Updated to final 0.9.2 release
   293 - firewire now default enabled
   295 * Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.7.pre1
   296 - Removed comment after scriptlets
   298 * Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.6.pre1
   299 - Without firewire BuildConflicts with libdv/libavc1394/libraw1394-devel
   301 * Mon Jul 14 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.5.pre1
   302 - Added missing deps for ffmpeg-devel
   303 - Added build option "with firewire" (disabled by default)
   305 * Wed Jul  9 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.4.pre1
   306 - Added missing unowned directory 
   307 - Removed URL in Source0
   308 - buildroot -> RPM_BUILD_ROOT
   309 - athlon is mmx compliant too 
   310 - Now include all *.so/*.so.*/.a in libdir (bug #451)
   312 * Wed Apr 23 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.3.pre1
   313 - Typo in group tag
   315 * Mon Apr 21 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.2.pre1
   316 - Major fix from from Diag (plugins are now in the package).
   318 * Wed Apr 16 2003 Dams <anvil[AT]livna.org> 
   319 - Initial build.	

mercurial