eom-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. Summary: An image viewing and cataloging program for MATE
  2. Name: eom
  3. Version: 1.8.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{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: lcms-devel
  19. BuildRequires: exempi-devel
  20. BuildRequires: libjpeg-turbo-devel
  21. BuildRequires: itstool
  22. BuildRequires: gtk-doc
  23. BuildRequires: autoconf
  24. BuildRequires: automake
  25. Requires(posttrans,postun): glib2
  26. Requires(post,postun): desktop-file-utils
  27. Obsoletes: mate-image-viewer < 1.8.0
  28. Provides: mate-image-viewer = %{version}-%{release}
  29. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  30. Patch0: mate-image-viewer-1.2.0-configure.patch
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: Takemikaduchi
  34. %description
  35. This is the Eye of MATE, an image viewer program. It is meant to be
  36. a fast and functional image viewer.
  37. %package devel
  38. Summary: Development tools for mate-image-viewer
  39. Summary(ja): mate-image-viewer の開発環境
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: pkgconfig
  43. Obsoletes: mate-image-viewer-devel < 1.8.0
  44. Provides: mate-image-viewer-devel = %{version}-%{release}
  45. %description devel
  46. Header files and libraries for building a extension library for the
  47. mate-image-viewer.
  48. %package docs
  49. Summary: Documentation for mate-image-viewer
  50. Summary(ja): mate-image-viewer 用のドキュメント
  51. Group: Documentation
  52. Requires: %{name} = %{version}-%{release}
  53. BuildArch: noarch
  54. Obsoletes: mate-image-viewer-docs < 1.8.0
  55. Provides: mate-image-viewer-docs = %{version}-%{release}
  56. %description docs
  57. This package contains documentation for mate-image-viewer.
  58. %prep
  59. %setup -q
  60. %patch0 -p1
  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. %{_datadir}/MateConf/gsettings/%{name}.convert
  95. %{_datadir}/applications/%{name}.desktop
  96. %{_datadir}/glib-2.0/schemas/org.mate.eom.gschema.xml
  97. %{_datadir}/icons/hicolor/*/*/*
  98. %{_datadir}/help/*
  99. %{_datadir}/%{name}
  100. %{_mandir}/man1/%{name}.1.gz
  101. %files devel
  102. %defattr(-,root,root,-)
  103. %{_includedir}/%{name}-2.20
  104. %{_libdir}/pkgconfig/%{name}.pc
  105. %files docs
  106. %defattr(-,root,root,-)
  107. %{_datadir}/gtk-doc/html/%{name}
  108. %changelog
  109. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  110. - new upstream release
  111. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  112. - new upstream release
  113. - rename package
  114. - add BuildRequires: itstool
  115. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  116. - rebuild with VineSeed environment
  117. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  118. - new upstream release
  119. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  120. - new upstream release
  121. - remove BuildRequires: mate-conf-devel
  122. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  123. - new upstream release
  124. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  125. - new upstream release
  126. - add Patch0 (mate-image-viewer-1.2.0-configure.patch)
  127. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  128. - change category
  129. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  130. - initial build for Vine Linux