Projects
Multimedia
synfig
synfig.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File synfig.spec of Package synfig (Revision 29)
Currently displaying revision
29
,
Show latest
%define build_flavor @BUILD_FLAVOR@%nil %define pkg synfig %define soname libsynfig %define sover 0 Name: synfig Version: 0 Release: 0 Summary: Vector based 2D animation render License: GPL-3.0+ URL: https://synfig.org Source0: %pkg-%version.tar #atch0: synfig.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: gettext-tools # %description Synfig Studio is a free and open-source 2D animation software, designed as powerful industrial-strength solution for creating film-quality animation using a vector and bitmap artwork. It eliminates the need to create animation frame-by frame, allowing you to produce 2D animation of a higher quality with fewer people and resources. This package contains the command line renderer used to convert synfig .sif files to raster images, videos and other formats. Layer types include geometric, gradient, filter, distortion, transformation, fractal and others. %if "%build_flavor" == "" %package -n %soname%sover BuildRequires: libjpeg-devel BuildRequires: libmng-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(ETL) = %version BuildRequires: pkgconfig(ImageMagick) BuildRequires: pkgconfig(Magick++) BuildRequires: pkgconfig(OpenEXR) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(giomm-2.4) BuildRequires: pkgconfig(glibmm-2.4) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libdv) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libxml++-2.6) BuildRequires: pkgconfig(mlt++-7) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(sigc++-2.0) BuildRequires: pkgconfig(zlib) Summary: Shared library part of %name Requires: %name-modules = %version %description -n %soname%sover Vector based 2D animation render. This package contains the shared library. %package modules Summary: Shared library part of %name Requires: %name = %version %description modules Vector based 2D animation render. This package contains modules for %name. %package devel Summary: Header files and static library for the %name library Requires: %soname%sover = %version Provides: %soname-devel = %version Obsoletes: %soname-devel < %version %description devel Vector based 2D animation render. This package contains the pkgconfig, header files and libraries needed to develop application that use %name. %package doc Summary: Documentation for %name BuildArch: noarch %description doc Vector based 2D animation render. This package provides documentation and several examples for %name. %lang_package %endif # %if "%build_flavor" == "ETL" %package -n ETL-devel Summary: Extended Class and Template Library %description -n ETL-devel ETL is a multi-platform class and template library designed to add new datatypes and functions which combine well with the existing types and functions from the C++ Standard Template Library (STL). %endif # # %if "%build_flavor" == "studio" %package -n %soname%sover BuildRequires: pkgconfig(synfig) Summary: Shared library part of %name Requires: %name-modules = %version %description -n %soname%sover %endif %prep %autosetup -p1 -n %pkg-%version %build %if "%build_flavor" == "" pushd synfig-core %endif %if "%build_flavor" == "ETL" pushd ETL %endif %if "%build_flavor" == "studio" pushd synfig-studio %endif >> AUTHORS >> NEWS >> README autoreconf -fiv CFLAGS='%optflags -Wno-deprecated-declarations' CXXFLAGS='%optflags -Wno-deprecated-declarations -Wno-deprecated-copy' %configure --help %configure %make_build %install %if "%build_flavor" == "" pushd synfig-core %endif %if "%build_flavor" == "ETL" pushd ETL %endif %if "%build_flavor" == "studio" pushd synfig-studio %endif %make_install %if "%build_flavor" == "" %find_lang %name %{?no_lang_C} --without-gnome --without-kde find {doc,examples} -type f ! -iname \make* -exec \ install -Dm0644 \{\} %buildroot%_docdir/%name/\{\} \; find %buildroot -type f -name \*.la -exec rm -f \{\} \; %post -n %soname%sover -p /sbin/ldconfig %postun -n %soname%sover -p /sbin/ldconfig %files %license COPYING %_bindir/%pkg %config %_sysconfdir/%pkg %files -n %soname%sover %_libdir/%soname.so.* %files modules %_libdir/%pkg %_libdir/%pkg/modules %files devel %_bindir/%pkg-config %_includedir/%pkg*/ %_libdir/%soname.so %_libdir/pkgconfig/*.pc %files doc %_docdir/%pkg %files lang -f %name.lang %endif # %if "%build_flavor" == "ETL" %files -n ETL-devel %_bindir/* %_includedir/* %_libdir/pkgconfig/*.pc %endif # %if "%build_flavor" == "studio" %files -n synfigstudio %endif %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
.