synfigstudio-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define pkg_version 0.63.04
  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}
  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}/applications/synfigstudio.desktop
  69. %{_datadir}/icons/hicolor/*/apps/*
  70. %{_datadir}/mime/application/x-sif.xml
  71. %{_datadir}/mime/packages/synfigstudio.xml
  72. %{_datadir}/mime-info/synfigstudio.*
  73. %{_datadir}/pixmaps/synfigstudio
  74. %{_datadir}/pixmaps/sif_icon.png
  75. %{_datadir}/pixmaps/synfig_icon.png
  76. %files devel
  77. %defattr(-,root,root,-)
  78. %{_includedir}/synfigapp-0.0
  79. %{_libdir}/libsynfigapp.so
  80. %changelog
  81. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.04-1
  82. - new upstream release
  83. * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1
  84. - new upstream release
  85. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1
  86. - initial build for Vine Linux