Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
mjpegtools
mjpegtools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mjpegtools.spec of Package mjpegtools
# # spec file for package mjpegtools (Version 1.9.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: mjpegtools BuildRequires: SDL-devel gcc-c++ libjpeg-devel libpng-devel libquicktime-devel nasm #BuildRequires: gtk1-compat-devel #BuildRequires: libmovtar popt-devel Url: http://mjpeg.sourceforge.net/ License: BSD 3-Clause; GPL v2 or later Group: Productivity/Multimedia/Video/Editors and Convertors PreReq: %install_info_prereq AutoReqProv: on Version: 1.9.0 Release: 2 Summary: MJPEG Video Capture and Processing Tools %if 0%{?BUILD_ORIG} Source0: %{name}-%{version}.tar.bz2 %else # WARNING: This is not a comment, but a real command to repack souce: #%(sh %{_sourcedir}/%{name}-codecpatch.sh %{_sourcedir} %{name}-%{version}.tar.bz2 %{name}-%{version}-patched.tar.bz2 ) Source0: %{name}-%{version}-patched.tar.bz2 %endif Source1: mjpegtools-codecpatch.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: mjpegtools-cpuinfo.patch Patch4: mjpegtools-vector_alignment.patch Patch5: mjpegtools-getopt.patch Patch6: mjpegtools-writeable_strings.patch Patch7: mjpegtools-fix-invalid-conversion.patch Patch100: %{name}-codecpatch.patch %description The mjpegtools allow for capture, playback, processing, and simple editing of MJPEG AV data. The hardware I/O applications are intended for use with Zoran MJPEG framegrabber-based hardware (see the zoran-driver package), but the processing tools can be used with MJPEG data from other sources as well. Authors: -------- Gernot Ziegler <gz@lysator.liu.se> Rainer Johanni <rainer@johanni.de> Andrew Stevens <Andrew.Stevens@comlab.ox.ac.uk> Xavier Biquard Ronald Bultje %package devel License: BSD 3-Clause; GPL v2 or later Group: Productivity/Multimedia/Video/Editors and Convertors Summary: MJPEG Video Capture and Processing Tools Requires: %{name} = %{version} Requires: SDL-devel glibc-devel zlib-devel libdv-devel libjpeg-devel libquicktime-devel %description devel The mjpegtools allow for capture, playback, processing, and simple editing of MJPEG AV data. The hardware I/O applications are intended for use with Zoran MJPEG framegrabber-based hardware (see the zoran-driver package), but the processing tools can be used with MJPEG data from other sources as well. Authors: -------- Gernot Ziegler <gz@lysator.liu.se> Rainer Johanni <rainer@johanni.de> Andrew Stevens <Andrew.Stevens@comlab.ox.ac.uk> Xavier Biquard Ronald Bultje %prep %setup -q %patch0 %if 0%{?BUILD_ORIG} %patch4 -p1 %endif %patch5 -p1 %patch6 -p1 %patch7 -p1 %if ! 0%{?BUILD_ORIG} # remove references to files removed by %{name}-codecpatch.sh %patch100 -p1 %endif # overwrite cpuinfo.sh, cpu optimization does not make sense # when building for a distribution echo "" > cpuinfo.sh %build %if 0%{?BUILD_ORIG} sed -i~ '/currently broken/d' mpeg2enc/mpeg2enc.cc diff -u mpeg2enc/mpeg2enc.cc* || : %endif %ifarch %ix86 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %else export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC" %endif export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -vfi # disable linking against libmpeg2encpp on ppc architectures ./configure \ %ifarch ppc ppc64 --disable-simd-accel \ %endif --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --disable-warnings_as_errors \ --disable-static # --with-quicktime=/usr/include/quicktime \ # --with-dv=/usr \ %{__make} %{?jobs:-j%jobs} %install make DESTDIR=%{buildroot} install rm -f %{buildroot}/usr/share/info/dir # remove mpeg encoding %if ! 0%{?BUILD_ORIG} for app in lav2mpeg mp2enc mpeg2enc mpegtranscode; do rm -f %{buildroot}%{_bindir}/${app} rm -f %{buildroot}%{_mandir}/man1/${app}.* done %endif %clean rm -rf "%{buildroot}" %post %install_info --info-dir=%{_infodir} %{_infodir}/mjpeg-howto.info.gz /sbin/ldconfig %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/mjpeg-howto.info.gz /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS CHANGES COPYING ChangeLog HINTS README* %{_bindir}/* %{_libdir}/lib*.so.* %doc %{_mandir}/man1/*.1.gz %doc %{_mandir}/man5/*.5.gz %doc %{_infodir}/mjpeg-howto* %files devel %defattr(-,root,root) %{_includedir}/mjpegtools %{_libdir}/lib*.so %{_libdir}/lib*.la %{_libdir}/pkgconfig/mjpegtools.pc %changelog * Thu Jun 04 2009 puzel@suse.cz - add mjpegtools-fix-invalid-conversion.patch - fixes build with new gcc and glibc * Mon Jan 19 2009 puzel@suse.cz - update to 1.9.0 (bug fixes) - delete mjpegtools-jpeg2yuv_stdin.patch (fixed upstream) - delete mjpegtools-gcc43.patch (fixed upstream) - set correct group for -devel package (Development/Libraries/C and C++) * Thu Jun 26 2008 puzel@suse.cz - update to 1.9.0rc3 * bugfix release - removed mjpegtools-includes.patch (fixed in upstream) - removed mjpegtools-motionestbug.patch (fixed in upstream) - removed mjpegtools-strcmp.patch (fixed in upstream) * Tue May 13 2008 puzel@suse.cz - added libpng-devel to BuildRequires [bnc #343848] * Mon Jan 07 2008 ssommer@suse.de - fix build with gcc43 * Sun Aug 12 2007 ro@suse.de - fix build for BUILD_ORIG not set * Fri Aug 10 2007 pcerny@suse.cz - fixed dependency problems on ppc/ppc64 [#297568] (reenabling architecture dependent configure options) - changed DISTRIBUTABLE to BUILD_ORIG - patch for jpeg2yuv to detect EOF correctly (from upstream) - patch names synchronization * Sun Aug 05 2007 olh@suse.de - getopt returns int, not char align vector buffers to 16 bytes mark one string constant as const build parallel * Fri Jul 20 2007 pcerny@suse.cz - removed dependece on avifile and some other packages * Wed May 09 2007 pcerny@suse.cz - update to 1.9.0rc2 * Mon Oct 16 2006 ro@suse.de - fix build with current libquicktime * Tue Mar 14 2006 ro@suse.de - disable altivec also on ppc64 (not just on ppc) * Fri Jan 27 2006 nadvornik@suse.cz - fixed BuildRequires * Thu Jan 26 2006 sbrabec@suse.cz - Added %%install_info_prereq. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 29 2005 ro@suse.de - overwrite cpuinfo.sh, the build-host is basically random and optimizing for a random cpu does not help * Wed Oct 26 2005 rguenther@suse.de - add missing include of assert.h to allow building with gcc 4.1 * Fri Oct 21 2005 kraxel@suse.de - updated to 1.8.0. - splitted away -devel package. * Mon Sep 26 2005 sbrabec@suse.cz - Force gtk2 using gtk1-compat-devel. * Tue May 03 2005 pmladek@suse.cz - added some more fixes to build with gcc4 * Tue Apr 19 2005 ro@suse.de - fix build with gcc-4 * Thu Apr 22 2004 kraxel@suse.de - add -fno-strict-aliasing. * Thu Feb 05 2004 kraxel@suse.de - update to 1.6.2-final. * Thu Jan 22 2004 kraxel@suse.de - updated to 1.6.2-rc4. - some spec file cleanups. * Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig * Tue Aug 12 2003 ro@suse.de - fix build with latest avifile * Tue May 27 2003 kraxel@suse.de - file list fixups. * Mon Mar 10 2003 kraxel@suse.de - ppc build fix. * Tue Feb 25 2003 aj@suse.de - Add missing assert includes. * Mon Feb 17 2003 ro@suse.de - fix last change * Thu Feb 13 2003 sf@suse.de - compile with -fPIC on archs != i386 (needed for gstreamer-plugins) * Thu Feb 13 2003 ro@suse.de - added freetype2-devel * Wed Feb 12 2003 ro@suse.de - added expat to neededforbuild * Tue Dec 10 2002 kraxel@suse.de - updated to version 1.6.1 - splitted libmovtar into a new package * Fri Jul 05 2002 kukuk@suse.de - Use %%ix86 macro * Thu Jul 04 2002 ro@suse.de - neededforbuild quicktime4linux -> libquicktime * Tue Jun 25 2002 uli@suse.de - build movtar with -fPIC * Wed Jun 12 2002 uli@suse.de - update -> 1.6.0 (final) * Fri May 24 2002 meissner@suse.de - %%_lib fixes. * Fri Apr 26 2002 uli@suse.de - update -> 1.6.0-rc2 - update jpeg-mmx -> 0.1.4-rc1 - update libmovtar -> 0.1.3-rc1 - ditched buildroot crap, it breaks movtar - disabled cmov optimizations (no runtime detection) - changed MPEGTOOLS switch to DISTRIBUTABLE (with inverse logic) to ensure consistency with other packages * Wed Apr 03 2002 sf@suse.de - update to 1.6.0-beta2 - gcc3 fix - spec cleanup - removed mjpegtools.dif - added DV-support again, as mmx-detection in libdv is "fixed" - added buildroot * Fri Feb 08 2002 uli@suse.de - build without DV support (causes reliable segfaults even on non-DV input) * Fri Feb 01 2002 ro@suse.de - changed neededforbuild <libpng> to <libpng-devel-packages> * Fri Jan 25 2002 uli@suse.de - update -> 1.6.0-beta1 * Wed Aug 08 2001 ro@suse.de - changed neededforbuild <sdl> to <SDL> - changed neededforbuild <sdl-devel> to <SDL-devel> * Tue Jul 10 2001 uli@suse.de - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor