Projects
Multimedia
handbrake
handbrake.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File handbrake.spec of Package handbrake (Revision 3)
Currently displaying revision
3
,
Show latest
# vim: set sw=4 ts=4 et: Name: handbrake #define rev 3549 #Version: 0.9.4+r%{rev} Version: 0.9.5 Release: 1.pm.1 Summary: Multithreaded Video Transcoder # svn://svn.handbrake.fr/HandBrake/trunk#%{rev} #Source: HandBrake-svn%{rev}.tar.bz2 Source: http://prdownloads.sourceforge.net/handbrake/HandBrake-%{version}.tar.bz2 Source101: http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz Source102: http://download.handbrake.fr/handbrake/contrib/faac-1.28.tar.gz Source103: http://download.handbrake.fr/handbrake/contrib/faad2-2.7.tar.gz Source104: http://download.m0k.org/handbrake/contrib/ffmpeg-r25689.tar.bz2 Source105: http://download.handbrake.fr/handbrake/contrib/lame-3.98.tar.gz Source106: http://download.handbrake.fr/handbrake/contrib/libdca-r81-strapped.tar.gz Source107: http://download.handbrake.fr/handbrake/contrib/libdvdnav-svn1168.tar.gz Source108: http://download.handbrake.fr/handbrake/contrib/libdvdread-svn1168.tar.gz Source109: http://download.m0k.org/handbrake/contrib/libmkv-0.6.4.1-0-ga80e593.tar.bz2 Source110: http://download.handbrake.fr/handbrake/contrib/libogg-1.1.3.tar.gz Source111: http://download.handbrake.fr/handbrake/contrib/libsamplerate-0.1.4.tar.gz Source112: http://download.handbrake.fr/handbrake/contrib/libtheora-1.1.0.tar.bz2 Source113: http://download.handbrake.fr/handbrake/contrib/libvorbis-aotuv_b5.tar.gz Source114: http://download.handbrake.fr/handbrake/contrib/mp4v2-trunk-r355.tar.bz2 Source115: http://download.handbrake.fr/handbrake/contrib/mpeg2dec-0.5.1.tar.gz Source116: http://download.handbrake.fr/handbrake/contrib/x264-r1834-a51816a.tar.gz Source117: http://download.m0k.org/handbrake/contrib/fontconfig-2.8.0.tar.gz Source118: http://download.m0k.org/handbrake/contrib/freetype-2.3.9.tar.gz Source119: http://download.m0k.org/handbrake/contrib/libass-0.9.9.tar.bz2 Source120: http://download.m0k.org/handbrake/contrib/libbluray-0.0.1-pre-16-g1aab213.tar.gz Source121: http://download.m0k.org/handbrake/contrib/libxml2-2.7.7.tar.gz Source151: handbrake-ffmpeg_fix_missing_return_in_nonvoid_function.patch Source99: handbrake-rpmlintrc Patch1: handbrake-notify.patch URL: http://handbrake.fr/ Group: Productivity/Multimedia/Video/Editors and Convertors License: GNU General Public License version 2 (GPL v2) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: python curl wget subversion BuildRequires: gtk2-devel gtkhtml2-devel libbz2-devel zlib-devel BuildRequires: libicu-devel libnotify-devel libgudev-1_0-devel alsa-devel BuildRequires: sqlite3-devel libcurl-devel libxslt-devel BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel %if 0%{?suse_version} <= 1140 BuildRequires: hal-devel %endif BuildRequires: dbus-1-glib-devel %if %suse_version >= 1110 BuildRequires: libwebkit-devel %else BuildRequires: WebKitGtk-devel %endif BuildRequires: gcc gcc-c++ make glibc-devel yasm nasm BuildRequires: autoconf automake libtool intltool BuildRequires: update-desktop-files %description HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder. %package cli Summary: Multithreaded Video Transcoder Group: Productivity/Multimedia/Video/Editors and Convertors Obsoletes: handbrake-unstable-cli < %{version} %description cli HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder. This package contains a command-line interface for Handbrake. Authors: -------- Eric Petit <titer@m0k.org> Laurent Aimar <fenrir@via.ecp.fr> %package gtk Summary: Multithreaded Video Transcoder Group: Productivity/Multimedia/Video/Editors and Convertors Obsoletes: handbrake-unstable-gtk < %{version} %description gtk HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder. This package contains a GTK+ graphical user interface for Handbrake. Authors: -------- Eric Petit <titer@m0k.org> Laurent Aimar <fenrir@via.ecp.fr> %prep %if 0%{?rev:1} %setup -q -n "HandBrake-svn%{rev}" %else %setup -q -n "HandBrake-%{version}" %endif %if 0%{suse_version} > 1140 %patch1 -p0 %endif # Copy 3rd party dependencies into expected locations: %__mkdir download for f in \ %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} %{S:106} \ %{S:107} %{S:108} %{S:109} %{S:110} %{S:111} %{S:112} \ %{S:113} %{S:114} %{S:115} %{S:116} %{S:117} %{S:118} \ %{S:119} %{S:120} %{S:121} \ ; do %__ln_s "$f" download/ done # check beforehand that the versions match what the # build system expects: missing=$PWD/.missing %__grep -hE '\.FETCH\.url *=' contrib/*/module.defs \ | %__awk -F' =' '{print $2}' \ | while read url; do f=$(echo "$url" | %__sed 's|^.*/||') case $f in bzip2*|libiconv*|pthreads*|zlib*) continue ;; esac [ -e "$RPM_SOURCE_DIR/$f" ] || echo "$url">>"$missing" done if test -e "$missing"; then echo "ERROR: missing contrib source archives:" >&2 cat "$missing" >&2 exit 1 fi %build # will be removed when the makefiles are fixed, currently # fails on openSUSE factory because of --as-needed export SUSE_ASNEEDED=0 export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" %__cp "%{S:151}" contrib/ffmpeg/A99-fix-missing-return-in-nonvoid-function.patch %__mkdir build ./configure \ --force \ --build="$PWD/build" \ --prefix="%{buildroot}%{_prefix}" \ --strip="/bin/true" \ --optimize=speed \ --debug=max GHB_PKGS="dbus-glib-1 glib-2.0 gdk-pixbuf-2.0 gudev-1.0 webkit-1.0 libnotify" GHB_PKGS="$GHB_PKGS gstreamer-interfaces-0.10 gstreamer-0.10 gstreamer-pbutils-0.10 gstreamer-video-0.10" pushd build %__make libhb/project.h %__make %{?_smp_mflags} \ GHB_CFLAGS="$(pkg-config --cflags $GHB_PKGS) -I../../libhb" \ GHB_LIBS="$(pkg-config --libs $GHB_PKGS)" popd #build %install pushd build %__make install popd #build %__ln_s ghb "%{buildroot}%{_bindir}/HandBrakeGUI" %suse_update_desktop_file -r ghb AudioVideo AudioVideoEditing %__rm "%{buildroot}%{_datadir}/icons"/*/*.cache %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files cli %defattr(-,root,root) %doc AUTHORS COPYING CREDITS NEWS THANKS %{_bindir}/HandBrakeCLI %files gtk %defattr(-,root,root) %doc AUTHORS COPYING CREDITS NEWS THANKS %{_bindir}/HandBrakeGUI %{_bindir}/ghb %{_datadir}/applications/ghb.desktop %{_datadir}/icons/*/*/apps/hb-icon.png %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
.