synfigstudio-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. %define pkg_version 1.0.2
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Vector animation studio
  4. Name: synfigstudio
  5. Version: %{pkg_version}
  6. Release: %{pkg_release}
  7. Source0: %{name}-%{version}.tar.gz
  8. Patch0: c++11.patch
  9. License: GPLv2
  10. Group: Applications/Graphics
  11. URL: http://www.synfig.org/cms/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: synfig-devel
  14. BuildRequires: gtkmm3-devel
  15. Requires: synfig
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. synfig is a vector based 2D animation package. It is designed to be
  21. capable of producing feature-film quality animation. It eliminates the
  22. need for tweening, preventing the need to hand-draw each frame. synfig
  23. features spatial and temporal resolution independence (sharp and smooth
  24. at any resolution or framerate), high dynamic range images, and a
  25. flexible plugin system.
  26. synfigstudio is the animation studio for synfig and provides the GUI
  27. interface to create synfig animations which are saved in synfig .sif
  28. or .sifz format.
  29. %package devel
  30. Summary: Development files for synfigstudio
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description devel
  34. This package contains the libraries and header files that are needed
  35. for writing applications that are using synfigstudio.
  36. %prep
  37. %setup -q
  38. %patch0 -p1 -b .c++11
  39. %build
  40. export CXXFLAGS="%{optflags} -std=c++11"
  41. %configure \
  42. --disable-static
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf $RPM_BUILD_ROOT
  46. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  47. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  48. %{__rm} -f $RPM_BUILD_ROOT%{_datadir}/mime/{XMLnamespaces,aliases,generic-icons,globs,globs2,icons,magic,mime.cache,subclasses,treemagic,types,version}
  49. %find_lang %{name}
  50. %clean
  51. %{__rm} -rf $RPM_BUILD_ROOT
  52. %post
  53. /sbin/ldconfig
  54. update-mime-database %{_datadir}/mime &> /dev/null || :
  55. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  56. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  57. update-desktop-database %{_datadir}/applications >& /dev/null || :
  58. %postun
  59. /sbin/ldconfig
  60. if [ $1 -eq 0 ] ; then
  61. update-mime-database %{_datadir}/mime &> /dev/null || :
  62. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  63. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  64. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  65. fi
  66. %files -f %{name}.lang
  67. %defattr(-,root,root,-)
  68. %license COPYING
  69. %doc AUTHORS ChangeLog NEWS README
  70. %{_bindir}/synfigstudio
  71. %{_libdir}/libsynfigapp.so.*
  72. %{_datadir}/appdata/synfigstudio.appdata.xml
  73. %{_datadir}/applications/synfigstudio.desktop
  74. %{_datadir}/icons/hicolor/*/apps/*
  75. %{_datadir}/mime/application/x-sif.xml
  76. %{_datadir}/mime/packages/synfigstudio.xml
  77. %{_datadir}/mime-info/synfigstudio.*
  78. %{_datadir}/pixmaps/synfigstudio
  79. %{_datadir}/pixmaps/sif_icon.png
  80. %{_datadir}/pixmaps/synfig_icon.png
  81. %{_datadir}/synfig
  82. %files devel
  83. %defattr(-,root,root,-)
  84. %{_includedir}/synfigapp-0.0
  85. %{_libdir}/libsynfigapp.so
  86. %changelog
  87. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1
  88. - new upstream release.
  89. * Mon Dec 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-1
  90. - new upstream release
  91. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-1
  92. - new upstream release
  93. * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.0-1
  94. - new upstream release
  95. * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.05-1
  96. - new upstream release
  97. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.04-1
  98. - new upstream release
  99. * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1
  100. - new upstream release
  101. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1
  102. - initial build for Vine Linux