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 47)
Currently displaying revision
47
,
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: gettext-tools BuildRequires: libtool BuildRequires: pkgconfig # %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: intltool BuildRequires: libjpeg-devel BuildRequires: libmng-devel BuildRequires: pkgconfig(ETL) > 1 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 %pkg Requires: %pkg-modules = %version-%release %description -n %soname%sover Vector based 2D animation render. This package contains the shared library. %package modules Summary: Shared library part of %pkg Requires: %pkg = %version-%release %description modules Vector based 2D animation render. This package contains modules for %pkg. %package devel Summary: Header files and static library for the %pkg library Requires: %soname%sover = %version-%release Provides: %soname-devel = %version-%release Obsoletes: %soname-devel < %version-%release %description devel Vector based 2D animation render. This package contains the pkgconfig, header files and libraries needed to develop application that use %pkg. %package doc Summary: Documentation for %pkg BuildArch: noarch %description doc Vector based 2D animation render. This package provides documentation and several examples for %pkg. %lang_package %endif # %if "%build_flavor" == "ETL" %package -n ETL-devel BuildRequires: pkgconfig(glibmm-2.4) 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 synfigstudio BuildRequires: intltool BuildRequires: pkgconfig(ETL) BuildRequires: pkgconfig(synfig) BuildRequires: pkgconfig(gtkmm-3.0) BuildRequires: pkgconfig(fontconfig) Summary: Shared library part of %pkg Requires: %pkg = %version %description -n synfigstudio %endif %prep %autosetup -p1 -n %pkg-%version %build %if "%build_flavor" == "" pushd synfig-core >> AUTHORS >> NEWS >> README bash -x bootstrap.sh %endif %if "%build_flavor" == "ETL" pushd ETL >> AUTHORS >> NEWS >> README autoreconf -fiv %endif %if "%build_flavor" == "studio" pushd synfig-studio >> AUTHORS >> NEWS >> README bash -x bootstrap.sh %endif CFLAGS='%optflags -Wno-deprecated-declarations' CXXFLAGS='%optflags -Wno-deprecated-declarations -Wno-unused-parameter' %configure --help %configure \ --disable-update-mimedb \ %nil %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" == "" popd %find_lang %pkg %{?no_lang_C} --without-gnome --without-kde find %buildroot -type f -name '*.la' -print -delete %post -n %soname%sover -p /sbin/ldconfig %postun -n %soname%sover -p /sbin/ldconfig %files %license LICENSE %_bindir/%pkg %config %_sysconfdir/* %files -n %soname%sover %_libdir/%soname.so.* %files modules %_libdir/%pkg %files devel %_bindir/%pkg-config %_includedir/* %_libdir/%soname.so %_libdir/pkgconfig/*.pc %files doc %dir %_libdir/%pkg %files lang -f %pkg.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
.