eom-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.0
  3. %define rel 1
  4. Summary: An image viewing and cataloging program for MATE
  5. Name: eom
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv2
  10. Group: Applications/Graphics
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: mate-desktop-devel
  14. BuildRequires: mate-icon-theme
  15. BuildRequires: gtk3-devel
  16. BuildRequires: libpeas-devel
  17. BuildRequires: dbus-glib-devel
  18. BuildRequires: libxml2-devel
  19. BuildRequires: librsvg2-devel
  20. BuildRequires: libexif-devel
  21. BuildRequires: lcms2-devel
  22. BuildRequires: exempi-devel
  23. BuildRequires: libjpeg-turbo-devel
  24. BuildRequires: itstool
  25. BuildRequires: gtk-doc
  26. BuildRequires: autoconf
  27. BuildRequires: automake
  28. Requires(posttrans,postun): glib2
  29. Requires(post,postun): desktop-file-utils
  30. Obsoletes: mate-image-viewer < 1.8.0
  31. Provides: mate-image-viewer = %{version}-%{release}
  32. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: Takemikaduchi, iwaim
  36. %description
  37. This is the Eye of MATE, an image viewer program. It is meant to be
  38. a fast and functional image viewer.
  39. %package devel
  40. Summary: Development tools for mate-image-viewer
  41. Summary(ja): mate-image-viewer の開発環境
  42. Group: Development/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: pkgconfig
  45. Obsoletes: mate-image-viewer-devel < 1.8.0
  46. Provides: mate-image-viewer-devel = %{version}-%{release}
  47. %description devel
  48. Header files and libraries for building a extension library for the
  49. mate-image-viewer.
  50. %package docs
  51. Summary: Documentation for mate-image-viewer
  52. Summary(ja): mate-image-viewer 用のドキュメント
  53. Group: Documentation
  54. Requires: %{name} = %{version}-%{release}
  55. BuildArch: noarch
  56. Obsoletes: mate-image-viewer-docs < 1.8.0
  57. Provides: mate-image-viewer-docs = %{version}-%{release}
  58. %description docs
  59. This package contains documentation for mate-image-viewer.
  60. %prep
  61. %setup -q
  62. %build
  63. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  64. %configure \
  65. --disable-static
  66. %{__make} %{?_smp_mflags}
  67. %install
  68. %{__rm} -rf ${RPM_BUILD_ROOT}
  69. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  70. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  71. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  72. %find_lang %{name}
  73. %clean
  74. %{__rm} -rf ${RPM_BUILD_ROOT}
  75. %post
  76. /sbin/ldconfig
  77. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  78. touch --no-create %{_datadir}/icons/hicolor
  79. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  80. %postun
  81. /sbin/ldconfig
  82. if [ $1 -eq 0 ]; then
  83. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  84. touch --no-create %{_datadir}/icons/hicolor
  85. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  86. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  87. fi
  88. %posttrans
  89. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  90. %files -f %{name}.lang
  91. %defattr(-,root,root,-)
  92. %doc COPYING ChangeLog NEWS README
  93. %{_bindir}/%{name}
  94. %{_libdir}/%{name}/plugins
  95. %{_libdir}/girepository-1.0/Eom-1.0.typelib
  96. %{_datadir}/appdata/%{name}.appdata.xml
  97. %{_datadir}/applications/%{name}.desktop
  98. %{_datadir}/glib-2.0/schemas/org.mate.%{name}.enums.xml
  99. %{_datadir}/glib-2.0/schemas/org.mate.%{name}.gschema.xml
  100. %{_datadir}/icons/hicolor/*/*/*
  101. %{_datadir}/help/*
  102. %{_datadir}/%{name}
  103. %{_mandir}/man1/%{name}.1*
  104. %files devel
  105. %defattr(-,root,root,-)
  106. %{_includedir}/%{name}-2.20
  107. %{_libdir}/pkgconfig/%{name}.pc
  108. %{_datadir}/gir-1.0/Eom-1.0.gir
  109. %files docs
  110. %defattr(-,root,root,-)
  111. %{_datadir}/gtk-doc/html/%{name}
  112. %changelog
  113. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
  114. - update to 1.20.0
  115. * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1
  116. - update to 1.18.3
  117. * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  118. - update to 1.18.2
  119. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  120. - update to 1.18.1
  121. - move to GTK3+
  122. - add BR: libpeas-devel
  123. - drop BR: python-devel and pygtk2-devel; upstream droped Python bindings
  124. * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  125. - update to 1.16.1
  126. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  127. - new upstream release
  128. - update Packager
  129. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  130. - new upstream release
  131. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  132. - new upstream release
  133. * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  134. - new upstream release
  135. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  136. - new upstream release
  137. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  138. - new upstream release
  139. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  140. - new upstream release
  141. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
  142. - new upstream release
  143. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  144. - new upstream release
  145. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  146. - new upstream release
  147. - add BuildRequires: python-devel, pygtk2-devel
  148. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  149. - new upstream release
  150. - add BuildRequires: lcms2-devel
  151. - remove BuildRequires: lcms-devel
  152. - remove Patch0 (mate-image-viewer-1.2.0-configure.patch)
  153. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  154. - new upstream release
  155. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  156. - new upstream release
  157. - rename package
  158. - add BuildRequires: itstool
  159. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  160. - rebuild with VineSeed environment
  161. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  162. - new upstream release
  163. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  164. - new upstream release
  165. - remove BuildRequires: mate-conf-devel
  166. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  167. - new upstream release
  168. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  169. - new upstream release
  170. - add Patch0 (mate-image-viewer-1.2.0-configure.patch)
  171. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  172. - change category
  173. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  174. - initial build for Vine Linux