LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File smilutils.spec of Package smilutils (Project openSUSE:Factory)

# spec file for package smilutils
# Copyright (c) 2011 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:           smilutils
BuildRequires:  SDL-devel gcc-c++ gtk2-devel libdv-devel libquicktime-devel libtool libxml2-devel
Summary:        Tools for converting and editing digital video (DV) data
Version:        0.3.2+cvs20070731
Release:        1
License:        GPL-2.0+
Group:          Productivity/Multimedia/Video/Editors and Convertors
AutoReqProv:    on
Source0:        %{name}-%{version}.tar.bz2
Patch0:         abuild.diff
# PATCH-FIX-UPSTREAM smilutils-gcc4.3.patch vuntz@opensuse.org -- Taken from Debian and Mandriva, fix build with gcc 4.3
Patch1:         smilutils-gcc4.3.patch
# PATCH-FIX-UPSTREAM smilutils-gcc4.4.patch vuntz@opensuse.org -- Taken from Mandriva, fix build with gcc 4.4
Patch2:         smilutils-gcc4.4.patch
Url:            http://www.kinodv.org/article/view/70/1/7
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       image2raw ppm2raw ppmeffectv ppmfilter raw2dv raw2image raw2webcam raw2yuv rawmultiply rawplay smil2raw smil2wav smil2yuv tga2raw xwd2raw

These tools can be used to convert DV to image streams, avi or mov
files and back, duplicate or drop frames and to convert kino projects
to DV, raw audio and raw yuv video

More details can be found using "man smilutils" and at:

    Charles Yates <charles.yates@pandora.be>

%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
%patch2 -p1

###export CXXFLAGS="$RPM_OPT_FLAGS -fpermissive" 
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}

# Think about removing '.la' files, it said. Thought about it. Did it.
find $RPM_BUILD_ROOT/%{_libdir} -name \*.la | xargs rm -fv

rm -rf %buildroot