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

Revision 9791, 3.7 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

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:        3%{?_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* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-3
76- rebuild with poppler-0.37.0
77
78* Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.0-2
79- rebuilt with current toolchain
80
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
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
91* Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5-2
92- rebuild with poppler-0.14.2
93
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
Note: See TracBrowser for help on using the repository browser.