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 48)
Currently displaying revision
48
,
Show latest
%define build_flavor @BUILD_FLAVOR@%nil %define pkg synfig %define soname_core libsynfig %define sover_core 0 %define soname_studio libsynfigapp %define sover_studio 0 %global __provides_exclude_from ^%_libdir/%pkg/[^/]+/.*\\.so(|\\.[0-9].*)$ Name: synfig Version: 0 Release: 0 Summary: Vector based 2D animation render License: GPL-3.0+ URL: https://synfig.org Source0: %pkg-%version.tar BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig Requires: libmlt7-modules Conflicts: synfig-modules < %version-%release Conflicts: synfig-modules-debuginfo < %version-%release # %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_core%sover_core 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 %description -n %soname_core%sover_core Vector based 2D animation render. This package contains the shared library. %package devel Summary: Header files for the %pkg library Requires: %soname_core%sover_core = %version-%release Provides: %soname_core-devel = %version-%release Obsoletes: %soname_core-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: %soname_core%sover_core BuildRequires: %pkg BuildRequires: pkgconfig(ETL) BuildRequires: pkgconfig(synfig) BuildRequires: pkgconfig(gtkmm-3.0) BuildRequires: pkgconfig(fontconfig) Summary: GUI of %pkg Requires: %pkg = %version Requires: %soname_studio%sover_studio = %version %description -n synfigstudio %package -n synfigstudio-devel Summary: Header files for the %soname_studio%sover_studio library Requires: %soname_studio%sover_studio = %version %description -n synfigstudio-devel %package -n %soname_studio%sover_studio Summary: Shared library part of %pkg %description -n %soname_studio%sover_studio %lang_package %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 \ --enable-nls \ --disable-update-mimedb \ %nil %make_build -k %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 popd find %buildroot -type f -name '*.la' -print -delete %if "%build_flavor" == "" %find_lang %pkg %{?no_lang_C} --without-gnome --without-kde %endif %if "%build_flavor" == "studio" %find_lang synfigstudio %{?no_lang_C} --without-gnome --without-kde %endif %if "%build_flavor" == "" %post -n %soname_core%sover_core -p /sbin/ldconfig %postun -n %soname_core%sover_core -p /sbin/ldconfig %files %license LICENSE %_bindir/%pkg %_libdir/%pkg %config %_sysconfdir/* %files -n %soname_core%sover_core %_libdir/%soname_core.so.* %files devel %_bindir/%pkg-config %_includedir/* %_libdir/%soname_core.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" %post -n %soname_studio%sover_studio -p /sbin/ldconfig %postun -n %soname_studio%sover_studio -p /sbin/ldconfig %files -n %soname_studio%sover_studio %_libdir/%soname_studio.so.* %files lang -f synfigstudio.lang %files -n synfigstudio %_bindir/* %_datadir/%pkg %_datadir/appdata/* %_datadir/applications/* %_datadir/icons/* %_datadir/mime-info %_datadir/mime/packages/* %files -n synfigstudio-devel %_includedir/* %_libdir/%soname_studio.so %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
.