evince-vl.spec 14 KB

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