evince-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. Summary: Document viewer
  2. Summary(ja): 文書ビューワー
  3. Name: evince
  4. Version: 3.10.0
  5. Release: 1%{?_dist_release}
  6. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{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: libsecret-devel
  12. BuildRequires: poppler-devel >= 0.24.0
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: gnome-icon-theme >= 2.31.0
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libspectre-devel >= 0.2.1
  17. BuildRequires: libkpathsea-devel
  18. BuildRequires: nautilus-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: libtiff-devel
  21. BuildRequires: libgxps-devel
  22. BuildRequires: gtk-doc
  23. BuildRequires: gsettings-desktop-schemas-devel
  24. BuildRequires: yelp-tools
  25. Requires(posttrans): desktop-file-utils glib2
  26. Requires(postun): desktop-file-utils glib2
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: daisuke, kazutaka, inagaki, Takemikaduchi
  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-djvu \
  70. --enable-introspection \
  71. --enable-dvi \
  72. --enable-ps
  73. make %{?_smp_mflags}
  74. %install
  75. rm -rf $RPM_BUILD_ROOT
  76. make DESTDIR=$RPM_BUILD_ROOT install
  77. %find_lang %{name} --with-gnome --all-name
  78. # remove unnecessary files
  79. rm -rf $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache
  80. %{_bindir}/find %{buildroot}%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
  81. %{_bindir}/find %{buildroot}%{_libdir} -name "*.a" -exec %{__rm} -f "{}" \;
  82. %clean
  83. rm -rf $RPM_BUILD_ROOT
  84. %post
  85. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  86. %posttrans
  87. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  88. update-desktop-database %{_datadir}/applications >& /dev/null || :
  89. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  90. %postun
  91. if [ $1 -eq 0 ] ; then
  92. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  93. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  94. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  95. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  96. fi
  97. %files -f %{name}.lang
  98. %defattr(-,root,root)
  99. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
  100. %{_bindir}/evince*
  101. %{_datadir}/applications/evince.desktop
  102. %{_datadir}/applications/evince-previewer.desktop
  103. %{_datadir}/evince
  104. %{_datadir}/gtk-doc/html/evince
  105. %{_datadir}/gtk-doc/html/libevdocument-3.0
  106. %{_datadir}/gtk-doc/html/libevview-3.0
  107. %{_datadir}/icons/hicolor/*/apps/evince.*
  108. %{_libdir}/girepository-1.0/EvinceDocument-3.0.typelib
  109. %{_libdir}/girepository-1.0/EvinceView-3.0.typelib
  110. %{_libdir}/evince/4/backends
  111. %exclude %{_libdir}/evince/4/backends/libdvidocument.so*
  112. %exclude %{_libdir}/evince/4/backends/dvidocument.evince-backend
  113. %{_libdir}/lib*.so.*
  114. %{_libdir}/nautilus/extensions-3.0/libevince-properties-page.*
  115. %{_libexecdir}/evinced
  116. %{_datadir}/dbus-1/services/*
  117. %{_mandir}/man1/evince.*
  118. %{_datadir}/GConf/gsettings/evince.convert
  119. %{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
  120. %{_datadir}/thumbnailers/evince.thumbnailer
  121. %files devel
  122. %{_includedir}/evince
  123. %{_libdir}/lib*.so
  124. %{_libdir}/pkgconfig/*.pc
  125. %{_datadir}/gir-1.0/EvinceDocument-3.0.gir
  126. %{_datadir}/gir-1.0/EvinceView-3.0.gir
  127. %files dvi
  128. %{_libdir}/evince/4/backends/libdvidocument.so*
  129. %{_libdir}/evince/4/backends/dvidocument.evince-backend
  130. %changelog
  131. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  132. - new upstream release
  133. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  134. - new upstream release
  135. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  136. - new upstream release
  137. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  138. - new upstream release
  139. - remove Patch0 (evince-3.4.0-desktop.patch)
  140. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  141. - new upstream release
  142. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  143. - new upstream release
  144. - add BuildRequires: libgxps-devel
  145. - change BuildRequires: yelp-tools instead of gnome-doc-utils
  146. * Sun Apr 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  147. - new upstream release
  148. - add BuildRequires: gsettings-desktop-schemas-devel
  149. - add Patch0 (evince-3.4.0-desktop.patch)
  150. * Mon Nov 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.2.1-2
  151. - rebuilt with libkpathsea-devel-2011
  152. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  153. - new upstream release
  154. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  155. - new upstream release
  156. * Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.90.1-2
  157. - add configure option '--enable-introspection'
  158. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  159. - new upstream release
  160. - add BuildRequires: libtiff-devel
  161. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  162. - new upstream release
  163. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32.0-2
  164. - rebuilt with poppler-0.16.3
  165. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  166. - new upstream release
  167. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-3
  168. - rebuild with rpm-4.8.1 for pkg-config file
  169. * Sun Aug 22 2010 SHu KONNO <owa@bg.wakwak.com> 2.30.2-2
  170. - rebuilt with libkpathsea-2009-9
  171. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  172. - new upstream release
  173. * Sun May 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  174. - new upstream release
  175. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  176. - new upstream release
  177. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  178. - add BuildRequires: gtk-doc
  179. * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  180. - new upstream release
  181. - add BuildRequires: libSM-devel, GConf2-devel
  182. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-2
  183. - added --disable-djvu option to %%configue
  184. * Mon Nov 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  185. - new upstream release
  186. - built with poppler-0.12.1
  187. - added %%posttrans section
  188. * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  189. - new upstream release
  190. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.26.1-3
  191. - modify scriptlet for gconf schemas to make it faster [VineSeed:17360]
  192. - add BuildRequires: nautilus-devel
  193. * Fri Apr 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-2
  194. - add BuildRequires: libkpathsea-devel for dvi backend
  195. - split dvi backend to subpackage
  196. - fix scriptlets
  197. * Thu Apr 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  198. - new upstream release
  199. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  200. - new upstream release
  201. * Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.2-1
  202. - new upstream release
  203. - build with poppler-0.10.2
  204. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  205. - new upstream release
  206. - add BR: libspectre >= 0.2.1
  207. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-3
  208. - fixed %pre, %post, %preun (for evince-thumbnailer-ps.schemas)
  209. * Mon Oct 13 2008 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2
  210. - built without libdjvulibre.so
  211. * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1
  212. - new upstream release
  213. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  214. - new upstream release
  215. - removed BuildRequires: libgnomeprint[ui]-devel
  216. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1
  217. - new upstream release
  218. - added %%pre and %%preun section
  219. * Fri Apr 11 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.22.1-1
  220. - source update.
  221. - add devel sub package.
  222. - use %%{__make} install instead of %%%makeinstall.
  223. * Mon Mar 31 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.21.1-1
  224. - source update.
  225. - build with poppler-0.8.0.
  226. - apply new versioning policy.
  227. * Tue Dec 11 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.21.1-0vl1
  228. - source update.
  229. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.20.1-0vl1
  230. - source update.
  231. * Sat Sep 08 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.19.92-0vl1
  232. - source update.
  233. - build with poppler-0.6.
  234. - drop Patch1 and increase required gnome-theme-icon version >= 2.17.1.
  235. * Sun Sep 2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.3-0vl1
  236. - source update.
  237. * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.0-0vl1
  238. - source update.
  239. * Wed Apr 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  240. - source update.
  241. * Tue Mar 20 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.0-0vl1
  242. - source update.
  243. * Wed Feb 14 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.2-0vl1
  244. - source update.
  245. - update patch1.
  246. * Wed Dec 20 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.0-0vl1
  247. - source update.
  248. - drop patch100. (included in upstream)
  249. - add pathc1 to lowering required version of gnome-icon-theme.
  250. * Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.6.1-0vl2
  251. - rebuild
  252. * Wed Dec 13 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.1-0vl1.1
  253. - add patch100 for fix CVE-2006-5864
  254. * Wed Oct 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.1-0vl1
  255. - source update.
  256. * Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.0-0vl1
  257. - source update.
  258. - reuse %%{name} for find_lang.
  259. * Fri Aug 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.5-0vl1
  260. - source update.
  261. - use "Evince" instead of %%{name} for find_lang because of naming change.
  262. * Wed Jul 19 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.4-0vl1
  263. - source update.
  264. * Sun May 28 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.3-0vl1
  265. - source update.
  266. - add some hicolor theme icons in %%files section.
  267. - remove unnecessary icon-theme.cache file.
  268. - update BuildRequires.
  269. * Tue Mar 07 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-0vl1
  270. - source update.
  271. * Wed Mar 01 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.0-0vl1
  272. - source update.
  273. - change BuildRequires of poppler-devel (from >= 0.4.3 to >= 0.5.0)
  274. * Wed Sep 21 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-0vl1
  275. - source update.
  276. - add BuildRequires: poppler-devel >= 0.4.0, libgnomeprint-devel,
  277. libgnomeprintui-devel.
  278. - add configure option --disable-scrollkeeper.
  279. - add %%{_libdir}/nautilus/extensions-1.0/libevince-properties-page.* in
  280. %%files section.
  281. * Sat Jun 25 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.2-0vl1
  282. - source update.
  283. * Tue May 24 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-0vl1
  284. - source update.
  285. * Wed May 18 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-0vl1
  286. - source update.
  287. - add %doc in %file section.
  288. * Thu May 05 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.1-0vl1
  289. - initial build for VineSeed Plus.