mate-document-viewer-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. Summary: Simply a document viewer for MATE
  2. Name: mate-document-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/Publishing
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-icon-theme
  12. BuildRequires: mate-file-manager-devel
  13. BuildRequires: libmatekeyring-devel
  14. BuildRequires: gtk2-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libSM-devel
  17. BuildRequires: poppler-devel
  18. BuildRequires: libtiff-devel
  19. BuildRequires: djvulibre-devel
  20. BuildRequires: libspectre-devel
  21. BuildRequires: libkpathsea-devel
  22. BuildRequires: libgxps-devel
  23. BuildRequires: gtk-doc
  24. BuildRequires: autoconf
  25. BuildRequires: automake
  26. Requires(posttrans,postun): glib2
  27. Requires(post,postun): gtk2
  28. Requires(post,postun): desktop-file-utils
  29. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. Packager: Takemikaduchi
  33. %description
  34. he MATE Display Manager is a system service that is responsible for
  35. providing graphical log-ins and managing local and remote displays.
  36. %package devel
  37. Summary: Development tools for mate-document-viewer
  38. Summary(ja): mate-document-viewer の開発環境
  39. Group: Development/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. Requires: pkgconfig
  42. %description devel
  43. Header files and libraries for building a extension library for the
  44. mate-document-viewer.
  45. %package docs
  46. Summary: Documentation for %{name}
  47. Summary(ja): %{name} 用のドキュメント
  48. Group: Documentation
  49. Requires: %{name} = %{version}-%{release}
  50. BuildArch: noarch
  51. %description docs
  52. This package contains documentation for %{name}.
  53. %prep
  54. %setup -q
  55. %build
  56. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  57. %configure \
  58. --libexecdir=%{_libexecdir}/mate \
  59. --disable-static
  60. %{__make} %{?_smp_mflags}
  61. %install
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  64. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  65. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  66. %find_lang atril
  67. %clean
  68. %{__rm} -rf ${RPM_BUILD_ROOT}
  69. %post
  70. /sbin/ldconfig
  71. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  72. touch --no-create %{_datadir}/icons/hicolor
  73. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  74. %postun
  75. /sbin/ldconfig
  76. if [ $1 -eq 0 ]; then
  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. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  81. fi
  82. %posttrans
  83. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  84. %files -f atril.lang
  85. %defattr(-,root,root,-)
  86. %doc COPYING ChangeLog NEWS README
  87. %{_bindir}/atril
  88. %{_bindir}/atril-previewer
  89. %{_bindir}/atril-thumbnailer
  90. %{_libdir}/libatrildocument.so.*
  91. %{_libdir}/libatrilview.so.*
  92. %{_libdir}/atril
  93. %{_libdir}/caja/extensions-2.0/libatril-properties-page.so
  94. %{_libexecdir}/mate/atril-convert-metadata
  95. %{_libexecdir}/mate/atrild
  96. %{_datadir}/MateConf/gsettings/atril.convert
  97. %{_datadir}/applications/atril.desktop
  98. %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service
  99. %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml
  100. %{_datadir}/icons/hicolor/*/*/*
  101. %{_datadir}/mate/help/atril
  102. %{_datadir}/%{name}
  103. %{_datadir}/omf/atril
  104. %{_datadir}/thumbnailers/atril.thumbnailer
  105. %{_mandir}/man1/atril.1.gz
  106. %{_mandir}/man1/atril-previewer.1.gz
  107. %{_mandir}/man1/atril-thumbnailer.1.gz
  108. %files devel
  109. %defattr(-,root,root,-)
  110. %{_includedir}/atril
  111. %{_libdir}/libatrildocument.so
  112. %{_libdir}/libatrilview.so
  113. %{_libdir}/pkgconfig/atril-document-1.5.0.pc
  114. %{_libdir}/pkgconfig/atril-view-1.5.0.pc
  115. %files docs
  116. %defattr(-,root,root,-)
  117. %{_datadir}/gtk-doc/html/atril
  118. %{_datadir}/gtk-doc/html/libatrildocument-1.5.0
  119. %{_datadir}/gtk-doc/html/libatrilview-1.5.0
  120. %changelog
  121. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  122. - rebuild with VineSeed environment
  123. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  124. - new upstream release
  125. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  126. - new upstream release
  127. - remove BuildRequires: mate-conf-devel
  128. - add BuildRequires: libgxps-devel
  129. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  130. - new upstream release
  131. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  132. - new upstream release
  133. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  134. - change category
  135. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  136. - initial build for Vine Linux