libquicktime/libquicktime.spec

changeset 0
4f133201e207
child 1
4667f24fe848
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libquicktime/libquicktime.spec	Fri Mar 11 21:30:26 2011 +0100
     1.3 @@ -0,0 +1,319 @@
     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 +%{?_with_faac:BuildRequires: faac-devel}
    1.26 +
    1.27 +%package utils
    1.28 +Summary:	Utilities for working with Quicktime files
    1.29 +Group:		Applications/Multimedia
    1.30 +
    1.31 +%package devel
    1.32 +Summary:	Development files for libquicktime
    1.33 +Group:		Development/Libraries
    1.34 +Requires:	%{name} = %{version}-%{release} zlib-devel pkgconfig
    1.35 +
    1.36 +# --------------------------------------------------------------------
    1.37 +
    1.38 +%description
    1.39 +Libquicktime is based on the quicktime4linux library with several
    1.40 +enhancements. All 3rd-party libraries were removed from the
    1.41 +sourcetree. Instead, the systemwide installed libraries are detected
    1.42 +by the configure script. All original codecs were moved into
    1.43 +dynamically loadable modules, and new codecs are in
    1.44 +development. Libquicktime is source-compatible with
    1.45 +quicktime4linux. Special API extensions allow access to the codec
    1.46 +registry and more convenient processing of Audio and Video
    1.47 +data. 
    1.48 +
    1.49 +%description utils
    1.50 +Libquicktime is based on the quicktime4linux library with several
    1.51 +enhancements. This package contains utility programs and additional
    1.52 +tools, like a commandline player and a GTK configuration utility which
    1.53 +can configure the parameters of all installed codecs.
    1.54 +
    1.55 +%description devel
    1.56 +Libquicktime is based on the quicktime4linux library with several
    1.57 +enhancements. This package contains development files for %{name}.
    1.58 +
    1.59 +# --------------------------------------------------------------------
    1.60 +
    1.61 +%prep
    1.62 +%setup -q
    1.63 +%patch0 -p1 -b .gtk
    1.64 +
    1.65 +
    1.66 +# --------------------------------------------------------------------
    1.67 +
    1.68 +%build
    1.69 +%configure \
    1.70 +	--enable-gpl \
    1.71 +	--disable-rpath \
    1.72 +	--with-cpuflags="$RPM_OPT_FLAGS" \
    1.73 +	--disable-dependency-tracking \
    1.74 +	--without-doxygen \
    1.75 +	--disable-static \
    1.76 +	--with-libdv \
    1.77 +	--enable-libswscale
    1.78 +
    1.79 +# remove rpath from libtool
    1.80 +sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    1.81 +sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
    1.82 +
    1.83 +make %{?_smp_mflags}
    1.84 +
    1.85 +# --------------------------------------------------------------------
    1.86 +
    1.87 +%install
    1.88 +rm -rf $RPM_BUILD_ROOT
    1.89 +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
    1.90 +find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \;
    1.91 +
    1.92 +
    1.93 +%find_lang %{name}
    1.94 +
    1.95 +
    1.96 +# --------------------------------------------------------------------
    1.97 +
    1.98 +%clean
    1.99 +rm -rf $RPM_BUILD_ROOT
   1.100 +
   1.101 +# --------------------------------------------------------------------
   1.102 +
   1.103 +%post -p /sbin/ldconfig
   1.104 +%postun -p /sbin/ldconfig
   1.105 +
   1.106 +%files -f %{name}.lang
   1.107 +%defattr(-,root,root,-)
   1.108 +%doc COPYING README TODO
   1.109 +%{_libdir}/%{name}*.so.*
   1.110 +%dir %{_libdir}/%{name}
   1.111 +%{_libdir}/%{name}/lqt_*.so
   1.112 +
   1.113 +%files utils
   1.114 +%defattr(-,root,root,-)
   1.115 +%{_bindir}/libquicktime_config
   1.116 +%{_bindir}/lqt_transcode
   1.117 +%{_bindir}/lqtplay
   1.118 +%{_bindir}/qt2text
   1.119 +%{_bindir}/qtdechunk
   1.120 +%{_bindir}/qtdump
   1.121 +%{_bindir}/qtinfo
   1.122 +%{_bindir}/qtrechunk
   1.123 +%{_bindir}/qtstreamize
   1.124 +%{_bindir}/qtyuv4toyuv
   1.125 +%{_mandir}/man1/lqtplay.1*
   1.126 +
   1.127 +%files devel
   1.128 +%defattr(-,root,root,-)
   1.129 +%exclude %{_bindir}/lqt-config
   1.130 +%{_includedir}/lqt/
   1.131 +%{_libdir}/pkgconfig/libquicktime.pc
   1.132 +%{_libdir}/%{name}*.so
   1.133 +%{_datadir}/aclocal/lqt.m4
   1.134 +
   1.135 +# --------------------------------------------------------------------
   1.136 +
   1.137 +%changelog
   1.138 +* Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.1.5-3
   1.139 +- Build for MeeGo 1.1
   1.140 +
   1.141 +* Sat Jul 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.5-2
   1.142 +- Add libquicktime-1.1.5-gtk.patch from Dan Horák.
   1.143 +
   1.144 +* Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.5-1
   1.145 +- Update to 1.1.5
   1.146 +
   1.147 +* Mon Jan 25 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.4-2
   1.148 +- Rebuild
   1.149 +
   1.150 +* Sat Jan 16 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.4-1
   1.151 +- Update to 1.1.4
   1.152 +
   1.153 +* Fri Oct 30 2009 kwizart <kwizart at gmail.com > - 1.1.3-3
   1.154 +- Add BR schroedinger-devel
   1.155 +
   1.156 +* Tue Oct 27 2009 kwizart <kwizart at gmail.com > - 1.1.3-2
   1.157 +- backport patch from Alexis Ballier.
   1.158 +
   1.159 +* Thu Oct 15 2009 kwizart <kwizart at gmail.com > - 1.1.3-1
   1.160 +- Update to 1.1.3
   1.161 +- Conditionalize faac
   1.162 +
   1.163 +* Fri Mar 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-2
   1.164 +- Rebuild for faad x264
   1.165 +
   1.166 +* Sun Dec 28 2008 kwizart <kwizart at gmail.com> - 1.1.1-1
   1.167 +- Update to 1.1.1
   1.168 +- Disable lqt-config (Fix RPM Fusion #265 )
   1.169 +
   1.170 +* Thu Dec  4 2008 kwizart <kwizart at gmail.com> - 1.1.0-1
   1.171 +- Update to 1.1.0
   1.172 +
   1.173 +* Mon Sep 08 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.0.3-4
   1.174 +- rebuild for new x264
   1.175 +
   1.176 +* Fri Aug 08 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.0.3-3
   1.177 +- rebuild
   1.178 +
   1.179 +* Thu Jul 17 2008 kwizart <kwizart at gmail.com> - 1.0.3-2
   1.180 +- Add BR libdv-devel and --with-dv
   1.181 +
   1.182 +* Thu Jul 17 2008 kwizart <kwizart at gmail.com> - 1.0.3-1
   1.183 +- Update to 1.0.3
   1.184 +
   1.185 +* Sat Jun 14 2008 kwizart <kwizart at gmail.com> - 1.0.2-3
   1.186 +- Enable libswscale
   1.187 +
   1.188 +* Thu Feb 28 2008 kwizart <kwizart at gmail.com> - 1.0.2-2
   1.189 +- Rebuild for gcc43 and x264
   1.190 +
   1.191 +* Sun Jan 13 2008 kwizart <kwizart at gmail.com> - 1.0.2-1
   1.192 +- Update to 1.0.2 (gcc43 compliant)
   1.193 +
   1.194 +* Mon Oct 15 2007 kwizart <kwizart at gmail.com> - 1.0.1-1
   1.195 +- Update to 1.0.1
   1.196 +- Disable libswscale (disabled in ffmpeg).
   1.197 +
   1.198 +* Wed Sep 26 2007 kwizart <kwizart at gmail.com> - 1.0.0-2
   1.199 +- Fix build for new tooltip with gtk 2.12
   1.200 +  A better patch may need: 
   1.201 +  http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html
   1.202 +
   1.203 +* Thu Jul  5 2007 kwizart <kwizart at gmail.com> - 1.0.0-1
   1.204 +- Update to 1.0.0
   1.205 +- Add BR gettext, libtool
   1.206 +- re-Run autogen.sh to prevent rpath issues...
   1.207 +- add patch from freshrpms.
   1.208 +
   1.209 +* Fri Jan  5 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.10-4
   1.210 +- Drop old ffmpeg (main) package dependency.
   1.211 +- Improve summary.
   1.212 +
   1.213 +* Wed Nov 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.10-3
   1.214 +- Enable GPL plugins, x264 patch borrowed from freshrpms.
   1.215 +- Split utilities into -utils subpackage.
   1.216 +
   1.217 +* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.9.10-2
   1.218 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21
   1.219 +
   1.220 +* Sun Sep 24 2006 Dams <anvil[AT]livna.org> - 0.9.10-1
   1.221 +- Disabled some standard library paths in rpath with Ville help
   1.222 +- Explicitly disabling static objects building
   1.223 +
   1.224 +* Wed Sep 20 2006 Dams <anvil[AT]livna.org> - 0.9.10-1
   1.225 +- Updated to 0.9.10
   1.226 +
   1.227 +* Sat Apr  8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.8-1
   1.228 +- 0.9.8.
   1.229 +
   1.230 +* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
   1.231 +- switch to new release field
   1.232 +
   1.233 +* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
   1.234 +- add dist
   1.235 +
   1.236 +* Thu Jan  5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.7-0.lvn.9
   1.237 +- Rebuild against new ffmpeg.
   1.238 +- Drop no longer needed modular X build dep workarounds.
   1.239 +
   1.240 +* Thu Dec 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.7-0.lvn.8
   1.241 +- Adapt to modular X11.
   1.242 +- Drop unneeded GTK1 build dependencies, BuildRequire fixed libdv-devel.
   1.243 +- Drop zero Epochs.
   1.244 +
   1.245 +* Fri Aug 19 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.7
   1.246 +- More clean-up for obsolete pre-FC2 support
   1.247 +
   1.248 +* Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.7-0.lvn.6
   1.249 +- Quick hack to fix libavcodec detection with newer (>= 20050731) ffmpegs.
   1.250 +- Don't ship static libs.
   1.251 +
   1.252 +* Mon Jul  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.7-0.lvn.5
   1.253 +- Clean up obsolete pre-FC2 support.
   1.254 +
   1.255 +* Thu Jun 16 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.4
   1.256 +- .... and gtk+-devel.
   1.257 +
   1.258 +* Thu Jun 16 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.3
   1.259 +- libdv-devel needs glib-devel (fedora core bug....)
   1.260 +
   1.261 +* Mon Jun 13 2005 Dams <anvil[AT]livna.org> - 0:0.9.7-0.lvn.2
   1.262 +- Updated tarball
   1.263 +
   1.264 +* Thu May 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.7-0.lvn.1
   1.265 +- 0.9.7, MMX builds with gcc4 again.
   1.266 +
   1.267 +* Sat May 21 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.6-0.lvn.1
   1.268 +- 0.9.6, aclocal18 patch applied upstream.
   1.269 +- Patch to compile with gcc4 (MMX build is borked though, build --without mmx).
   1.270 +- Use "make install DESTDIR=..." to avoid nasty rpaths.
   1.271 +
   1.272 +* Thu Sep  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.3-0.lvn.2
   1.273 +- Make dv support conditional (default on), add minimum required libdv version.
   1.274 +- Make firewire support conditional again (only if dv support is available).
   1.275 +- Disable dependency tracking to speed up the build.
   1.276 +- Fix aclocal >= 1.8 warnings from lqt.m4.
   1.277 +- BuildRequire %%{_libdir}/libGLU.so.1.
   1.278 +
   1.279 +* Mon Aug 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.3-0.lvn.1
   1.280 +- Update to 0.9.3.
   1.281 +- Enable ffmpeg plugin.
   1.282 +- Make firewire support unconditional.
   1.283 +- Fix 64bit libdir.
   1.284 +- Fix -devel dependencies.
   1.285 +- Update list of archs with MMX.
   1.286 +- Clean up list of docs.
   1.287 +
   1.288 +* Tue Apr  6 2004 Dams <anvil[AT]livna.org> 0:0.9.2-0.lvn.2
   1.289 +- BuildConflicts libraw1394 0.10.0 to prevent surprises.
   1.290 +
   1.291 +* Tue Apr  6 2004 Dams <anvil[AT]livna.org> 0:0.9.2-0.lvn.1
   1.292 +- Conditionnal firewire stuff rewriten
   1.293 +
   1.294 +* Wed Mar 10 2004 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.1
   1.295 +- Updated to final 0.9.2 release
   1.296 +- firewire now default enabled
   1.297 +
   1.298 +* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.7.pre1
   1.299 +- Removed comment after scriptlets
   1.300 +
   1.301 +* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.6.pre1
   1.302 +- Without firewire BuildConflicts with libdv/libavc1394/libraw1394-devel
   1.303 +
   1.304 +* Mon Jul 14 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.5.pre1
   1.305 +- Added missing deps for ffmpeg-devel
   1.306 +- Added build option "with firewire" (disabled by default)
   1.307 +
   1.308 +* Wed Jul  9 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.4.pre1
   1.309 +- Added missing unowned directory 
   1.310 +- Removed URL in Source0
   1.311 +- buildroot -> RPM_BUILD_ROOT
   1.312 +- athlon is mmx compliant too 
   1.313 +- Now include all *.so/*.so.*/.a in libdir (bug #451)
   1.314 +
   1.315 +* Wed Apr 23 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.3.pre1
   1.316 +- Typo in group tag
   1.317 +
   1.318 +* Mon Apr 21 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.2.pre1
   1.319 +- Major fix from from Diag (plugins are now in the package).
   1.320 +
   1.321 +* Wed Apr 16 2003 Dams <anvil[AT]livna.org> 
   1.322 +- Initial build.	

mercurial