eog-plugins-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %define pkg_version 3.1.2
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Plugins for eog
  4. Summary(ja): eog用のプラグイン
  5. Name: eog-plugins
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://download.gnome.org/sources/eog-plugins/3.1/%{name}-%{version}.tar.xz
  9. Patch0: %{name}-3.1.2-configure.patch
  10. License: GPLv2+
  11. Group: Applications/Graphics
  12. URL: http://live.gnome.org/EyeOfGnome/Plugins
  13. Requires: gtk3
  14. Requires: eog
  15. Requires: python
  16. Requires: gnome-python
  17. Requires: pygtk2
  18. Requires: libexif
  19. Requires: libchamplain, libchamplain-gtk
  20. BuildRequires: gtk3-devel
  21. BuildRequires: eog-devel
  22. BuildRequires: pygobject-devel
  23. BuildRequires: gnome-python-devel
  24. BuildRequires: pygtk2-devel
  25. BuildRequires: libexif-devel
  26. BuildRequires: libchamplain-devel, libchamplain-gtk-devel
  27. BuildRequires: libpeas-devel
  28. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. Packager: Takemikaduchi
  32. %description
  33. It's a collection of plugins for use with the Eye of GNOME Image Viewer.
  34. %description -l ja
  35. Eye of GNOME イメージビューア用のプラグイン集
  36. %prep
  37. %setup -q
  38. %ifarch x86_64
  39. %patch0 -p1 -b .python
  40. %endif
  41. %build
  42. %configure --with-plugins=map,exif-display,fit-to-width,pythonconsole,slideshowshuffle
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  47. # remove *.la
  48. %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/eog/plugins/*.la
  49. %find_lang %{name}
  50. %clean
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %postun
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. %posttrans
  55. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  56. %files -f %{name}.lang
  57. %defattr(-,root,root)
  58. %doc COPYING ChangeLog NEWS README
  59. %{_libdir}/*
  60. %{_datadir}/eog/plugins/exif-display/*.ui
  61. %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml
  62. %changelog
  63. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  64. - new upstream release
  65. - add BuildRequires: libpeas-devel
  66. - change BuildRequires: gtk3-devel instead of gtk2-devel
  67. - update Patch0
  68. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  69. - new upstream release
  70. - change BuildRequires: eog-devel instead of eog
  71. * Sat Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
  72. - rebuild with libchamplain-0.8
  73. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  74. - new upstream release
  75. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  76. - new upstream release
  77. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  78. - initial build for Vine Linux
  79. - exclude postr plugin