atril-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. Summary: Simply a document viewer for MATE
  2. Name: atril
  3. Version: 1.12.2
  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/Publishing
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-icon-theme
  12. BuildRequires: mate-desktop-devel
  13. BuildRequires: mate-file-manager-devel
  14. BuildRequires: gtk2-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: WebKit-gtk-devel
  17. BuildRequires: libSM-devel
  18. BuildRequires: poppler-devel
  19. BuildRequires: libtiff-devel
  20. BuildRequires: djvulibre-devel
  21. BuildRequires: libspectre-devel
  22. BuildRequires: libkpathsea-devel
  23. BuildRequires: libgxps-devel
  24. BuildRequires: libsecret-devel
  25. BuildRequires: itstool
  26. BuildRequires: gtk-doc
  27. BuildRequires: autoconf
  28. BuildRequires: automake
  29. Requires(posttrans,postun): glib2
  30. Requires(post,postun): gtk2
  31. Requires(post,postun): desktop-file-utils
  32. Obsoletes: mate-document-viewer < 1.8.0
  33. Provides: mate-document-viewer = %{name}-%{version}
  34. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  35. Vendor: Project Vine
  36. Distribution: Vine Linux
  37. Packager: Takemikaduchi
  38. %description
  39. he MATE Display Manager is a system service that is responsible for
  40. providing graphical log-ins and managing local and remote displays.
  41. %package devel
  42. Summary: Development tools for %{name}
  43. Summary(ja): %{name} の開発環境
  44. Group: Development/Libraries
  45. Requires: %{name} = %{version}-%{release}
  46. Requires: pkgconfig
  47. Obsoletes: mate-document-viewer-devel < 1.8.0
  48. Provides: mate-document-viewer-devel = %{name}-%{version}
  49. %description devel
  50. Header files and libraries for building a extension library for the
  51. %{name}.
  52. %package docs
  53. Summary: Documentation for %{name}
  54. Summary(ja): %{name} 用のドキュメント
  55. Group: Documentation
  56. Requires: %{name} = %{version}-%{release}
  57. BuildArch: noarch
  58. Obsoletes: mate-document-viewer-docs < 1.8.0
  59. Provides: mate-document-viewer-docs = %{name}-%{version}
  60. %description docs
  61. This package contains documentation for %{name}.
  62. %package caja
  63. Summary: Caja extension for %{name}
  64. Summary(ja): %{name} の Caja 拡張
  65. Group: User Interface/Desktops
  66. Requires: %{name} = %{version}-%{release}
  67. %description caja
  68. This package contains the atril caja extension.
  69. %prep
  70. %setup -q
  71. # fix typo in ja.po
  72. sed -i "s|Artil|Atril|" po/ja.po
  73. %build
  74. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  75. %configure \
  76. --libexecdir=%{_libexecdir}/mate \
  77. --disable-static \
  78. --enable-pixbuf
  79. %{__make} %{?_smp_mflags}
  80. %install
  81. %{__rm} -rf ${RPM_BUILD_ROOT}
  82. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  83. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  84. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  85. %find_lang %{name}
  86. %clean
  87. %{__rm} -rf ${RPM_BUILD_ROOT}
  88. %post
  89. /sbin/ldconfig
  90. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  91. touch --no-create %{_datadir}/icons/hicolor
  92. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  93. %postun
  94. /sbin/ldconfig
  95. if [ $1 -eq 0 ]; then
  96. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  97. touch --no-create %{_datadir}/icons/hicolor
  98. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  99. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  100. fi
  101. %posttrans
  102. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  103. %files -f %{name}.lang
  104. %defattr(-,root,root,-)
  105. %doc COPYING ChangeLog NEWS README
  106. %{_bindir}/%{name}
  107. %{_bindir}/atril-previewer
  108. %{_bindir}/atril-thumbnailer
  109. %{_libdir}/libatrildocument.so.*
  110. %{_libdir}/libatrilview.so.*
  111. %{_libdir}/%{name}
  112. %{_libexecdir}/mate/atril-convert-metadata
  113. %{_libexecdir}/mate/atrild
  114. %{_datadir}/MateConf/gsettings/%{name}.convert
  115. %{_datadir}/appdata/%{name}.appdata.xml
  116. %{_datadir}/applications/%{name}.desktop
  117. %{_datadir}/caja/extensions/libatril-properties-page.caja-extension
  118. %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service
  119. %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml
  120. %{_datadir}/icons/hicolor/*/*/*
  121. %{_datadir}/help/*
  122. %{_datadir}/%{name}
  123. %{_datadir}/thumbnailers/%{name}.thumbnailer
  124. %{_mandir}/man1/%{name}.1.gz
  125. %{_mandir}/man1/atril-previewer.1.gz
  126. %{_mandir}/man1/atril-thumbnailer.1.gz
  127. %files devel
  128. %defattr(-,root,root,-)
  129. %{_includedir}/%{name}
  130. %{_libdir}/libatrildocument.so
  131. %{_libdir}/libatrilview.so
  132. %{_libdir}/pkgconfig/atril-document-1.5.0.pc
  133. %{_libdir}/pkgconfig/atril-view-1.5.0.pc
  134. %files docs
  135. %defattr(-,root,root,-)
  136. %{_datadir}/gtk-doc/html/%{name}
  137. %{_datadir}/gtk-doc/html/libatrildocument-1.5.0
  138. %{_datadir}/gtk-doc/html/libatrilview-1.5.0
  139. %files caja
  140. %defattr(-,root,root,-)
  141. %{_libdir}/caja/extensions-2.0/libatril-properties-page.so
  142. %changelog
  143. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  144. - new upstream release
  145. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  146. - new upstream release
  147. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  148. - new upstream release
  149. * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  150. - new upstream release
  151. * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-2
  152. - fix typo in ja.po
  153. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  154. - new upstream release
  155. - create %%{name}-caja subpackage
  156. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  157. - new upstream release
  158. - add BuildRequires: mate-desktop-devel, WebKit-gtk-devel
  159. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  160. - new upstream release
  161. * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-4
  162. - rebuild with poppler-0.26.2
  163. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3
  164. - rebuild with libarchive-3.1.2
  165. * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  166. - rebuild with poppler-0.24.5
  167. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  168. - new upstream release
  169. - rename package
  170. - add BuildRequires: libsecret-devel, itstool
  171. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  172. - rebuild with VineSeed environment
  173. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  174. - new upstream release
  175. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  176. - new upstream release
  177. - remove BuildRequires: mate-conf-devel
  178. - add BuildRequires: libgxps-devel
  179. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  180. - new upstream release
  181. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  182. - new upstream release
  183. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  184. - change category
  185. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  186. - initial build for Vine Linux