source: projects/specs/trunk/p/pdfshuffler/pdfshuffler-vl.spec @ 8167

Revision 8167, 3.6 KB checked in by kudoh, 10 years ago (diff)

new upstream release and rebuild

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.6.0
5Release:        2%{?_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
14Patch0:         enable_trans.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18
19BuildRequires:  python-devel
20BuildRequires:  python-setuptools
21BuildRequires:  desktop-file-utils
22BuildRequires:  gettext
23
24Requires:       pygtk2
25Requires:       pyPdf
26Requires:       pypoppler
27
28
29%description
30PDF-Shuffler is a small python-gtk application, which helps the user
31to merge or split pdf documents and rotate, crop and rearrange their
32pages using an interactive and intuitive graphical interface.
33
34%description -l ja
35PDF-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
51rm -rf %{buildroot}
52%{__python} setup.py install --root %{buildroot}
53desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
54%find_lang %{name}
55
56
57%clean
58rm -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
Note: See TracBrowser for help on using the repository browser.