|
@@ -1,5 +1,5 @@
|
|
|
-%define pkg_version 0.64.2
|
|
|
-%define pkg_release 2%{?_dist_release}
|
|
|
+%define pkg_version 1.0.2
|
|
|
+%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
Summary: Vector animation rendere
|
|
|
Name: synfig
|
|
@@ -8,7 +8,9 @@ Release: %{pkg_release}
|
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
-Patch0: synfig-0.64.1-mod_png.patch
|
|
|
+# imported from debian sid
|
|
|
+Patch0: c++11.patch
|
|
|
+Patch1: no-mod_ffmpeg.patch
|
|
|
|
|
|
License: GPLv2
|
|
|
Group: Applications/Graphics
|
|
@@ -16,7 +18,8 @@ URL: http://www.synfig.org/cms/
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-BuildRequires: ETL-devel
|
|
|
+BuildRequires: ETL-devel >= 0.04.17
|
|
|
+BuildRequires: cairo-devel
|
|
|
BuildRequires: pango-devel
|
|
|
BuildRequires: fontconfig-devel
|
|
|
BuildRequires: freetype2-devel
|
|
@@ -26,8 +29,19 @@ BuildRequires: libjpeg-turbo-devel
|
|
|
BuildRequires: libmng-devel
|
|
|
BuildRequires: libpng-devel
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
+BuildRequires: libtool
|
|
|
BuildRequires: libboost-devel
|
|
|
BuildRequires: libboost-program-options
|
|
|
+BuildRequires: libboost-system
|
|
|
+BuildRequires: libboost-filesystem
|
|
|
+BuildRequires: libboost-chrono
|
|
|
+BuildRequires: libsigc++-devel
|
|
|
+BuildRequires: libtiff-devel
|
|
|
+BuildRequires: OpenEXR-devel
|
|
|
+BuildRequires: autoconf automake gettext-devel
|
|
|
+BuildRequires: mlt-devel fftw3-devel
|
|
|
+# FIXME: Lack of this causes synfig to segfault
|
|
|
+Requires: urw-fonts
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -63,8 +77,10 @@ for writing applications that are using synfig.
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
|
|
|
%build
|
|
|
+export CXXFLAGS="%{optflags} -std=c++11"
|
|
|
%configure \
|
|
|
--disable-static
|
|
|
|
|
@@ -87,7 +103,8 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
+%license COPYING
|
|
|
+%doc AUTHORS ChangeLog NEWS README
|
|
|
%{_sysconfdir}/synfig_modules.cfg
|
|
|
%{_bindir}/synfig
|
|
|
%{_libdir}/libsynfig.so.*
|
|
@@ -96,12 +113,15 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_bindir}/synfig-config
|
|
|
-%{_includedir}/synfig-0.0
|
|
|
+%{_includedir}/synfig-1.0
|
|
|
%{_libdir}/libsynfig.so
|
|
|
%{_libdir}/pkgconfig/synfig.pc
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-2
|
|
|
- rebuild with ImageMagick-6.9.1.4
|
|
|
|