evince-vl.spec 13 KB

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