[10588] | 1 | %define pkg_version 1.0.2 |
---|
[11362] | 2 | %define pkg_release 2%{?_dist_release} |
---|
[4881] | 3 | |
---|
| 4 | Summary: Vector animation rendere |
---|
| 5 | Name: synfig |
---|
| 6 | Version: %{pkg_version} |
---|
| 7 | Release: %{pkg_release} |
---|
| 8 | |
---|
| 9 | Source0: %{name}-%{version}.tar.gz |
---|
| 10 | |
---|
[10588] | 11 | # imported from debian sid |
---|
| 12 | Patch0: c++11.patch |
---|
| 13 | Patch1: no-mod_ffmpeg.patch |
---|
[8721] | 14 | |
---|
[4881] | 15 | License: GPLv2 |
---|
| 16 | Group: Applications/Graphics |
---|
| 17 | URL: http://www.synfig.org/cms/ |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
[10588] | 21 | BuildRequires: ETL-devel >= 0.04.17 |
---|
| 22 | BuildRequires: cairo-devel |
---|
[7766] | 23 | BuildRequires: pango-devel |
---|
[4881] | 24 | BuildRequires: fontconfig-devel |
---|
| 25 | BuildRequires: freetype2-devel |
---|
| 26 | BuildRequires: ImageMagick-c++-devel |
---|
| 27 | BuildRequires: libxml++-devel |
---|
| 28 | BuildRequires: libjpeg-turbo-devel |
---|
| 29 | BuildRequires: libmng-devel |
---|
| 30 | BuildRequires: libpng-devel |
---|
| 31 | BuildRequires: libtool-ltdl-devel |
---|
[10588] | 32 | BuildRequires: libtool |
---|
[7766] | 33 | BuildRequires: libboost-devel |
---|
| 34 | BuildRequires: libboost-program-options |
---|
[10588] | 35 | BuildRequires: libboost-system |
---|
| 36 | BuildRequires: libboost-filesystem |
---|
| 37 | BuildRequires: libboost-chrono |
---|
| 38 | BuildRequires: libsigc++-devel |
---|
| 39 | BuildRequires: libtiff-devel |
---|
| 40 | BuildRequires: OpenEXR-devel |
---|
| 41 | BuildRequires: autoconf automake gettext-devel |
---|
| 42 | BuildRequires: mlt-devel fftw3-devel |
---|
| 43 | # FIXME: Lack of this causes synfig to segfault |
---|
| 44 | Requires: urw-fonts |
---|
[4881] | 45 | |
---|
| 46 | Vendor: Project Vine |
---|
| 47 | Distribution: Vine Linux |
---|
| 48 | Packager: Takemikaduchi |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %description |
---|
| 52 | synfig is a vector based 2D animation package. It is designed to be |
---|
| 53 | capable of producing feature-film quality animation. It eliminates the |
---|
| 54 | need for tweening, preventing the need to hand-draw each frame. synfig |
---|
| 55 | features spatial and temporal resolution independence (sharp and smooth |
---|
| 56 | at any resolution or framerate), high dynamic range images, and a |
---|
| 57 | flexible plugin system. |
---|
| 58 | |
---|
| 59 | This package contains the renderer used to convert synfig .sif files to |
---|
| 60 | raster images, videos and other formats. Layer types include geometric, |
---|
| 61 | gradient, filter, distortion, transformation, fractal and others. Output |
---|
| 62 | targets include JPEG, PNG, GIF, BMP, PPM, DV, OpenEXR, ffmpeg (MPEG1), |
---|
| 63 | libavcodec (AVI), imagemagick (MIFF), yuv420p, MNG and others. |
---|
| 64 | |
---|
| 65 | |
---|
[8721] | 66 | %package devel |
---|
[4881] | 67 | Summary: Development files for synfig |
---|
| 68 | Group: Development/Libraries |
---|
| 69 | Requires: %{name} = %{version}-%{release} |
---|
| 70 | Requires: pkgconfig |
---|
| 71 | |
---|
[8721] | 72 | %description devel |
---|
[4881] | 73 | This package contains the libraries and header files that are needed |
---|
| 74 | for writing applications that are using synfig. |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %prep |
---|
| 78 | %setup -q |
---|
[8721] | 79 | %patch0 -p1 |
---|
[10588] | 80 | %patch1 -p1 |
---|
[4881] | 81 | |
---|
| 82 | %build |
---|
[10588] | 83 | export CXXFLAGS="%{optflags} -std=c++11" |
---|
[4881] | 84 | %configure \ |
---|
| 85 | --disable-static |
---|
| 86 | |
---|
| 87 | %{__make} %{?_smp_mflags} |
---|
| 88 | |
---|
| 89 | %install |
---|
| 90 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 91 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 92 | |
---|
| 93 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
| 94 | |
---|
| 95 | %find_lang %{name} |
---|
| 96 | |
---|
| 97 | %clean |
---|
| 98 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 99 | |
---|
| 100 | %post -p /sbin/ldconfig |
---|
| 101 | |
---|
| 102 | %postun -p/sbin/ldconfig |
---|
| 103 | |
---|
| 104 | %files -f %{name}.lang |
---|
| 105 | %defattr(-,root,root,-) |
---|
[10588] | 106 | %license COPYING |
---|
| 107 | %doc AUTHORS ChangeLog NEWS README |
---|
[4881] | 108 | %{_sysconfdir}/synfig_modules.cfg |
---|
| 109 | %{_bindir}/synfig |
---|
| 110 | %{_libdir}/libsynfig.so.* |
---|
| 111 | %{_libdir}/synfig/modules/*.so |
---|
| 112 | |
---|
| 113 | %files devel |
---|
| 114 | %defattr(-,root,root,-) |
---|
| 115 | %{_bindir}/synfig-config |
---|
[10588] | 116 | %{_includedir}/synfig-1.0 |
---|
[4881] | 117 | %{_libdir}/libsynfig.so |
---|
| 118 | %{_libdir}/pkgconfig/synfig.pc |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | %changelog |
---|
[11362] | 122 | * Mon Jan 08 2018 Toshiaki Ara <ara_t@384.jp> 1.0.2-2 |
---|
| 123 | - rebuild with libboost-1.66.0 |
---|
| 124 | |
---|
[10588] | 125 | * Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1 |
---|
| 126 | - new upstream release. |
---|
| 127 | |
---|
[9686] | 128 | * Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-2 |
---|
| 129 | - rebuild with ImageMagick-6.9.1.4 |
---|
| 130 | |
---|
[9126] | 131 | * Mon Dec 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
[8721] | 134 | * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-3 |
---|
| 135 | - rebuild with ImageMagick-6.8.9.5 |
---|
| 136 | - add Patch0 (synfig-0.64.1-mod_png.patch) |
---|
| 137 | |
---|
[8084] | 138 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-2 |
---|
| 139 | - rebuild with icu-52.1 |
---|
| 140 | |
---|
[8034] | 141 | * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
[7766] | 144 | * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.0-1 |
---|
| 145 | - new upstream release |
---|
| 146 | - add BuildRequires: pango-devel, libboost-devel, libboost-program-options |
---|
| 147 | |
---|
[6082] | 148 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.05-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[5809] | 151 | * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.04-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[5333] | 154 | * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
[4881] | 157 | * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1 |
---|
| 158 | - initial build for Vine Linux |
---|
| 159 | |
---|