eog-plugins-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
  2. %define pkg_version 3.16.3
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: Plugins for eog
  5. Summary(ja): eog用のプラグイン
  6. Name: eog-plugins
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. Source0: http://download.gnome.org/sources/%{name}/3.16/%{name}-%{version}.tar.xz
  10. Source1: README.vine
  11. License: GPLv2+
  12. Group: Applications/Graphics
  13. URL: http://live.gnome.org/EyeOfGnome/Plugins
  14. BuildRequires: gtk3-devel
  15. BuildRequires: eog-devel
  16. BuildRequires: libexif-devel
  17. BuildRequires: libchamplain-devel, libchamplain-gtk-devel
  18. BuildRequires: libpeas-devel
  19. BuildRequires: gsettings-desktop-schemas-devel
  20. BuildRequires: libgdata-devel
  21. BuildRequires: python3-devel
  22. BuildRequires: postr
  23. Requires: eog
  24. Requires(postun,posttrans): glib2
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi
  29. %description
  30. It's a collection of plugins for use with the Eye of GNOME Image Viewer.
  31. %description -l ja
  32. Eye of GNOME イメージビューア用のプラグイン集
  33. %prep
  34. %setup -q
  35. %{__cp} %{SOURCE1} .
  36. %build
  37. %configure --with-plugins=map,exif-display,fit-to-width,pythonconsole,slideshowshuffle,postr,postasa,send-by-mail
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. # remove *.la
  43. %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/eog/plugins/*.la
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %postun
  48. if [ $1 -eq 0 ]; then
  49. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  50. fi
  51. %posttrans
  52. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  53. %files -f %{name}.lang
  54. %defattr(-,root,root)
  55. %doc COPYING ChangeLog NEWS README README.vine
  56. %{_libdir}/eog/plugins
  57. %{_datadir}/appdata/eog-*.xml
  58. %{_datadir}/eog/plugins/pythonconsole/config.ui
  59. %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.exif-display.gschema.xml
  60. %{_datadir}/glib-2.0/schemas/org.gnome.eog.plugins.pythonconsole.gschema.xml
  61. %changelog
  62. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.3-1
  63. - new upstream release
  64. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  65. - new upstream release
  66. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  67. - new upstream release
  68. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  69. - new upstream release
  70. * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-2
  71. - rebuild with python-3.4.2
  72. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  73. - new upstream release
  74. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  75. - new upstream release
  76. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  77. - new upstream release
  78. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  79. - new upstream release
  80. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  81. - rebuild with VineSeed environment
  82. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  83. - new upstream release
  84. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  85. - new upstream release
  86. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  87. - new upstream release
  88. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  89. - new upstream release
  90. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  91. - new upstream release
  92. - add BuildRequires: gsettings-desktop-schemas-devel
  93. * Tue Jun 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  94. - new upstream release
  95. - remove Patch0
  96. * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  97. - new upstream release
  98. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  99. - new upstream release
  100. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  101. - new upstream release
  102. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  103. - new upstream release
  104. - add BuildRequires: postr
  105. * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.2-2
  106. - enable postr (upload picture to Flickr)
  107. - enable postasa (upload picture to Picasa web)
  108. - enable send-by-mail (Send picture to friends by evolution mail)
  109. - add libgdata-devel to BR
  110. - add README.vine
  111. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  112. - new upstream release
  113. - add BuildRequires: libpeas-devel
  114. - change BuildRequires: gtk3-devel instead of gtk2-devel
  115. - update Patch0
  116. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  117. - new upstream release
  118. - change BuildRequires: eog-devel instead of eog
  119. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
  120. - rebuild with libchamplain-0.8
  121. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  122. - new upstream release
  123. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  124. - new upstream release
  125. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  126. - initial build for Vine Linux
  127. - exclude postr plugin