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