mjpegtools/mjpegtools.spec

Fri, 11 Mar 2011 21:36:51 +0100

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

Adjust specification build configurations to port packages to MeeGo.

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

mercurial