Projects
Multimedia
transcode
transcode.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transcode.spec of Package transcode (Revision 14)
Currently displaying revision
14
,
Show latest
# # spec file for package transcode # # Copyright (c) 2015 SUSE LINUX 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/ # %bcond_without graphicsmagic %define sversion %(echo %{version}|cut -b 1-3) Name: transcode Version: 1.2.0 Release: 0 Summary: A linux video stream processing utility Summary(de): Das Schweizer Taschenmesser der Videobearbeitung License: GPL-2.0+ Group: Productivity/Multimedia/Other Url: https://bitbucket.org/achurch_/transcode/wiki/Home Source: transcode-%{version}.tar.bz2 Patch0: transcode-cflags.patch BuildRequires: aalib-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkg-config # BuildRequires: libfaac-devel BuildRequires: libjpeg-devel BuildRequires: libmp3lame-devel BuildRequires: libxvidcore-devel BuildRequires: lzo BuildRequires: lzo-devel >= 2.01 BuildRequires: pvm-devel BuildRequires: xorg-x11-devel BuildRequires: zlib-devel %if %{with graphicsmagic} %if %{suse_version} < 1315 # devel pkg lacks dependency on main pkg BuildRequires: libGraphicsMagickWand2 %endif BuildRequires: pkgconfig(GraphicsMagickWand) %endif BuildRequires: pkgconfig(liba52) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(dvdread) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libdv) BuildRequires: pkgconfig(libmpeg2) BuildRequires: pkgconfig(libmpeg2convert) BuildRequires: pkgconfig(libpostproc) BuildRequires: pkgconfig(libquicktime) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4lconvert) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mjpegtools) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(shout) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbisenc) BuildRequires: pkgconfig(x264) # BuildRoot: %{_tmppath}/%{name}-%{version}-build %description transcode is a text-console video stream processing tool. Decoding and encoding is done by loading shared library modules that are responsible for feeding transcode with raw RGB/PCM streams (import module) and encoding the frames (export module). It supports elementary video and audio frame transformations. Some example modules are included to enable import of MPEG program streams (VOB), Digital Video (DV), or YUV video and export modules for writing DivX;-), OpenDivX, or uncompressed AVI files. A set of tools is available to extract and decode the sources into raw video/audio streams for import and to enable post-processing of AVI files. %description -l de Videokonverter mit sehr vielen input/output und filter plugins, kann auch zum encodieren von dvd's genutzt werden. %prep %setup -q %patch0 -p1 echo %{sversion} %build autoreconf -ifv %configure --docdir=%{_docdir} \ %if %{with graphicsmagic} --enable-graphicsmagick \ %endif --enable-shout \ --enable-libavcodec --enable-libavformat \ --enable-libv4l2 --enable-libv4lconvert --enable-oss --enable-alsa \ --enable-libpostproc --enable-v4l \ --enable-freetype2 --enable-lame --enable-xvid --enable-x264 \ --enable-ogg --enable-vorbis --enable-vorbisenc --enable-theora \ --enable-libdvdread --enable-libdv --enable-libquicktime \ --enable-lzo --with-lzo-includes=%{_includedir}/lzo \ --enable-a52 --enable-faac --enable-libxml2 \ --enable-mjpegtools --enable-sdl \ %ifarch %ix86 x86_64 --enable-nuv \ %endif --enable-libmpeg2 --enable-libmpeg2convert \ --enable-libjpeg --enable-iconv --enable-deprecated make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{sversion} rm -rf %{buildroot}%{_docdir}/%{name}/man docs/man rm -f %{buildroot}%{_bindir}/pvmgs find docs/ -name 'Makefile*' -print -delete rm -f docs/tcmkmodhelp.py rm -f docs/make-filter-man.sh rm -f docs/make-import-man.sh find docs/ -name tcindent.sh -print -exec chmod 0644 {} \; %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/%{name}-%{sversion}/ %{_mandir}/man*/* %{_datadir}/%{name}-%{sversion}/ %doc AUTHORS COPYING ChangeLog README TODO docs/* %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.