1 | %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: pdfshuffler |
---|
4 | Version: 0.6.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: PDF file merging, rearranging, and splitting |
---|
7 | Summary(ja): PDF ファイルのマージ、再配置、分割 |
---|
8 | |
---|
9 | Group: Applications/Publishing |
---|
10 | License: GPLv3 |
---|
11 | URL: http://sourceforge.net/projects/pdfshuffler/ |
---|
12 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
13 | Source1: pdfshuffler_ja.po |
---|
14 | Patch0: enable_trans.patch |
---|
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 |
---|
43 | %patch0 -p1 |
---|
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 |
---|
68 | %{_datadir}/%{name}/icons/hicolor/*/%{name}.svg |
---|
69 | %{_datadir}/%{name}/%{name}.ui |
---|
70 | %{python_sitelib}/%{name}*.egg-info |
---|
71 | %{python_sitelib}/%{name}/ |
---|
72 | |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.0-2 |
---|
76 | - rebuilt with current toolchain |
---|
77 | |
---|
78 | * Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.0-1 |
---|
79 | - new upstream release |
---|
80 | - update source1 |
---|
81 | - added Patch0 to enable Japanese translation |
---|
82 | |
---|
83 | * Sat Nov 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1 |
---|
84 | - new upstream release |
---|
85 | - updated source1 |
---|
86 | - changed License: GPLv3 |
---|
87 | |
---|
88 | * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5-2 |
---|
89 | - rebuild with poppler-0.14.2 |
---|
90 | |
---|
91 | * Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1 |
---|
92 | - initial build for VineSeed |
---|
93 | |
---|
94 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
96 | |
---|
97 | * Fri Jul 17 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4.2-1 |
---|
98 | - Updated to new upstream version 0.4.2 |
---|
99 | |
---|
100 | * Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4-2 |
---|
101 | - Removed patch0 |
---|
102 | - Removed permission changing of doc files |
---|
103 | - Removed ghostscript and added pypoppler as a requirement |
---|
104 | |
---|
105 | * Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4-1 |
---|
106 | - Updated to new upstream version 0.4 |
---|
107 | |
---|
108 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-4 |
---|
109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
110 | |
---|
111 | * Sat Feb 14 2009 Fabian Affolter <fabian@bernewireless.net> - 0.3.1-3 |
---|
112 | - Fixed requirements |
---|
113 | |
---|
114 | * Sat Jan 31 2009 Fabian Affolter <fabian@bernewireless.net> - 0.3.1-2 |
---|
115 | - Fixed typo in summary and .desktop file |
---|
116 | |
---|
117 | * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.3.1-1 |
---|
118 | - Initial package for Fedora |
---|