epdfview-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Name: epdfview
  2. Version: 0.1.7
  3. Release: 3%{?_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. * Sun Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-3
  65. - added Patch2 from Debian
  66. - added BuildRequires: bison, cppunit-devel
  67. * Thu Sep 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-2
  68. - added Patch1 from Mandriva to fix mouse scroll
  69. * Sat Aug 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-1
  70. - initial build for Vine 5
  71. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1
  74. - Upstream release 0.1.7.
  75. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  77. * Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn
  78. - Add icon.
  79. * Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn
  80. - Rebased to current svn snapshot.
  81. - Fixes bz476575 "epdfview crashes on print pdf".
  82. * Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5
  83. - rebuild for dependencies
  84. * Fri Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4
  85. - Fix build with the new RPM.
  86. * Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3
  87. - Rebuild with new poppler.
  88. * Fri Feb 15 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-2
  89. - Use standard scriptlets for updating desktop-database.
  90. - Conditional buildreqs to build on F8 too.
  91. - Preserve timestamps of unmodified files.
  92. * Wed Feb 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-1
  93. - Initial Fedora package.