epdfview-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: epdfview
  2. Version: 0.1.7
  3. Release: 4%{?_dist_release}
  4. Summary: Lightweight PDF document viewer
  5. Summary(ja): 軽量な PDF ドキュメントビューア
  6. Group: Applications/Publishing
  7. License: GPLv2+
  8. URL: http://trac.emma-soft.com/epdfview
  9. Source0: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
  10. Patch1: epdfview-0.1.7-fix-mouse-scroll.patch
  11. Patch2: 03_nonexisting-file.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: poppler-devel
  14. BuildRequires: gtk2-devel glib2-devel cups-devel
  15. BuildRequires: bison cppunit-devel
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: autoconf automake libtool gettext
  18. %description
  19. ePDFView is a lightweight PDF document viewer using Poppler and GTK+ libraries.
  20. The aim of ePDFView is to make a simple PDF document viewer, in the lines of
  21. Evince but without using the Gnome libraries.
  22. %description -l ja
  23. ePDFView は Poppler と GTK+ ライブラリを用いた軽量な PDF ドキュメントビューアです。
  24. ePDFView の狙いは Evince の流れをくみつつも Gnome ライブラリを使用することなく
  25. シンプルな PDF ドキュメントビューアを作成することにあります。
  26. %prep
  27. %setup -q
  28. %patch1 -p1
  29. %patch2 -p1
  30. %build
  31. %configure
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  36. desktop-file-install \
  37. --dir=%{buildroot}%{_datadir}/applications \
  38. --vendor=vine \
  39. --delete-original \
  40. --remove-category Office \
  41. --add-category Graphics \
  42. %{buildroot}/%{_datadir}/applications/%{name}.desktop
  43. install -dm 755 %{buildroot}/%{_datadir}/pixmaps
  44. pushd %{buildroot}/%{_datadir}/pixmaps
  45. ln -s ../%{name}/pixmaps/icon_epdfview-48.png .
  46. popd
  47. %find_lang %{name}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. update-desktop-database &> /dev/null || :
  52. %postun
  53. update-desktop-database &> /dev/null || :
  54. %files -f %{name}.lang
  55. %defattr(-,root,root,-)
  56. %{_bindir}/%{name}
  57. %doc AUTHORS COPYING README NEWS THANKS
  58. %{_datadir}/applications/*%{name}.desktop
  59. %dir %{_datadir}/%{name}
  60. %{_datadir}/%{name}/pixmaps
  61. %{_datadir}/%{name}/ui
  62. %{_datadir}/pixmaps/icon_epdfview-48.png
  63. %changelog
  64. * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-4
  65. - rebuild with poppler-0.14.2
  66. * Sun Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-3
  67. - added Patch2 from Debian
  68. - added BuildRequires: bison, cppunit-devel
  69. * Thu Sep 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-2
  70. - added Patch1 from Mandriva to fix mouse scroll
  71. * Sat Aug 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-1
  72. - initial build for Vine 5
  73. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  75. * Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1
  76. - Upstream release 0.1.7.
  77. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn
  80. - Add icon.
  81. * Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn
  82. - Rebased to current svn snapshot.
  83. - Fixes bz476575 "epdfview crashes on print pdf".
  84. * Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5
  85. - rebuild for dependencies
  86. * Fri Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4
  87. - Fix build with the new RPM.
  88. * Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3
  89. - Rebuild with new poppler.
  90. * Fri Feb 15 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-2
  91. - Use standard scriptlets for updating desktop-database.
  92. - Conditional buildreqs to build on F8 too.
  93. - Preserve timestamps of unmodified files.
  94. * Wed Feb 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-1
  95. - Initial Fedora package.