1323156
Name:           pdfshuffler
a56ffb3
Version:        0.6.0
ab00462
Release:        16%{?dist}
1323156
Summary:        PDF file merging, rearranging, and splitting
1323156
1323156
License:        GPLv2+
1323156
URL:            http://sourceforge.net/projects/pdfshuffler/
d64a441
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
1323156
BuildArch:      noarch
1323156
Fabian Affolter c48d9f0
BuildRequires:  python2-devel
769cbb8
BuildRequires:  python2-setuptools
1323156
BuildRequires:  desktop-file-utils
1323156
BuildRequires:  gettext
1323156
5885a24
Requires:       pygtk2
d2e09b7
Requires:       python2-PyPDF2
45f5de0
Requires:       pypoppler
5885a24
1323156
%description
1323156
PDF-Shuffler is a small python-gtk application, which helps the user
1323156
to merge or split pdf documents and rotate, crop and rearrange their
1323156
pages using an interactive and intuitive graphical interface.
1323156
1323156
%prep
6da3f2f
%setup -q
1323156
1323156
%build
bd63623
%{__python2} setup.py build
1323156
1323156
%install
bd63623
%{__python2} setup.py install --root %{buildroot}
1323156
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
1323156
%find_lang %{name}
1323156
Richard Hughes ef767ce
# Register as an application to be visible in the software center
Richard Hughes ef767ce
#
Richard Hughes ef767ce
# NOTE: It would be *awesome* if this file was maintained by the upstream
Richard Hughes ef767ce
# project, translated and installed into the right place during `make install`.
Richard Hughes ef767ce
#
Richard Hughes ef767ce
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
Richard Hughes ef767ce
#
Richard Hughes ef767ce
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
Richard Hughes ef767ce
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
Richard Hughes ef767ce
Richard Hughes ef767ce
Richard Hughes ef767ce
Richard Hughes ef767ce
BugReportURL: https://sourceforge.net/p/pdfshuffler/feature-requests/34/
Richard Hughes ef767ce
SentUpstream: 2014-09-17
Richard Hughes ef767ce
-->
Richard Hughes ef767ce
<application>
Richard Hughes ef767ce
  <id type="desktop">pdfshuffler.desktop</id>
Richard Hughes ef767ce
  <metadata_license>CC0-1.0</metadata_license>
Richard Hughes ef767ce
  <description>
Richard Hughes ef767ce
    

Richard Hughes ef767ce
      PDF-Shuffler is a small application, which helps the user to merge or split pdf
Richard Hughes ef767ce
      documents and rotate, crop and rearrange their pages using an interactive and
Richard Hughes ef767ce
      intuitive graphical interface.
Richard Hughes ef767ce
      It is a frontend for python-pyPdf.
Richard Hughes ef767ce
    

Richard Hughes ef767ce
    
Richard Hughes ef767ce
  </description>
Richard Hughes ef767ce
  <url type="homepage">http://pdfshuffler.sourceforge.net/</url>
Richard Hughes ef767ce
  <screenshots>
Richard Hughes ef767ce
    <screenshot type="default">http://a.fsdn.com/con/app/proj/pdfshuffler/screenshots/181783.jpg/</screenshot>
Richard Hughes ef767ce
  </screenshots>
Richard Hughes ef767ce
  
Richard Hughes ef767ce
  <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
Richard Hughes ef767ce
   -->
Richard Hughes ef767ce
</application>
Richard Hughes ef767ce
EOF
Richard Hughes ef767ce
1323156
%files -f %{name}.lang
d2e09b7
%doc AUTHORS ChangeLog README TODO
d2e09b7
%license COPYING
1323156
%{_mandir}/man*/*.*
1323156
%{_bindir}/%{name}
24425d6
%{_datadir}/%{name}/
Richard Hughes ef767ce
%{_datadir}/appdata/%{name}.appdata.xml
1323156
%{_datadir}/applications/%{name}.desktop
1323156
%{_datadir}/pixmaps/%{name}.png
bd63623
%{python2_sitelib}/%{name}*.egg-info
bd63623
%{python2_sitelib}/%{name}/
1323156
1323156
%changelog
ab00462
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-16
ab00462
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ab00462
d2e09b7
* Mon Sep 10 2018 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-15
d2e09b7
- Switch to PyPDF2 (rhbz#1592820)
d2e09b7
afebbf5
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-14
afebbf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
afebbf5
769cbb8
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.0-13
769cbb8
- Update Python 2 dependency declarations to new packaging standards
769cbb8
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
769cbb8
08b08ca
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-12
08b08ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
08b08ca
9625aaa
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-11
9625aaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9625aaa
e33c4a1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-10
e33c4a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e33c4a1
a9ee956
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-9
a9ee956
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a9ee956
6d3fcf4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-8
6d3fcf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6d3fcf4
2ad2814
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-7
2ad2814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2ad2814
Richard Hughes ef767ce
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.6.0-6
Richard Hughes ef767ce
- Add an AppData file for the software center
Richard Hughes ef767ce
0759267
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
0759267
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0759267
bd63623
* Mon Feb 17 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-4
bd63623
- Update macros
bd63623
358474b
* Thu Aug 22 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-3
24425d6
- Patch removed
358474b
- Rebuilt
358474b
7705d5b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
7705d5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7705d5b
d64a441
* Wed Jun 26 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
d64a441
- Spec file cleaned
d64a441
- Switch to release package
d64a441
71a5d84
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-0.4.20120302svn64
71a5d84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
71a5d84
0520200
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-0.3.20120302svn64
0520200
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0520200
125f0f6
* Thu Feb 02 2012 Fabian Affolter <mail@fabian-affolter.ch>  - 0.6.0-0.2.20120302svn64
8993b1f
- Minor changes
8993b1f
a56ffb3
* Thu Jan 26 2012 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.6.0-0.1.20120126svn64
a56ffb3
- Update to current SVN snapshot
a56ffb3
2a84137
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
2a84137
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2a84137
8993b1f
* Sun Apr 17 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.1-1
Fabian Affolter c48d9f0
- Updated to new upstream version 0.5.1
Fabian Affolter c48d9f0
8831dd0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
8831dd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8831dd0
e750578
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.5-2
e750578
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
e750578
8993b1f
* Mon Mar 15 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.5-1
3a200ab
- Updated to new upstream version 0.5
3a200ab
1a892f6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
1a892f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1a892f6
8993b1f
* Fri Jul 17 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-1
45f5de0
- Updated to new upstream version 0.4.2
45f5de0
8993b1f
* Sat Apr 25 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.4-2
45f5de0
- Removed patch0
45f5de0
- Removed permission changing of doc files
45f5de0
- Removed ghostscript and added pypoppler as a requirement
45f5de0
8993b1f
* Sat Apr 25 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.4-1
747e9c3
- Updated to new upstream version 0.4
747e9c3
e25ea3c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-4
e25ea3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e25ea3c
8993b1f
* Sat Feb 14 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-3
5885a24
- Fixed requirements
5885a24
8993b1f
* Sat Jan 31 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-2
1323156
- Fixed typo in summary and .desktop file
1323156
8993b1f
* Sat Jan 24 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-1
1323156
- Initial package for Fedora
1323156