Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
michael@0 | 1 | Name: mjpegtools |
michael@1 | 2 | Summary: Tools to manipulate MPEG data |
michael@1 | 3 | Vendor: Europalab Software |
michael@1 | 4 | Packager: Michael Schloh von Bennewitz |
michael@1 | 5 | Distribution: MeeGo Thirdparty |
michael@0 | 6 | Version: 1.9.0 |
michael@1 | 7 | Release: 20101201 |
michael@0 | 8 | Group: Applications/Multimedia |
michael@0 | 9 | License: GPLv2 |
michael@0 | 10 | URL: http://mjpeg.sourceforge.net/ |
michael@1 | 11 | Source0: http://downloads.sourceforge.net/mjpeg/%{version}/%{name}-%{version}.tar.gz |
michael@0 | 12 | Patch0: %{name}-1.9.0rc1-anytovcd-ffmpegver.patch |
michael@0 | 13 | Patch1: mjpegtools-1.9.0-gcc44.patch |
michael@0 | 14 | Patch2: mjpegtools-1.9.0-png-memleak.patch |
michael@1 | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 16 | BuildRequires: nasm |
michael@0 | 17 | BuildRequires: libdv-devel |
michael@1 | 18 | BuildRequires: libjpeg-devel |
michael@1 | 19 | BuildRequires: libquicktime-devel |
michael@1 | 20 | BuildRequires: libpng-devel |
michael@1 | 21 | BuildRequires: SDL-devel |
michael@0 | 22 | BuildRequires: SDL_gfx-devel |
michael@0 | 23 | Requires: %{name}-libs = %{version}-%{release} |
michael@0 | 24 | Requires: mencoder |
michael@0 | 25 | Requires: ffmpeg |
michael@0 | 26 | Requires: y4mscaler |
michael@0 | 27 | Requires: which |
michael@0 | 28 | Requires(post): /sbin/install-info |
michael@0 | 29 | Requires(preun): /sbin/install-info |
michael@0 | 30 | |
michael@0 | 31 | %description |
michael@0 | 32 | The mjpeg programs are a set of tools that can do recording of videos |
michael@0 | 33 | and playback, simple cut-and-paste editing and the MPEG compression of |
michael@1 | 34 | audio and video under Linux. This package contains mjpegtools console |
michael@0 | 35 | utilities. |
michael@0 | 36 | |
michael@0 | 37 | %package libs |
michael@0 | 38 | Summary: Libraries used by mjpegtools |
michael@1 | 39 | Vendor: Europalab Software |
michael@1 | 40 | Packager: Michael Schloh von Bennewitz |
michael@1 | 41 | Distribution: MeeGo Thirdparty |
michael@0 | 42 | Group: System Environment/Libraries |
michael@0 | 43 | Requires: libquicktime >= 0.9.8 |
michael@0 | 44 | |
michael@0 | 45 | %description libs |
michael@0 | 46 | The mjpeg programs are a set of tools that can do recording of videos |
michael@0 | 47 | and playback, simple cut-and-paste editing and the MPEG compression of |
michael@1 | 48 | audio and video under Linux. This package contains libraries used by |
michael@0 | 49 | mjpegtools. |
michael@0 | 50 | |
michael@0 | 51 | %package devel |
michael@0 | 52 | Summary: Development files for mjpegtools libraries |
michael@1 | 53 | Vendor: Europalab Software |
michael@1 | 54 | Packager: Michael Schloh von Bennewitz |
michael@1 | 55 | Distribution: MeeGo Thirdparty |
michael@0 | 56 | Group: Development/Libraries |
michael@0 | 57 | Requires: %{name}-libs = %{version}-%{release} |
michael@0 | 58 | Requires: pkgconfig |
michael@0 | 59 | |
michael@0 | 60 | %description devel |
michael@0 | 61 | The mjpeg programs are a set of tools that can do recording of videos |
michael@0 | 62 | and playback, simple cut-and-paste editing and the MPEG compression of |
michael@1 | 63 | audio and video under Linux. This package contains development files |
michael@0 | 64 | for building applications that use mjpegtools libraries. |
michael@0 | 65 | |
michael@0 | 66 | %prep |
michael@0 | 67 | %setup -q |
michael@0 | 68 | %patch0 -p1 |
michael@0 | 69 | %patch1 -p1 |
michael@0 | 70 | %patch2 -p1 |
michael@0 | 71 | sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure* |
michael@1 | 72 | sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure |
michael@0 | 73 | |
michael@0 | 74 | %build |
michael@1 | 75 | %configure |
michael@1 | 76 | make %{?_smp_mflags} |
michael@0 | 77 | |
michael@0 | 78 | %install |
michael@0 | 79 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 80 | make install DESTDIR=$RPM_BUILD_ROOT |
michael@1 | 81 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
michael@0 | 82 | rm -f $RPM_BUILD_ROOT%{_bindir}/mpegtranscode |
michael@0 | 83 | |
michael@0 | 84 | %clean |
michael@0 | 85 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 86 | |
michael@0 | 87 | %post libs -p /sbin/ldconfig |
michael@0 | 88 | |
michael@0 | 89 | %postun libs -p /sbin/ldconfig |
michael@0 | 90 | |
michael@0 | 91 | %files |
michael@0 | 92 | %defattr(-,root,root,-) |
michael@0 | 93 | %doc COPYING CHANGES ChangeLog AUTHORS BUGS README.lavpipe NEWS TODO |
michael@0 | 94 | %{_bindir}/* |
michael@0 | 95 | %{_mandir}/man1/*.1* |
michael@0 | 96 | %{_mandir}/man5/yuv4mpeg.5* |
michael@1 | 97 | %{_infodir}/mjpeg-howto.info.gz |
michael@0 | 98 | |
michael@0 | 99 | %files libs |
michael@0 | 100 | %defattr(-,root,root,-) |
michael@0 | 101 | %doc COPYING |
michael@0 | 102 | %{_libdir}/lib*.so.* |
michael@0 | 103 | |
michael@0 | 104 | %files devel |
michael@0 | 105 | %defattr(-,root,root,-) |
michael@0 | 106 | %{_includedir}/%{name} |
michael@1 | 107 | %{_libdir}/lib*.a |
michael@1 | 108 | %{_libdir}/lib*.la |
michael@0 | 109 | %{_libdir}/lib*.so |
michael@0 | 110 | %{_libdir}/pkgconfig/%{name}.pc |
michael@0 | 111 | |
michael@1 | 112 | %changelog |
michael@1 | 113 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.9.0-20101201 |
michael@1 | 114 | - Adjust packaging and patch logic |
michael@0 | 115 | |
michael@0 | 116 | * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.9.0-3 |
michael@1 | 117 | - Package for MeeGo 1.1 |
michael@0 | 118 | |
michael@0 | 119 | * Fri Sep 3 2010 Hans de Goede <j.w.r.degoede@hhs.nl> 1.9.0-2 |
michael@0 | 120 | - Fix a memleak which is causing issues for LiVES |
michael@0 | 121 | |
michael@0 | 122 | * Wed Apr 15 2009 Hans de Goede <j.w.r.degoede@hhs.nl> 1.9.0-1 |
michael@0 | 123 | - Update to upstream 1.9.0 final release |
michael@0 | 124 | |
michael@0 | 125 | * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.9.0-0.7.rc3 |
michael@0 | 126 | - rebuild for new F11 features |
michael@0 | 127 | |
michael@0 | 128 | * Fri Jul 25 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.9.0-0.6.rc3 |
michael@0 | 129 | - Release bump for rpmfusion |
michael@0 | 130 | - Sync with freshrpms (no changes) |
michael@0 | 131 | |
michael@0 | 132 | * Tue Apr 22 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-0.5.rc3 |
michael@0 | 133 | - Apply patch from Gentoo to fix build with GCC 4.3 (#1941). |
michael@0 | 134 | |
michael@0 | 135 | * Tue Dec 4 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-0.4.rc3 |
michael@0 | 136 | - 1.9.0rc3. |
michael@0 | 137 | |
michael@0 | 138 | * Sat Sep 29 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-0.4.rc2 |
michael@0 | 139 | - Requires: which |
michael@0 | 140 | |
michael@0 | 141 | * Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-0.3.rc2 |
michael@0 | 142 | - License: GPLv2 |
michael@0 | 143 | |
michael@0 | 144 | * Thu Jun 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-0.2.rc2 |
michael@0 | 145 | - Rebuild. |
michael@0 | 146 | |
michael@0 | 147 | * Fri Jun 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.9.0-0.1.rc2 |
michael@0 | 148 | - 1.9.0rc2. |
michael@0 | 149 | |
michael@0 | 150 | * Sat Nov 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.8.0-7 |
michael@0 | 151 | - Split GUI utilities into -gui subpackage. |
michael@0 | 152 | - Don't ship mpegtranscode, it's broken/outdated. |
michael@0 | 153 | - Require mencoder for lav2avi.sh. |
michael@0 | 154 | |
michael@0 | 155 | * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.8.0-6 |
michael@0 | 156 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
michael@0 | 157 | |
michael@0 | 158 | * Sun Sep 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.8.0-5 |
michael@0 | 159 | - Specfile cleanup. |
michael@0 | 160 | |
michael@0 | 161 | * Sun Jun 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.8.0-4 |
michael@0 | 162 | - Get rid of undefined non-weak symbols in liblav*. |
michael@0 | 163 | - Apply upstream fix for compiling with libquicktime 0.9.8. |
michael@0 | 164 | |
michael@0 | 165 | * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
michael@0 | 166 | - switch to new release field |
michael@0 | 167 | |
michael@0 | 168 | * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
michael@0 | 169 | - add dist |
michael@0 | 170 | |
michael@0 | 171 | * Sat Jan 21 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.8.0-0.lvn.3 |
michael@0 | 172 | - Include license text in -libs, it can be installed without the main package. |
michael@0 | 173 | - Convert yuvfps man page to UTF-8. |
michael@0 | 174 | - Fix -devel Group tag. |
michael@0 | 175 | |
michael@0 | 176 | * Thu Jan 19 2006 Adrian Reber <adrian@lisas.de> - 1.8.0-0.lvn.2 |
michael@0 | 177 | - Added patch to compile with gcc 4.1 |
michael@0 | 178 | - Dropped 0 Epoch |
michael@0 | 179 | |
michael@0 | 180 | * Mon Sep 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.8.0-0.lvn.1 |
michael@0 | 181 | - 1.8.0. |
michael@0 | 182 | |
michael@0 | 183 | * Sat Aug 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.6.3-0.lvn.0.1.rc3 |
michael@0 | 184 | - 1.6.3-rc3, Altivec fixes applied upstream. |
michael@0 | 185 | |
michael@0 | 186 | * Fri Aug 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.6.3-0.lvn.0.1.rc2 |
michael@0 | 187 | - 1.6.3-rc2, clean up obsolete pre-FC2 stuff. |
michael@0 | 188 | - Fix Altivec build, kudos to upstream. |
michael@0 | 189 | |
michael@0 | 190 | * Thu May 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.6,3-0.lvn.0.1.rc1 |
michael@0 | 191 | - 1.6.3-rc1 (1.7.0 snapshot package not released, so no Epoch bump). |
michael@0 | 192 | |
michael@0 | 193 | * Sun May 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.7.0-0.lvn.0.2.cvs20050521 |
michael@0 | 194 | - PPC: disable Altivec due to gcc4 build failure, honor $RPM_OPT_FLAGS. |
michael@0 | 195 | |
michael@0 | 196 | * Sat May 21 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.7.0-0.lvn.0.1.cvs20050521 |
michael@0 | 197 | - Pre-1.7.0 snapshot as of today, all patches applied or obsoleted upstream. |
michael@0 | 198 | - Require pkgconfig in -devel. |
michael@0 | 199 | |
michael@0 | 200 | * Wed Feb 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.6.2-0.lvn.7 |
michael@0 | 201 | - Add corrected -fPIC tweak from Thorsten. |
michael@0 | 202 | |
michael@0 | 203 | * Mon Jan 31 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.6.2-0.lvn.6 |
michael@0 | 204 | - Include PNG input support. |
michael@0 | 205 | - Remove no-op $RPM_OPT_FLAGS setting from %%build. |
michael@0 | 206 | - Remove bogus optimization settings from configure script. |
michael@0 | 207 | |
michael@0 | 208 | * Fri Dec 31 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.6.2-0.lvn.5 |
michael@0 | 209 | - CFLAGS="$CFLAGS -fPIC" on non x86; Fixes build error on x86_64; The |
michael@0 | 210 | option --with-pic is not enough |
michael@0 | 211 | |
michael@0 | 212 | * Sat Dec 18 2004 Dams <anvil[AT]livna.org> - 0:1.6.2-0.lvn.4 |
michael@0 | 213 | - Disabling static libraries building |
michael@0 | 214 | |
michael@0 | 215 | * Tue Dec 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.6.2-0.lvn.3 |
michael@0 | 216 | - Include quicktime support. |
michael@0 | 217 | - Apply patch from ALT Linux to fix info pages, fix typo in %%post. |
michael@0 | 218 | - Require /sbin/install-info. |
michael@0 | 219 | - Add "--without static" rpmbuild option to work around an issue with FC3 strip |
michael@0 | 220 | - Always enable SIMD accelerations, CPU capabilities detected at runtime. |
michael@0 | 221 | - Always disable use of cmov. |
michael@0 | 222 | |
michael@0 | 223 | * Thu Nov 11 2004 Dams <anvil[AT]livna.org> 0:1.6.2-0.lvn.2 |
michael@0 | 224 | - Added patch to fix gcc3.4 build |
michael@0 | 225 | - Detected race condition in Makefiles (disabling _smp_mflags use) |
michael@0 | 226 | - Added info files & scriptlets |
michael@0 | 227 | - Dropped patch0 and patch1 |
michael@0 | 228 | |
michael@0 | 229 | * Tue Jun 8 2004 Dams <anvil[AT]livna.org> 0:1.6.2-0.lvn.1 |
michael@0 | 230 | - Updated to 1.6.2 |
michael@0 | 231 | |
michael@0 | 232 | * Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:1.6.1-0.fdr.6 |
michael@0 | 233 | - Removed comment after scriptlets |
michael@0 | 234 | |
michael@0 | 235 | * Fri Aug 22 2003 Dams <anvil[AT]livna.org> 0:1.6.1-0.fdr.5 |
michael@0 | 236 | - buildroot -> RPM_BUILD_ROOT |
michael@0 | 237 | |
michael@0 | 238 | * Sun Aug 10 2003 Dams <anvil[AT]livna.org> 0:1.6.1-0.fdr.4 |
michael@0 | 239 | - Applied upstream patches to fix build on gcc3.3 systems |
michael@0 | 240 | |
michael@0 | 241 | * Tue Apr 29 2003 Dams <anvil[AT]livna.org> 0:1.6.1-0.fdr.3 |
michael@0 | 242 | - Now test arch for configure options (from Ville) |
michael@0 | 243 | - Removed ImageMagick-devel BuildRequires |
michael@0 | 244 | |
michael@0 | 245 | * Sun Apr 27 2003 Dams <anvil[AT]livna.org> 0:1.6.1-0.fdr.2 |
michael@0 | 246 | - Added missing BuildRequires |
michael@0 | 247 | - Added post/postun scriplets for libs package |
michael@0 | 248 | |
michael@0 | 249 | * Wed Apr 23 2003 Dams <anvil[AT]livna.org> |
michael@0 | 250 | - Initial build. |