synfig/synfig.spec

196 lines
6.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: synfig
Version: 1.2.1
Release: 1mamba
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
Patch2: synfig-1.0.2-ImageMagick-7.0.3.2.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++2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libMagick-devel >= 7.0.3.2
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
%patch2 -p1
%build
#autoreconf -f -i
%configure
%make \
CXXFLAGS="$CXXFLAGS -std=c++11"
%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-*
%dir %{_includedir}/synfig-*/synfig
%{_includedir}/synfig-*/synfig/*
%{_libdir}/libsynfig.la
%{_libdir}/libsynfig.so
%{_libdir}/pkgconfig/synfig.pc
%doc ChangeLog ChangeLog.old NEWS README TODO
%changelog
* Tue Aug 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Oct 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- rebuilt with ImageMagick 7.0.3.2
* Thu Dec 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- update to 1.0.1
* Thu Jun 11 2015 Automatic Build System <autodist@mambasoft.it> 0.64.3-3mamba
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.1.4-1mamba
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.3-2mamba
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.0.4-1mamba
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 0.64.3-1mamba
- automatic version update by autodist
* Fri Nov 28 2014 Automatic Build System <autodist@mambasoft.it> 0.64.2-1mamba
- automatic version update by autodist
* 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