evince-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. Summary: Document viewer
  2. Summary(ja): 文書ビューワー
  3. Name: evince
  4. Version: 2.30.0
  5. Release: 1%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.bz2
  7. License: GPL
  8. Group: Applications/Publishing
  9. URL: http://www.gnome.org/projects/evince/
  10. BuildRequires: glib2-devel >= 2.24.0
  11. BuildRequires: gtk2-devel >= 2.20.0
  12. BuildRequires: libgnome-keyring-devel >= 2.30.0
  13. BuildRequires: gnome-doc-utils >= 0.20.0
  14. BuildRequires: poppler-devel >= 0.12.0
  15. BuildRequires: dbus-glib-devel >= 0.33
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: gnome-icon-theme >= 2.30.0
  18. BuildRequires: libxml2-devel
  19. BuildRequires: libspectre-devel >= 0.2.1
  20. BuildRequires: libkpathsea-devel
  21. BuildRequires: nautilus-devel
  22. BuildRequires: libSM-devel
  23. BuildRequires: GConf2-devel
  24. BuildRequires: gtk-doc
  25. Requires(post): desktop-file-utils scrollkeeper GConf2
  26. Requires(pre): GConf2
  27. Requires(preun): GConf2
  28. Requires(postun): desktop-file-utils scrollkeeper
  29. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  30. Packager: daisuke, kazutaka, inagaki
  31. %description
  32. Evince is a document viewer capable of displaying multiple and single
  33. page document formats like PDF and Postscript.
  34. %description -l ja
  35. Evince は 複数ページをに渡る PDF や Postscript 文書を表示することが
  36. できる文書ビューワーです。
  37. #-----------------------------------------------------------------------------
  38. %package devel
  39. Summary: Libraries and headers for %{name}
  40. Summary(ja): %{name} 用の開発ライブラリおよびヘッダファイル
  41. Group: Development/Libraries
  42. Requires: %{name} = %{version}
  43. %description devel
  44. This package includes the files needed for developing and compiling
  45. applications which use the %{name} library.
  46. You should install the %{name}-devel package if you would like to
  47. develop applications using %{name}.
  48. %description devel -l ja
  49. このパッケージは %{name} ライブラリを使用するアプリケーションを開発
  50. するのに必要なライブラリやヘッダファイルを含んでいます。
  51. %{name} を使用したアプリケーションを開発するなら、このパッケージ
  52. をインストールしてください。
  53. #-----------------------------------------------------------------------------
  54. %package dvi
  55. Summary: Evince dvi backend
  56. Summary(ja): %{name} の dvi バックエンド
  57. Group: Applications/Publishing
  58. Requires: %{name} = %{version}-%{release}
  59. %description dvi
  60. This package contains a backend to let evince display dvi files.
  61. %description dvi -l ja
  62. このパッケージには evince で dvi ファイルを表示するためのバックエンドが
  63. 含まれています。
  64. #-----------------------------------------------------------------------------
  65. %prep
  66. %setup -q
  67. %build
  68. %configure \
  69. --disable-scrollkeeper --disable-schemas-install \
  70. --disable-djvu \
  71. --enable-dvi \
  72. --enable-ps
  73. %__make %{?_smp_mflags}
  74. %install
  75. %__rm -rf $RPM_BUILD_ROOT
  76. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  77. %{__make} DESTDIR=$RPM_BUILD_ROOT install
  78. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  79. %find_lang %{name} --with-gnome --all-name
  80. # remove unnecessary files
  81. %{__rm} -rf $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache
  82. %{_bindir}/find %{buildroot}%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
  83. %{_bindir}/find %{buildroot}%{_libdir} -name "*.a" -exec %{__rm} -f "{}" \;
  84. %clean
  85. %__rm -rf $RPM_BUILD_ROOT
  86. %post
  87. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  88. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  89. SCHEMAS="evince.schemas evince-thumbnailer.schemas \
  90. evince-thumbnailer-dvi.schemas \
  91. evince-thumbnailer-comics.schemas"
  92. for S in $SCHEMAS; do
  93. echo %{_sysconfdir}/gconf/schemas/$S; done \
  94. | xargs gconftool-2 --makefile-install-rule >& /dev/null || :
  95. %posttrans
  96. scrollkeeper-update > /dev/null 2>&1 || :
  97. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  98. update-desktop-database %{_datadir}/applications >& /dev/null || :
  99. %pre
  100. if [ "$1" -gt 1 ]; then
  101. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  102. SCHEMAS="evince.schemas evince-thumbnailer.schemas \
  103. evince-thumbnailer-dvi.schemas \
  104. evince-thumbnailer-comics.schemas"
  105. for S in $SCHEMAS; do
  106. echo %{_sysconfdir}/gconf/schemas/$S; done \
  107. | xargs gconftool-2 --makefile-uninstall-rule >& /dev/null || :
  108. fi
  109. %preun
  110. if [ "$1" -eq 0 ]; then
  111. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  112. SCHEMAS="evince.schemas evince-thumbnailer.schemas \
  113. evince-thumbnailer-dvi.schemas \
  114. evince-thumbnailer-comics.schemas"
  115. for S in $SCHEMAS; do
  116. echo %{_sysconfdir}/gconf/schemas/$S; done \
  117. | xargs gconftool-2 --makefile-uninstall-rule >& /dev/null || :
  118. fi
  119. %postun
  120. if [ $1 -eq 0 ] ; then
  121. scrollkeeper-update > /dev/null 2>&1 || :
  122. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  123. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  124. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  125. fi
  126. %files -f %{name}.lang
  127. %defattr(-,root,root)
  128. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
  129. %{_bindir}/evince*
  130. %{_datadir}/applications/evince.desktop
  131. %{_datadir}/evince
  132. %{_datadir}/gtk-doc/html/evince
  133. %{_datadir}/gtk-doc/html/libevdocument-2.30
  134. %{_datadir}/gtk-doc/html/libevview-2.30
  135. %{_datadir}/icons/hicolor/*/apps/evince.*
  136. %{_libdir}/evince/2/backends
  137. %exclude %{_libdir}/evince/2/backends/libdvidocument.so*
  138. %exclude %{_libdir}/evince/2/backends/dvidocument.evince-backend
  139. %{_libdir}/lib*.so.*
  140. %{_libdir}/nautilus/extensions-2.0/libevince-properties-page.*
  141. %{_libexecdir}/evince-convert-metadata
  142. %{_libexecdir}/evinced
  143. %{_datadir}/dbus-1/services/*
  144. %{_sysconfdir}/gconf/schemas/evince*.schemas
  145. %{_mandir}/man1/evince.*
  146. %files devel
  147. %{_includedir}/evince
  148. %{_libdir}/lib*.so
  149. %{_libdir}/pkgconfig/*.pc
  150. %files dvi
  151. %{_libdir}/evince/2/backends/libdvidocument.so*
  152. %{_libdir}/evince/2/backends/dvidocument.evince-backend
  153. %changelog
  154. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  155. - new upstream release
  156. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  157. - add BuildRequires: gtk-doc
  158. * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  159. - new upstream release
  160. - add BuildRequires: libSM-devel, GConf2-devel
  161. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-2
  162. - added --disable-djvu option to %%configue
  163. * Mon Nov 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  164. - new upstream release
  165. - built with poppler-0.12.1
  166. - added %%posttrans section
  167. * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  168. - new upstream release
  169. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.26.1-3
  170. - modify scriptlet for gconf schemas to make it faster [VineSeed:17360]
  171. - add BuildRequires: nautilus-devel
  172. * Fri Apr 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-2
  173. - add BuildRequires: libkpathsea-devel for dvi backend
  174. - split dvi backend to subpackage
  175. - fix scriptlets
  176. * Thu Apr 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  177. - new upstream release
  178. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  179. - new upstream release
  180. * Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.2-1
  181. - new upstream release
  182. - build with poppler-0.10.2
  183. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  184. - new upstream release
  185. - add BR: libspectre >= 0.2.1
  186. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-3
  187. - fixed %pre, %post, %preun (for evince-thumbnailer-ps.schemas)
  188. * Mon Oct 13 2008 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2
  189. - built without libdjvulibre.so
  190. * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1
  191. - new upstream release
  192. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  193. - new upstream release
  194. - removed BuildRequires: libgnomeprint[ui]-devel
  195. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1
  196. - new upstream release
  197. - added %%pre and %%preun section
  198. * Fri Apr 11 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.22.1-1
  199. - source update.
  200. - add devel sub package.
  201. - use %%{__make} install instead of %%%makeinstall.
  202. * Mon Mar 31 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.21.1-1
  203. - source update.
  204. - build with poppler-0.8.0.
  205. - apply new versioning policy.
  206. * Tue Dec 11 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.21.1-0vl1
  207. - source update.
  208. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.20.1-0vl1
  209. - source update.
  210. * Sat Sep 08 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.19.92-0vl1
  211. - source update.
  212. - build with poppler-0.6.
  213. - drop Patch1 and increase required gnome-theme-icon version >= 2.17.1.
  214. * Sun Sep 2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.3-0vl1
  215. - source update.
  216. * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.0-0vl1
  217. - source update.
  218. * Wed Apr 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  219. - source update.
  220. * Tue Mar 20 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.0-0vl1
  221. - source update.
  222. * Wed Feb 14 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.2-0vl1
  223. - source update.
  224. - update patch1.
  225. * Wed Dec 20 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.0-0vl1
  226. - source update.
  227. - drop patch100. (included in upstream)
  228. - add pathc1 to lowering required version of gnome-icon-theme.
  229. * Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.6.1-0vl2
  230. - rebuild
  231. * Wed Dec 13 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.1-0vl1.1
  232. - add patch100 for fix CVE-2006-5864
  233. * Wed Oct 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.1-0vl1
  234. - source update.
  235. * Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.0-0vl1
  236. - source update.
  237. - reuse %%{name} for find_lang.
  238. * Fri Aug 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.5-0vl1
  239. - source update.
  240. - use "Evince" instead of %%{name} for find_lang because of naming change.
  241. * Wed Jul 19 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.4-0vl1
  242. - source update.
  243. * Sun May 28 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.3-0vl1
  244. - source update.
  245. - add some hicolor theme icons in %%files section.
  246. - remove unnecessary icon-theme.cache file.
  247. - update BuildRequires.
  248. * Tue Mar 07 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-0vl1
  249. - source update.
  250. * Wed Mar 01 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.0-0vl1
  251. - source update.
  252. - change BuildRequires of poppler-devel (from >= 0.4.3 to >= 0.5.0)
  253. * Wed Sep 21 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-0vl1
  254. - source update.
  255. - add BuildRequires: poppler-devel >= 0.4.0, libgnomeprint-devel,
  256. libgnomeprintui-devel.
  257. - add configure option --disable-scrollkeeper.
  258. - add %%{_libdir}/nautilus/extensions-1.0/libevince-properties-page.* in
  259. %%files section.
  260. * Sun Jun 25 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.2-0vl1
  261. - source update.
  262. * Tue May 24 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-0vl1
  263. - source update.
  264. * Wed May 18 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-0vl1
  265. - source update.
  266. - add %doc in %file section.
  267. * Thu May 05 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-0vl1
  268. - initial build for VineSeed Plus.