mate-image-viewer-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Summary: An image viewing and cataloging program for MATE
  2. Name: mate-image-viewer
  3. Version: 1.6.1
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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: gtk-doc
  22. BuildRequires: autoconf
  23. BuildRequires: automake
  24. Requires(posttrans,postun): glib2
  25. Requires(post,postun): desktop-file-utils
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Patch0: mate-image-viewer-1.2.0-configure.patch
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: Takemikaduchi
  31. %description
  32. This is the Eye of MATE, an image viewer program. It is meant to be
  33. a fast and functional image viewer.
  34. %package devel
  35. Summary: Development tools for mate-image-viewer
  36. Summary(ja): mate-image-viewer の開発環境
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: pkgconfig
  40. %description devel
  41. Header files and libraries for building a extension library for the
  42. mate-image-viewer.
  43. %package docs
  44. Summary: Documentation for mate-image-viewer
  45. Summary(ja): mate-image-viewer 用のドキュメント
  46. Group: Documentation
  47. Requires: %{name} = %{version}-%{release}
  48. BuildArch: noarch
  49. %description docs
  50. This package contains documentation for mate-image-viewer.
  51. %prep
  52. %setup -q
  53. %patch0 -p1
  54. %build
  55. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  56. %configure \
  57. --disable-static
  58. %{__make} %{?_smp_mflags}
  59. %install
  60. %{__rm} -rf ${RPM_BUILD_ROOT}
  61. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  62. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  63. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  64. %find_lang eom
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %post
  68. /sbin/ldconfig
  69. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  70. touch --no-create %{_datadir}/icons/hicolor
  71. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  72. %postun
  73. /sbin/ldconfig
  74. if [ $1 -eq 0 ]; then
  75. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  76. touch --no-create %{_datadir}/icons/hicolor
  77. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  78. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  79. fi
  80. %posttrans
  81. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  82. %files -f eom.lang
  83. %defattr(-,root,root,-)
  84. %doc COPYING ChangeLog NEWS README
  85. %{_bindir}/eom
  86. %{_libdir}/eom/plugins
  87. %{_datadir}/MateConf/gsettings/eom.convert
  88. %{_datadir}/applications/eom.desktop
  89. %{_datadir}/glib-2.0/schemas/org.mate.eom.gschema.xml
  90. %{_datadir}/icons/hicolor/*/*/*
  91. %{_datadir}/mate/help/eom
  92. %{_datadir}/%{name}
  93. %{_datadir}/omf/eom
  94. %{_mandir}/man1/eom.1.gz
  95. %files devel
  96. %defattr(-,root,root,-)
  97. %{_includedir}/eom-2.20
  98. %{_libdir}/pkgconfig/eom.pc
  99. %files docs
  100. %defattr(-,root,root,-)
  101. %{_datadir}/gtk-doc/html/eom
  102. %changelog
  103. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  104. - rebuild with VineSeed environment
  105. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  106. - new upstream release
  107. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  108. - new upstream release
  109. - remove BuildRequires: mate-conf-devel
  110. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  111. - new upstream release
  112. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  113. - new upstream release
  114. - add Patch0 (mate-image-viewer-1.2.0-configure.patch)
  115. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  116. - change category
  117. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  118. - initial build for Vine Linux