synfig-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. %define pkg_version 1.0.2
  2. %define pkg_release 2%{?_dist_release}
  3. Summary: Vector animation rendere
  4. Name: synfig
  5. Version: %{pkg_version}
  6. Release: %{pkg_release}
  7. Source0: %{name}-%{version}.tar.gz
  8. # imported from debian sid
  9. Patch0: c++11.patch
  10. Patch1: no-mod_ffmpeg.patch
  11. License: GPLv2
  12. Group: Applications/Graphics
  13. URL: http://www.synfig.org/cms/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: ETL-devel >= 0.04.17
  16. BuildRequires: cairo-devel
  17. BuildRequires: pango-devel
  18. BuildRequires: fontconfig-devel
  19. BuildRequires: freetype2-devel
  20. BuildRequires: ImageMagick-c++-devel
  21. BuildRequires: libxml++-devel
  22. BuildRequires: libjpeg-turbo-devel
  23. BuildRequires: libmng-devel
  24. BuildRequires: libpng-devel
  25. BuildRequires: libtool-ltdl-devel
  26. BuildRequires: libtool
  27. BuildRequires: libboost-devel
  28. BuildRequires: libboost-program-options
  29. BuildRequires: libboost-system
  30. BuildRequires: libboost-filesystem
  31. BuildRequires: libboost-chrono
  32. BuildRequires: libsigc++-devel
  33. BuildRequires: libtiff-devel
  34. BuildRequires: OpenEXR-devel
  35. BuildRequires: autoconf automake gettext-devel
  36. BuildRequires: mlt-devel fftw3-devel
  37. # FIXME: Lack of this causes synfig to segfault
  38. Requires: urw-fonts
  39. Vendor: Project Vine
  40. Distribution: Vine Linux
  41. Packager: Takemikaduchi
  42. %description
  43. synfig is a vector based 2D animation package. It is designed to be
  44. capable of producing feature-film quality animation. It eliminates the
  45. need for tweening, preventing the need to hand-draw each frame. synfig
  46. features spatial and temporal resolution independence (sharp and smooth
  47. at any resolution or framerate), high dynamic range images, and a
  48. flexible plugin system.
  49. This package contains the renderer used to convert synfig .sif files to
  50. raster images, videos and other formats. Layer types include geometric,
  51. gradient, filter, distortion, transformation, fractal and others. Output
  52. targets include JPEG, PNG, GIF, BMP, PPM, DV, OpenEXR, ffmpeg (MPEG1),
  53. libavcodec (AVI), imagemagick (MIFF), yuv420p, MNG and others.
  54. %package devel
  55. Summary: Development files for synfig
  56. Group: Development/Libraries
  57. Requires: %{name} = %{version}-%{release}
  58. Requires: pkgconfig
  59. %description devel
  60. This package contains the libraries and header files that are needed
  61. for writing applications that are using synfig.
  62. %prep
  63. %setup -q
  64. %patch0 -p1
  65. %patch1 -p1
  66. %build
  67. export CXXFLAGS="%{optflags} -std=c++11"
  68. %configure \
  69. --disable-static
  70. %{__make} %{?_smp_mflags}
  71. %install
  72. %{__rm} -rf $RPM_BUILD_ROOT
  73. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  74. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  75. %find_lang %{name}
  76. %clean
  77. %{__rm} -rf $RPM_BUILD_ROOT
  78. %post -p /sbin/ldconfig
  79. %postun -p/sbin/ldconfig
  80. %files -f %{name}.lang
  81. %defattr(-,root,root,-)
  82. %license COPYING
  83. %doc AUTHORS ChangeLog NEWS README
  84. %{_sysconfdir}/synfig_modules.cfg
  85. %{_bindir}/synfig
  86. %{_libdir}/libsynfig.so.*
  87. %{_libdir}/synfig/modules/*.so
  88. %files devel
  89. %defattr(-,root,root,-)
  90. %{_bindir}/synfig-config
  91. %{_includedir}/synfig-1.0
  92. %{_libdir}/libsynfig.so
  93. %{_libdir}/pkgconfig/synfig.pc
  94. %changelog
  95. * Mon Jan 08 2018 Toshiaki Ara <ara_t@384.jp> 1.0.2-2
  96. - rebuild with libboost-1.66.0
  97. * Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-1
  98. - new upstream release.
  99. * Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-2
  100. - rebuild with ImageMagick-6.9.1.4
  101. * Mon Dec 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.2-1
  102. - new upstream release
  103. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-3
  104. - rebuild with ImageMagick-6.8.9.5
  105. - add Patch0 (synfig-0.64.1-mod_png.patch)
  106. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-2
  107. - rebuild with icu-52.1
  108. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.1-1
  109. - new upstream release
  110. * Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.64.0-1
  111. - new upstream release
  112. - add BuildRequires: pango-devel, libboost-devel, libboost-program-options
  113. * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.05-1
  114. - new upstream release
  115. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.04-1
  116. - new upstream release
  117. * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1
  118. - new upstream release
  119. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1
  120. - initial build for Vine Linux