[521] | 1 | %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | |
---|
| 3 | Name: pdfshuffler |
---|
[6133] | 4 | Version: 0.6.0 |
---|
[9791] | 5 | Release: 3%{?_dist_release} |
---|
[521] | 6 | Summary: PDF file merging, rearranging, and splitting |
---|
| 7 | Summary(ja): PDF ファイルのマージ、再配置、分割 |
---|
| 8 | |
---|
| 9 | Group: Applications/Publishing |
---|
[2220] | 10 | License: GPLv3 |
---|
[521] | 11 | URL: http://sourceforge.net/projects/pdfshuffler/ |
---|
| 12 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
[2220] | 13 | Source1: pdfshuffler_ja.po |
---|
[6133] | 14 | Patch0: enable_trans.patch |
---|
[521] | 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildArch: noarch |
---|
| 18 | |
---|
| 19 | BuildRequires: python-devel |
---|
| 20 | BuildRequires: python-setuptools |
---|
| 21 | BuildRequires: desktop-file-utils |
---|
| 22 | BuildRequires: gettext |
---|
| 23 | |
---|
| 24 | Requires: pygtk2 |
---|
| 25 | Requires: pyPdf |
---|
| 26 | Requires: pypoppler |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %description |
---|
| 30 | PDF-Shuffler is a small python-gtk application, which helps the user |
---|
| 31 | to merge or split pdf documents and rotate, crop and rearrange their |
---|
| 32 | pages using an interactive and intuitive graphical interface. |
---|
| 33 | |
---|
| 34 | %description -l ja |
---|
| 35 | PDF-Shuffler は PDF ドキュメントのマージ、分割、回転、ページの再配置を |
---|
| 36 | インタラクティブで直感的なグラフィカルインターフェイスを使用し、 |
---|
| 37 | 手助けする小さな python-gtk アプリケーションです。 |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q |
---|
| 42 | %{__cp} -f %{SOURCE1} po/ja.po |
---|
[6133] | 43 | %patch0 -p1 |
---|
[521] | 44 | |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %{__python} setup.py build |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | rm -rf %{buildroot} |
---|
| 52 | %{__python} setup.py install --root %{buildroot} |
---|
| 53 | desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop |
---|
| 54 | %find_lang %{name} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf %{buildroot} |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %files -f %{name}.lang |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %doc AUTHORS ChangeLog COPYING README TODO |
---|
| 64 | %{_mandir}/man*/*.* |
---|
| 65 | %{_bindir}/%{name} |
---|
| 66 | %{_datadir}/applications/%{name}.desktop |
---|
| 67 | %{_datadir}/pixmaps/%{name}.png |
---|
[6133] | 68 | %{_datadir}/%{name}/icons/hicolor/*/%{name}.svg |
---|
| 69 | %{_datadir}/%{name}/%{name}.ui |
---|
[521] | 70 | %{python_sitelib}/%{name}*.egg-info |
---|
[6133] | 71 | %{python_sitelib}/%{name}/ |
---|
[521] | 72 | |
---|
| 73 | |
---|
| 74 | %changelog |
---|
[9791] | 75 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-3 |
---|
| 76 | - rebuild with poppler-0.37.0 |
---|
| 77 | |
---|
[8167] | 78 | * Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.0-2 |
---|
| 79 | - rebuilt with current toolchain |
---|
| 80 | |
---|
[6133] | 81 | * Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.0-1 |
---|
| 82 | - new upstream release |
---|
| 83 | - update source1 |
---|
| 84 | - added Patch0 to enable Japanese translation |
---|
| 85 | |
---|
[2220] | 86 | * Sat Nov 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - updated source1 |
---|
| 89 | - changed License: GPLv3 |
---|
| 90 | |
---|
[2041] | 91 | * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5-2 |
---|
| 92 | - rebuild with poppler-0.14.2 |
---|
| 93 | |
---|
[521] | 94 | * Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1 |
---|
| 95 | - initial build for VineSeed |
---|
| 96 | |
---|
| 97 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2 |
---|
| 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 99 | |
---|
| 100 | * Fri Jul 17 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4.2-1 |
---|
| 101 | - Updated to new upstream version 0.4.2 |
---|
| 102 | |
---|
| 103 | * Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4-2 |
---|
| 104 | - Removed patch0 |
---|
| 105 | - Removed permission changing of doc files |
---|
| 106 | - Removed ghostscript and added pypoppler as a requirement |
---|
| 107 | |
---|
| 108 | * Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4-1 |
---|
| 109 | - Updated to new upstream version 0.4 |
---|
| 110 | |
---|
| 111 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-4 |
---|
| 112 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 113 | |
---|
| 114 | * Sat Feb 14 2009 Fabian Affolter <fabian@bernewireless.net> - 0.3.1-3 |
---|
| 115 | - Fixed requirements |
---|
| 116 | |
---|
| 117 | * Sat Jan 31 2009 Fabian Affolter <fabian@bernewireless.net> - 0.3.1-2 |
---|
| 118 | - Fixed typo in summary and .desktop file |
---|
| 119 | |
---|
| 120 | * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.3.1-1 |
---|
| 121 | - Initial package for Fedora |
---|