1 | %define pkg_version 1.0.2 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
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 | |
---|
11 | # imported from debian sid |
---|
12 | Patch0: c++11.patch |
---|
13 | Patch1: no-mod_ffmpeg.patch |
---|
14 | |
---|
15 | License: GPLv2 |
---|
16 | Group: Applications/Graphics |
---|
17 | URL: http://www.synfig.org/cms/ |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | BuildRequires: ETL-devel >= 0.04.17 |
---|
22 | BuildRequires: cairo-devel |
---|
23 | BuildRequires: pango-devel |
---|
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 |
---|
32 | BuildRequires: libtool |
---|
33 | BuildRequires: libboost-devel |
---|
34 | BuildRequires: libboost-program-options |
---|
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 |
---|
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 | |
---|
66 | %package devel |
---|
67 | Summary: Development files for synfig |
---|
68 | Group: Development/Libraries |
---|
69 | Requires: %{name} = %{version}-%{release} |
---|
70 | Requires: pkgconfig |
---|
71 | |
---|
72 | %description devel |
---|
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 |
---|
79 | %patch0 -p1 |
---|
80 | %patch1 -p1 |
---|
81 | |
---|
82 | %build |
---|
83 | export CXXFLAGS="%{optflags} -std=c++11" |
---|
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,-) |
---|
106 | %license COPYING |
---|
107 | %doc AUTHORS ChangeLog NEWS README |
---|
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 |
---|
116 | %{_includedir}/synfig-1.0 |
---|
117 | %{_libdir}/libsynfig.so |
---|
118 | %{_libdir}/pkgconfig/synfig.pc |
---|
119 | |
---|
120 | |
---|
121 | %changelog |
---|
122 | * Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1 |
---|
123 | - new upstream release. |
---|
124 | |
---|
125 | * Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-2 |
---|
126 | - rebuild with ImageMagick-6.9.1.4 |
---|
127 | |
---|
128 | * Mon Dec 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-3 |
---|
132 | - rebuild with ImageMagick-6.8.9.5 |
---|
133 | - add Patch0 (synfig-0.64.1-mod_png.patch) |
---|
134 | |
---|
135 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-2 |
---|
136 | - rebuild with icu-52.1 |
---|
137 | |
---|
138 | * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.0-1 |
---|
142 | - new upstream release |
---|
143 | - add BuildRequires: pango-devel, libboost-devel, libboost-program-options |
---|
144 | |
---|
145 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.05-1 |
---|
146 | - new upstream release |
---|
147 | |
---|
148 | * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.04-1 |
---|
149 | - new upstream release |
---|
150 | |
---|
151 | * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1 |
---|
155 | - initial build for Vine Linux |
---|
156 | |
---|