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