gimp-gap-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Summary: The GIMP Animation Package.
  2. Summary(ja): GIMP アニメーションパッケージ
  3. Name: gimp-gap
  4. Version: 2.2.2
  5. %define gapmajorver %(echo %version | sed 's|\\..*||g')
  6. %define gapminorver %(echo %version | sed 's|^%{gapmajorver}\\.||g;s|\\..*||g')
  7. %define gapmicrover %(echo %version | sed 's|^%{gapmajorver}\\.%{gapminorver}\\.||g;s|\\..*||g')
  8. Release: 0vl1
  9. Group: Applications/Multimedia
  10. License: GPL
  11. URL: http://www.gimp.org
  12. Source: ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.2/gap/gimp-gap-%{version}.tar.bz2
  13. Patch0: gimp-gap-2.0.0-buildroot.patch
  14. Patch1: gimp-gap-2.0.2-arrayindex.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: gimp-devel >= 2.2.7-0vl2 automake sed
  17. Requires: gimp >= 2.2.0
  18. %description
  19. The GIMP-GAP (GIMP Animation Package) is a collection of Plug-Ins to
  20. extend GIMP 2.0 with capabilities to edit and create animations as
  21. sequences of single frames.
  22. %prep
  23. %setup -q
  24. %patch0 -p1 -b .buildroot
  25. %patch1 -p1 -b .arrayindex
  26. %build
  27. %define gapplugindir %(gimptool --gimpplugindir)/plug-ins
  28. %define scriptdatadir %(gimptool --gimpdatadir)/scripts
  29. %define gaplibexecdir %{_libexecdir}/gimp-gap-%{gapmajorver}.%{gapminorver}
  30. aclocal
  31. automake
  32. autoconf
  33. %configure --disable-libavformat
  34. make %{?_smp_mflags} gapplugindir=%{gapplugindir} \
  35. scriptdatadir=%{scriptdatadir} gaplibexecdir=%{gaplibexecdir} || \
  36. make gapplugindir=%{gapplugindir} gaplibexecdir=%{gaplibexecdir}
  37. %install
  38. rm -rf %{buildroot}
  39. %makeinstall gapplugindir=%{buildroot}%{gapplugindir} scriptdatadir=%{buildroot}%{scriptdatadir} gaplibexecdir=%{buildroot}%{gaplibexecdir}
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-, root, root)
  44. %doc AUTHORS ChangeLog COPYING NEWS README
  45. %{gapplugindir}/*
  46. %{gaplibexecdir}/*
  47. %{scriptdatadir}/*
  48. %{_libexecdir}/gap_*
  49. %{_datadir}/locale/*/*/*
  50. %changelog
  51. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.2-0vl1
  52. - new upstream release
  53. - rebuilt with new toolchain
  54. * Sun May 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-4vl1
  55. - rebuild for Vine Linux
  56. * Wed Mar 02 2005 Nils Philippsen <nphilipp@redhat.com>
  57. - rebuild with gcc 4.0
  58. * Fri Oct 22 2004 Nils Philippsen <nphilipp@redhat.com>
  59. - fix array out of bounds error (#136758)
  60. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  61. - rebuilt
  62. * Tue May 25 2004 Nils Philippsen <nphilipp@redhat.com>
  63. - version 2.0.2
  64. * Wed Apr 14 2004 Nils Philippsen <nphilipp@redhat.com>
  65. - version 2.0.0
  66. - initial build