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