eom-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Summary: An image viewing and cataloging program for MATE
  2. Name: eom
  3. Version: 1.12.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/Graphics
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-desktop-devel
  12. BuildRequires: mate-icon-theme
  13. BuildRequires: gtk2-devel
  14. BuildRequires: dbus-glib-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: librsvg2-devel
  17. BuildRequires: libexif-devel
  18. BuildRequires: lcms2-devel
  19. BuildRequires: exempi-devel
  20. BuildRequires: libjpeg-turbo-devel
  21. BuildRequires: python-devel
  22. BuildRequires: pygtk2-devel
  23. BuildRequires: itstool
  24. BuildRequires: gtk-doc
  25. BuildRequires: autoconf
  26. BuildRequires: automake
  27. Requires(posttrans,postun): glib2
  28. Requires(post,postun): desktop-file-utils
  29. Obsoletes: mate-image-viewer < 1.8.0
  30. Provides: mate-image-viewer = %{version}-%{release}
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: Takemikaduchi
  35. %description
  36. This is the Eye of MATE, an image viewer program. It is meant to be
  37. a fast and functional image viewer.
  38. %package devel
  39. Summary: Development tools for mate-image-viewer
  40. Summary(ja): mate-image-viewer の開発環境
  41. Group: Development/Libraries
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: pkgconfig
  44. Obsoletes: mate-image-viewer-devel < 1.8.0
  45. Provides: mate-image-viewer-devel = %{version}-%{release}
  46. %description devel
  47. Header files and libraries for building a extension library for the
  48. mate-image-viewer.
  49. %package docs
  50. Summary: Documentation for mate-image-viewer
  51. Summary(ja): mate-image-viewer 用のドキュメント
  52. Group: Documentation
  53. Requires: %{name} = %{version}-%{release}
  54. BuildArch: noarch
  55. Obsoletes: mate-image-viewer-docs < 1.8.0
  56. Provides: mate-image-viewer-docs = %{version}-%{release}
  57. %description docs
  58. This package contains documentation for mate-image-viewer.
  59. %prep
  60. %setup -q
  61. %build
  62. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  63. %configure \
  64. --disable-static
  65. %{__make} %{?_smp_mflags}
  66. %install
  67. %{__rm} -rf ${RPM_BUILD_ROOT}
  68. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  69. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  70. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  71. %find_lang %{name}
  72. %clean
  73. %{__rm} -rf ${RPM_BUILD_ROOT}
  74. %post
  75. /sbin/ldconfig
  76. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  77. touch --no-create %{_datadir}/icons/hicolor
  78. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  79. %postun
  80. /sbin/ldconfig
  81. if [ $1 -eq 0 ]; then
  82. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  83. touch --no-create %{_datadir}/icons/hicolor
  84. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  85. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  86. fi
  87. %posttrans
  88. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  89. %files -f %{name}.lang
  90. %defattr(-,root,root,-)
  91. %doc COPYING ChangeLog NEWS README
  92. %{_bindir}/%{name}
  93. %{_libdir}/%{name}/plugins
  94. %{_libdir}/girepository-1.0/Eom-1.0.typelib
  95. %{_datadir}/MateConf/gsettings/%{name}.convert
  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.gz
  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. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  114. - new upstream release
  115. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  116. - new upstream release
  117. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
  118. - new upstream release
  119. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  120. - new upstream release
  121. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  122. - new upstream release
  123. - add BuildRequires: python-devel, pygtk2-devel
  124. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  125. - new upstream release
  126. - add BuildRequires: lcms2-devel
  127. - remove BuildRequires: lcms-devel
  128. - remove Patch0 (mate-image-viewer-1.2.0-configure.patch)
  129. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  130. - new upstream release
  131. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  132. - new upstream release
  133. - rename package
  134. - add BuildRequires: itstool
  135. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  136. - rebuild with VineSeed environment
  137. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  138. - new upstream release
  139. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  140. - new upstream release
  141. - remove BuildRequires: mate-conf-devel
  142. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  143. - new upstream release
  144. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  145. - new upstream release
  146. - add Patch0 (mate-image-viewer-1.2.0-configure.patch)
  147. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  148. - change category
  149. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  150. - initial build for Vine Linux