atril-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. Summary: Simply a document viewer for MATE
  2. Name: atril
  3. Version: 1.14.1
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{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: caja-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}/appdata/%{name}.appdata.xml
  115. %{_datadir}/applications/%{name}.desktop
  116. %{_datadir}/caja/extensions/libatril-properties-page.caja-extension
  117. %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service
  118. %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml
  119. %{_datadir}/icons/hicolor/*/*/*
  120. %{_datadir}/help/*
  121. %{_datadir}/%{name}
  122. %{_datadir}/thumbnailers/%{name}.thumbnailer
  123. %{_mandir}/man1/%{name}.1.gz
  124. %{_mandir}/man1/atril-previewer.1.gz
  125. %{_mandir}/man1/atril-thumbnailer.1.gz
  126. %files devel
  127. %defattr(-,root,root,-)
  128. %{_includedir}/%{name}
  129. %{_libdir}/libatrildocument.so
  130. %{_libdir}/libatrilview.so
  131. %{_libdir}/pkgconfig/atril-document-1.5.0.pc
  132. %{_libdir}/pkgconfig/atril-view-1.5.0.pc
  133. %files docs
  134. %defattr(-,root,root,-)
  135. %{_datadir}/gtk-doc/html/%{name}
  136. %{_datadir}/gtk-doc/html/libatrildocument-1.5.0
  137. %{_datadir}/gtk-doc/html/libatrilview-1.5.0
  138. %files caja
  139. %defattr(-,root,root,-)
  140. %{_libdir}/caja/extensions-2.0/libatril-properties-page.so
  141. %changelog
  142. * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.14.1-2
  143. - rebuilt with new toolchain.
  144. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  145. - new upstream release
  146. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  147. - new upstream release
  148. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  149. - new upstream release
  150. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  151. - new upstream release
  152. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  153. - new upstream release
  154. * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  155. - new upstream release
  156. * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-2
  157. - fix typo in ja.po
  158. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  159. - new upstream release
  160. - create %%{name}-caja subpackage
  161. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  162. - new upstream release
  163. - add BuildRequires: mate-desktop-devel, WebKit-gtk-devel
  164. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  165. - new upstream release
  166. * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-4
  167. - rebuild with poppler-0.26.2
  168. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3
  169. - rebuild with libarchive-3.1.2
  170. * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  171. - rebuild with poppler-0.24.5
  172. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  173. - new upstream release
  174. - rename package
  175. - add BuildRequires: libsecret-devel, itstool
  176. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  177. - rebuild with VineSeed environment
  178. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  179. - new upstream release
  180. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  181. - new upstream release
  182. - remove BuildRequires: mate-conf-devel
  183. - add BuildRequires: libgxps-devel
  184. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  185. - new upstream release
  186. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  187. - new upstream release
  188. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  189. - change category
  190. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  191. - initial build for Vine Linux