synfig/synfig.spec

164 lines
5.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: synfig
Version: 0.64.1
Release: 2mamba
Summary: A vector based 2D animation package
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.synfig.org/
Source: http://downloads.sourceforge.net/project/synfig/releases/%{version}/source/synfig-%{version}.tar.gz
Patch0: synfig-0.64.0-gcc-4.8.patch
Patch1: synfig-0.64.0-libpng-1.6.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: etl-devel
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libilmbase-devel
BuildRequires: libjpeg-devel
BuildRequires: libltdl-devel
BuildRequires: libmng-devel
BuildRequires: libopenexr-devel
BuildRequires: libpango-devel
BuildRequires: libpng14-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libxml++-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: etl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
synfig is a vector based 2D animation package. It is designed to be capable of producing feature-film quality animation. It eliminates the need for tweening, preventing the need to hand-draw each frame. synfig features spatial and temporal resolution independence (sharp and smooth at any resolution or framerate), high dynamic range images, and a flexible plugin system.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
autoreconf -f -i
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/synfig
%files -n lib%{name}
%defattr(-,root,root)
%{_sysconfdir}/synfig_modules.cfg
%{_libdir}/libsynfig.so.*
%dir %{_libdir}/synfig/modules
%{_libdir}/synfig/modules/liblyr_freetype.la
%{_libdir}/synfig/modules/liblyr_freetype.so
%{_libdir}/synfig/modules/liblyr_std.la
%{_libdir}/synfig/modules/liblyr_std.so
%{_libdir}/synfig/modules/libmod_bmp.la
%{_libdir}/synfig/modules/libmod_bmp.so
%{_libdir}/synfig/modules/libmod_dv.la
%{_libdir}/synfig/modules/libmod_dv.so
%{_libdir}/synfig/modules/libmod_example.la
%{_libdir}/synfig/modules/libmod_example.so
%{_libdir}/synfig/modules/libmod_ffmpeg.la
%{_libdir}/synfig/modules/libmod_ffmpeg.so
%{_libdir}/synfig/modules/libmod_filter.la
%{_libdir}/synfig/modules/libmod_filter.so
%{_libdir}/synfig/modules/libmod_geometry.la
%{_libdir}/synfig/modules/libmod_geometry.so
%{_libdir}/synfig/modules/libmod_gif.la
%{_libdir}/synfig/modules/libmod_gif.so
%{_libdir}/synfig/modules/libmod_gradient.la
%{_libdir}/synfig/modules/libmod_gradient.so
%{_libdir}/synfig/modules/libmod_imagemagick.la
%{_libdir}/synfig/modules/libmod_imagemagick.so
%{_libdir}/synfig/modules/libmod_jpeg.la
%{_libdir}/synfig/modules/libmod_jpeg.so
%{_libdir}/synfig/modules/libmod_magickpp.la
%{_libdir}/synfig/modules/libmod_magickpp.so
%{_libdir}/synfig/modules/libmod_mng.la
%{_libdir}/synfig/modules/libmod_mng.so
%{_libdir}/synfig/modules/libmod_noise.la
%{_libdir}/synfig/modules/libmod_noise.so
%{_libdir}/synfig/modules/libmod_openexr.la
%{_libdir}/synfig/modules/libmod_openexr.so
%{_libdir}/synfig/modules/libmod_particle.la
%{_libdir}/synfig/modules/libmod_particle.so
%{_libdir}/synfig/modules/libmod_png.la
%{_libdir}/synfig/modules/libmod_png.so
%{_libdir}/synfig/modules/libmod_ppm.la
%{_libdir}/synfig/modules/libmod_ppm.so
%{_libdir}/synfig/modules/libmod_svg.la
%{_libdir}/synfig/modules/libmod_svg.so
%{_libdir}/synfig/modules/libmod_yuv420p.la
%{_libdir}/synfig/modules/libmod_yuv420p.so
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/synfig-config
%dir %{_includedir}/synfig-0.0
%dir %{_includedir}/synfig-0.0/synfig
%{_includedir}/synfig-0.0/synfig/*.h
%{_libdir}/libsynfig.la
%{_libdir}/libsynfig.so
%{_libdir}/pkgconfig/synfig.pc
%doc ChangeLog ChangeLog.old NEWS README TODO
%changelog
* Tue Apr 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.1-2mamba
- rebuilt with openexr 2.1.0
* Fri Mar 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.1-1mamba
- update to 0.64.1
* Mon Dec 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.0-3mamba
- rebuilt with boost 1.55
* Fri Sep 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.0-2mamba
- added configure.in patch to link against libpng16
* Thu Sep 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.0-1mamba
- package created by silvan using the webbuild interface