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.

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

mercurial