evince-vl.spec 14 KB

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