eog-plugins-vl.spec 4.9 KB

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