2015-12-23 19:42:00 +01:00
|
|
|
%define debug_package %{nil}
|
2015-06-02 01:00:44 +10:00
|
|
|
|
2015-12-23 19:42:00 +01:00
|
|
|
%define major 0
|
|
|
|
%define libname %mklibname %{name} %{major}
|
|
|
|
%define devname %mklibname %{name} -d
|
2012-02-01 22:12:04 +04:00
|
|
|
|
2015-03-28 11:24:22 +04:00
|
|
|
Summary: Vector-based 2D animation renderer
|
2015-06-02 01:00:44 +10:00
|
|
|
Name: synfig
|
2018-12-22 16:02:48 +03:00
|
|
|
Version: 1.2.2
|
|
|
|
Release: 1
|
2015-06-02 01:00:44 +10:00
|
|
|
License: GPLv3+
|
2012-02-01 22:12:04 +04:00
|
|
|
Group: Graphics
|
2015-06-02 01:00:44 +10:00
|
|
|
Url: http://www.synfig.org
|
2013-06-08 21:36:53 +02:00
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
Source100: %{name}.rpmlintrc
|
2018-12-22 16:02:48 +03:00
|
|
|
Patch0: synfig-1.0.1-buildfix.patch
|
|
|
|
Patch1: synfig-1.1.10-optflags.patch
|
2017-01-13 19:21:52 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
#BuildRequires: automake1.4
|
|
|
|
BuildRequires: config(autoconf)
|
2012-02-01 22:12:04 +04:00
|
|
|
BuildRequires: cvs
|
2018-12-22 17:15:44 +03:00
|
|
|
BuildRequires: intltool
|
2016-01-02 18:04:09 +01:00
|
|
|
BuildRequires: boost-devel >= 1.53.0
|
2012-02-01 22:12:04 +04:00
|
|
|
BuildRequires: ffmpeg-devel
|
2012-11-16 12:10:58 +11:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: jpeg-devel
|
|
|
|
BuildRequires: libltdl-devel
|
2017-01-13 19:21:52 +01:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.12.0
|
|
|
|
BuildRequires: pkgconfig(ETL) >= 0.4.22
|
|
|
|
BuildRequires: pkgconfig(fftw3)
|
2012-11-16 12:10:58 +11:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2016-01-02 18:04:09 +01:00
|
|
|
BuildRequires: pkgconfig(giomm-2.4) >= 2.18.2
|
|
|
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.24.2
|
2015-03-28 11:24:22 +04:00
|
|
|
BuildRequires: pkgconfig(GraphicsMagick++)
|
2015-12-23 19:42:00 +01:00
|
|
|
BuildRequires: pkgconfig(ImageMagick) >= 6.4.2
|
2015-06-02 01:00:44 +10:00
|
|
|
BuildRequires: pkgconfig(libmng)
|
2012-11-16 12:10:58 +11:00
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libxml++-2.6)
|
2015-05-15 00:27:55 +04:00
|
|
|
BuildRequires: pkgconfig(mlt++)
|
2012-11-16 12:10:58 +11:00
|
|
|
BuildRequires: pkgconfig(OpenEXR)
|
2015-06-02 01:00:44 +10:00
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
BuildRequires: pkgconfig(pangocairo)
|
2012-11-16 12:10:58 +11:00
|
|
|
BuildRequires: pkgconfig(sigc++-2.0)
|
2017-01-13 19:21:52 +01:00
|
|
|
Requires: ffmpeg
|
2012-02-01 22:12:04 +04:00
|
|
|
Requires: libdv-apps
|
|
|
|
Requires: imagemagick
|
2012-11-16 17:07:43 +04:00
|
|
|
Requires: x11-font-cursor-misc
|
|
|
|
Requires: x11-font-misc
|
2017-01-13 19:21:52 +01:00
|
|
|
|
2012-02-01 22:12:04 +04:00
|
|
|
|
|
|
|
%description
|
2013-06-08 21:36:53 +02:00
|
|
|
synfig is a vector based 2D animation renderer. It is designed to be capable
|
|
|
|
of producing feature-film quality animation.
|
|
|
|
This package contains the command-line renderer. For the GUI animation editor,
|
|
|
|
please install synfigstudio.
|
2012-02-01 22:12:04 +04:00
|
|
|
|
2013-06-08 21:36:53 +02:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}_modules.cfg
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_libdir}/%{name}
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
2012-02-01 22:12:04 +04:00
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
Summary: Shared library for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %{libname}
|
2013-06-08 21:36:53 +02:00
|
|
|
synfig is a vector based 2D animation renderer. It is designed to be capable
|
|
|
|
of producing feature-film quality animation.
|
2012-02-01 22:12:04 +04:00
|
|
|
This package contains the shared library provided by synfig.
|
|
|
|
|
2013-06-08 21:36:53 +02:00
|
|
|
%files -n %{libname}
|
|
|
|
%doc COPYING ChangeLog NEWS
|
|
|
|
%{_libdir}/lib*.so.%{major}*
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
|
2015-06-02 01:00:44 +10:00
|
|
|
%package -n %{devname}
|
2012-02-01 22:12:04 +04:00
|
|
|
Summary: Development headers and libraries for %{name}
|
|
|
|
Group: Development/C++
|
2014-06-06 19:40:52 +11:00
|
|
|
Provides: %{name}-devel = %{EVRD}
|
2015-03-28 11:24:22 +04:00
|
|
|
Requires: %{libname} = %{EVRD}
|
2012-02-01 22:12:04 +04:00
|
|
|
|
2015-06-02 01:00:44 +10:00
|
|
|
%description -n %{devname}
|
2013-06-08 21:36:53 +02:00
|
|
|
synfig is a vector based 2D animation renderer. It is designed to be capable
|
|
|
|
of producing feature-film quality animation.
|
|
|
|
This package contains the development files for the shared library provided
|
|
|
|
by synfig.
|
|
|
|
|
2015-06-02 01:00:44 +10:00
|
|
|
%files -n %{devname}
|
2013-06-08 21:36:53 +02:00
|
|
|
%doc COPYING ChangeLog NEWS
|
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
%{_includedir}/%{name}-*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2012-02-01 22:12:04 +04:00
|
|
|
|
2013-06-08 21:36:53 +02:00
|
|
|
#-----------------------------------------------------------------------------
|
2012-02-01 22:12:04 +04:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-06-08 23:39:23 +04:00
|
|
|
%patch0 -p1
|
2016-11-11 23:32:10 +10:00
|
|
|
%patch1 -p1
|
2017-01-13 19:21:52 +01:00
|
|
|
|
2012-02-01 22:12:04 +04:00
|
|
|
%build
|
2015-03-28 11:24:22 +04:00
|
|
|
export CC=gcc
|
|
|
|
export CXX=g++
|
2017-01-13 19:21:52 +01:00
|
|
|
autoreconf -vfi
|
2018-12-22 16:02:48 +03:00
|
|
|
intltoolize --copy --force
|
2017-01-13 19:21:52 +01:00
|
|
|
# FIXME Enabling magickpp makes the build fail:
|
|
|
|
# 'GetExceptionInfo' is not a member of 'MagickCore'
|
2016-11-11 23:09:10 +10:00
|
|
|
%configure2_5x \
|
|
|
|
--disable-static \
|
2018-12-22 16:02:48 +03:00
|
|
|
--with-imagemagick
|
2012-02-01 22:12:04 +04:00
|
|
|
%make
|
2012-11-16 21:22:43 +11:00
|
|
|
|
2017-01-13 19:21:52 +01:00
|
|
|
|
2012-02-01 22:12:04 +04:00
|
|
|
%install
|
|
|
|
%makeinstall_std
|
|
|
|
|
2015-12-23 19:42:00 +01:00
|
|
|
# FIXME zh-Hant is not supported by Rosa language tree:
|
|
|
|
# remove offending lang file until we will support it
|
|
|
|
# and avoid 2 rpmlint errors
|
|
|
|
rm -rf %{buildroot}%{_datadir}/locale/zh-Hant
|
|
|
|
|
2012-02-01 22:12:04 +04:00
|
|
|
%find_lang %{name}
|