123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- %define pkg_version 1.0.2
- %define pkg_release 1%{?_dist_release}
- Summary: Vector animation studio
- Name: synfigstudio
- Version: %{pkg_version}
- Release: %{pkg_release}
- Source0: %{name}-%{version}.tar.gz
- Patch0: c++11.patch
- License: GPLv2
- Group: Applications/Graphics
- URL: http://www.synfig.org/cms/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: synfig-devel
- BuildRequires: gtkmm3-devel
- Requires: synfig
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %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.
- synfigstudio is the animation studio for synfig and provides the GUI
- interface to create synfig animations which are saved in synfig .sif
- or .sifz format.
- %package devel
- Summary: Development files for synfigstudio
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- This package contains the libraries and header files that are needed
- for writing applications that are using synfigstudio.
- %prep
- %setup -q
- %patch0 -p1 -b .c++11
- %build
- export CXXFLAGS="%{optflags} -std=c++11"
- %configure \
- --disable-static
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf $RPM_BUILD_ROOT
- %{__make} install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
- %{__rm} -f $RPM_BUILD_ROOT%{_datadir}/mime/{XMLnamespaces,aliases,generic-icons,globs,globs2,icons,magic,mime.cache,subclasses,treemagic,types,version}
- %find_lang %{name}
- %clean
- %{__rm} -rf $RPM_BUILD_ROOT
- %post
- /sbin/ldconfig
- update-mime-database %{_datadir}/mime &> /dev/null || :
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- update-desktop-database %{_datadir}/applications >& /dev/null || :
- %postun
- /sbin/ldconfig
- if [ $1 -eq 0 ] ; then
- update-mime-database %{_datadir}/mime &> /dev/null || :
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- fi
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %license COPYING
- %doc AUTHORS ChangeLog NEWS README
- %{_bindir}/synfigstudio
- %{_libdir}/libsynfigapp.so.*
- %{_datadir}/appdata/synfigstudio.appdata.xml
- %{_datadir}/applications/synfigstudio.desktop
- %{_datadir}/icons/hicolor/*/apps/*
- %{_datadir}/mime/application/x-sif.xml
- %{_datadir}/mime/packages/synfigstudio.xml
- %{_datadir}/mime-info/synfigstudio.*
- %{_datadir}/pixmaps/synfigstudio
- %{_datadir}/pixmaps/sif_icon.png
- %{_datadir}/pixmaps/synfig_icon.png
- %{_datadir}/synfig
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/synfigapp-0.0
- %{_libdir}/libsynfigapp.so
- %changelog
- * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1
- - new upstream release.
- * Mon Dec 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-1
- - new upstream release
- * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-1
- - new upstream release
- * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.0-1
- - new upstream release
- * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.05-1
- - new upstream release
- * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.04-1
- - new upstream release
- * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1
- - new upstream release
- * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1
- - initial build for Vine Linux
|