source: projects/specs/branches/6/p/pdfshuffler/pdfshuffler-vl.spec @ 2220

Revision 2220, 3.2 KB checked in by kudoh, 13 years ago (diff)
Line 
1%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           pdfshuffler
4Version:        0.5.1
5Release:        1%{?_dist_release}
6Summary:        PDF file merging, rearranging, and splitting
7Summary(ja):    PDF ファイルのマージ、再配置、分割
8
9Group:          Applications/Publishing
10License:        GPLv3
11URL:            http://sourceforge.net/projects/pdfshuffler/
12Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
13Source1:        pdfshuffler_ja.po
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16BuildArch:      noarch
17
18BuildRequires:  python-devel
19BuildRequires:  python-setuptools
20BuildRequires:  desktop-file-utils
21BuildRequires:  gettext
22
23Requires:       pygtk2
24Requires:       pyPdf
25Requires:       pypoppler
26
27
28%description
29PDF-Shuffler is a small python-gtk application, which helps the user
30to merge or split pdf documents and rotate, crop and rearrange their
31pages using an interactive and intuitive graphical interface.
32
33%description -l ja
34PDF-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
49rm -rf %{buildroot}
50%{__python} setup.py install --root %{buildroot}
51desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
52%find_lang %{name}
53
54
55%clean
56rm -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
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
76* Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5-2
77- rebuild with poppler-0.14.2
78
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
Note: See TracBrowser for help on using the repository browser.