synfigstudio-vl.spec 3.6 KB

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