eom-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. Summary: An image viewing and cataloging program for MATE
  2. Name: eom
  3. Version: 1.14.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{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}/appdata/%{name}.appdata.xml
  96. %{_datadir}/applications/%{name}.desktop
  97. %{_datadir}/glib-2.0/schemas/org.mate.%{name}.enums.xml
  98. %{_datadir}/glib-2.0/schemas/org.mate.%{name}.gschema.xml
  99. %{_datadir}/icons/hicolor/*/*/*
  100. %{_datadir}/help/*
  101. %{_datadir}/%{name}
  102. %{_mandir}/man1/%{name}.1.gz
  103. %files devel
  104. %defattr(-,root,root,-)
  105. %{_includedir}/%{name}-2.20
  106. %{_libdir}/pkgconfig/%{name}.pc
  107. %{_datadir}/gir-1.0/Eom-1.0.gir
  108. %files docs
  109. %defattr(-,root,root,-)
  110. %{_datadir}/gtk-doc/html/%{name}
  111. %changelog
  112. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  113. - new upstream release
  114. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  115. - new upstream release
  116. * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  117. - new upstream release
  118. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  119. - new upstream release
  120. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  121. - new upstream release
  122. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  123. - new upstream release
  124. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
  125. - new upstream release
  126. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  127. - new upstream release
  128. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  129. - new upstream release
  130. - add BuildRequires: python-devel, pygtk2-devel
  131. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  132. - new upstream release
  133. - add BuildRequires: lcms2-devel
  134. - remove BuildRequires: lcms-devel
  135. - remove Patch0 (mate-image-viewer-1.2.0-configure.patch)
  136. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  137. - new upstream release
  138. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  139. - new upstream release
  140. - rename package
  141. - add BuildRequires: itstool
  142. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  143. - rebuild with VineSeed environment
  144. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  145. - new upstream release
  146. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  147. - new upstream release
  148. - remove BuildRequires: mate-conf-devel
  149. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  150. - new upstream release
  151. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  152. - new upstream release
  153. - add Patch0 (mate-image-viewer-1.2.0-configure.patch)
  154. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  155. - change category
  156. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  157. - initial build for Vine Linux