[521] | 1 | Name: epdfview |
---|
[3984] | 2 | Version: 0.1.8 |
---|
[10759] | 3 | Release: 9%{?_dist_release} |
---|
[521] | 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 |
---|
[3984] | 11 | #Patch0: epdfview-poppler-0.16.patch |
---|
| 12 | #Patch1: epdfview-0.1.7-fix-mouse-scroll.patch |
---|
| 13 | #Patch2: 03_nonexisting-file.patch |
---|
[6133] | 14 | Patch0: 02_glib-single-include.patch |
---|
| 15 | Patch1: epdfview-0.1.8-swap-colors-with-poppler-0.18.patch |
---|
[8306] | 16 | Patch2: 06_fix-format.patch |
---|
| 17 | Patch3: epdfview-0.1.8-cups-1.6.patch |
---|
[521] | 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
| 21 | BuildRequires: poppler-devel |
---|
| 22 | BuildRequires: gtk2-devel glib2-devel cups-devel |
---|
| 23 | BuildRequires: bison cppunit-devel |
---|
| 24 | BuildRequires: desktop-file-utils |
---|
| 25 | BuildRequires: autoconf automake libtool gettext |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | ePDFView is a lightweight PDF document viewer using Poppler and GTK+ libraries. |
---|
| 29 | The aim of ePDFView is to make a simple PDF document viewer, in the lines of |
---|
| 30 | Evince but without using the Gnome libraries. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | ePDFView は Poppler と GTK+ ライブラリを用いた軽量な PDF ドキュメントビューアです。 |
---|
| 34 | ePDFView の狙いは Evince の流れをくみつつも Gnome ライブラリを使用することなく |
---|
| 35 | シンプルな PDF ドキュメントビューアを作成することにあります。 |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
[6133] | 39 | %patch0 -p1 |
---|
| 40 | %patch1 -p0 |
---|
[8306] | 41 | %patch2 -p1 |
---|
| 42 | %patch3 -p1 |
---|
[521] | 43 | |
---|
| 44 | %build |
---|
[2998] | 45 | # making null ChangeLog to avoid failure at autoreconf |
---|
| 46 | touch ChangeLog |
---|
[6133] | 47 | #autoreconf -f -i |
---|
[521] | 48 | %configure |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
| 54 | |
---|
| 55 | desktop-file-install \ |
---|
| 56 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
| 57 | --vendor=vine \ |
---|
| 58 | --delete-original \ |
---|
| 59 | --remove-category Office \ |
---|
| 60 | --add-category Graphics \ |
---|
| 61 | %{buildroot}/%{_datadir}/applications/%{name}.desktop |
---|
| 62 | |
---|
| 63 | install -dm 755 %{buildroot}/%{_datadir}/pixmaps |
---|
| 64 | pushd %{buildroot}/%{_datadir}/pixmaps |
---|
| 65 | ln -s ../%{name}/pixmaps/icon_epdfview-48.png . |
---|
| 66 | popd |
---|
| 67 | |
---|
| 68 | %find_lang %{name} |
---|
| 69 | |
---|
| 70 | %clean |
---|
| 71 | rm -rf $RPM_BUILD_ROOT |
---|
| 72 | |
---|
| 73 | %post |
---|
| 74 | update-desktop-database &> /dev/null || : |
---|
| 75 | |
---|
| 76 | %postun |
---|
| 77 | update-desktop-database &> /dev/null || : |
---|
| 78 | |
---|
| 79 | %files -f %{name}.lang |
---|
| 80 | %defattr(-,root,root,-) |
---|
| 81 | %{_bindir}/%{name} |
---|
| 82 | %doc AUTHORS COPYING README NEWS THANKS |
---|
| 83 | %{_datadir}/applications/*%{name}.desktop |
---|
| 84 | %dir %{_datadir}/%{name} |
---|
| 85 | %{_datadir}/%{name}/pixmaps |
---|
| 86 | %{_datadir}/%{name}/ui |
---|
| 87 | %{_datadir}/pixmaps/icon_epdfview-48.png |
---|
[3984] | 88 | %{_mandir}/man1/ |
---|
[521] | 89 | |
---|
| 90 | %changelog |
---|
[10759] | 91 | * Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> - 0.1.8-9 |
---|
| 92 | - rebuild with gcc-5.4.0 |
---|
| 93 | |
---|
[10567] | 94 | * Sat Jul 09 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-8 |
---|
| 95 | - rebuilt with new toolchain |
---|
| 96 | |
---|
[9791] | 97 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-7 |
---|
| 98 | - rebuild with poppler-0.37.0 |
---|
| 99 | |
---|
[8771] | 100 | * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-6 |
---|
| 101 | - rebuild with poppler-0.26.2 |
---|
| 102 | |
---|
[8409] | 103 | * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-5 |
---|
| 104 | - rebuild with poppler-0.24.5 |
---|
| 105 | |
---|
[8307] | 106 | * Sat Mar 15 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-4 |
---|
[8306] | 107 | - added Patch2 from Debian sid to fix message format |
---|
[8307] | 108 | - added Patch3 to fix build error against cups |
---|
[8306] | 109 | (it is from https://github.com/Barthalion/aports/blob/master/main/epdfview/epdfview-0.1.8-cups-1.6.patch) |
---|
[8307] | 110 | |
---|
| 111 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.8-3 |
---|
| 112 | - rebuild with poppler-0.24.2 |
---|
[7938] | 113 | |
---|
[6133] | 114 | * Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-2 |
---|
| 115 | - rebuilt with poppler-0.18.4 |
---|
| 116 | - added Patch0 from Debian sid to fix build error |
---|
| 117 | - added Patch1 from Fedora rawhide to fix color channel |
---|
| 118 | |
---|
[3984] | 119 | * Sun May 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-1 |
---|
| 120 | - new upstream release |
---|
| 121 | - dropt all patches |
---|
| 122 | |
---|
[3263] | 123 | * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-6 |
---|
| 124 | - rebuild with krb5-libs-1.8.2 |
---|
| 125 | |
---|
[2998] | 126 | * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-5 |
---|
| 127 | - rebuilt with poppler-0.16.3 |
---|
| 128 | - added Patch0 |
---|
| 129 | |
---|
[2041] | 130 | * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.7-4 |
---|
| 131 | - rebuild with poppler-0.14.2 |
---|
| 132 | |
---|
[7938] | 133 | * Sat Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-3 |
---|
[521] | 134 | - added Patch2 from Debian |
---|
| 135 | - added BuildRequires: bison, cppunit-devel |
---|
| 136 | |
---|
| 137 | * Thu Sep 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-2 |
---|
| 138 | - added Patch1 from Mandriva to fix mouse scroll |
---|
| 139 | |
---|
| 140 | * Sat Aug 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.7-1 |
---|
| 141 | - initial build for Vine 5 |
---|
| 142 | |
---|
| 143 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2 |
---|
| 144 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 145 | |
---|
| 146 | * Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1 |
---|
| 147 | - Upstream release 0.1.7. |
---|
| 148 | |
---|
| 149 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn |
---|
| 150 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 151 | |
---|
| 152 | * Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn |
---|
| 153 | - Add icon. |
---|
| 154 | |
---|
| 155 | * Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn |
---|
| 156 | - Rebased to current svn snapshot. |
---|
| 157 | - Fixes bz476575 "epdfview crashes on print pdf". |
---|
| 158 | |
---|
| 159 | * Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5 |
---|
| 160 | - rebuild for dependencies |
---|
| 161 | |
---|
[7938] | 162 | * Sun Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4 |
---|
[521] | 163 | - Fix build with the new RPM. |
---|
| 164 | |
---|
| 165 | * Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3 |
---|
| 166 | - Rebuild with new poppler. |
---|
| 167 | |
---|
| 168 | * Fri Feb 15 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-2 |
---|
| 169 | - Use standard scriptlets for updating desktop-database. |
---|
| 170 | - Conditional buildreqs to build on F8 too. |
---|
| 171 | - Preserve timestamps of unmodified files. |
---|
| 172 | |
---|
| 173 | * Wed Feb 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-1 |
---|
| 174 | - Initial Fedora package. |
---|