12b3e6
%global	timestamp	20190902
12b3e6
%global	svnversion	275
195c53
Name:           impressive
12b3e6
Version:        0.13.0
12b3e6
Release:        0.1.%{timestamp}svn%{svnversion}%{?dist}
320908
Summary:        A program that displays presentation slides
195c53
195c53
License:        GPLv2
195c53
URL:            http://impressive.sourceforge.net/
12b3e6
#Source0:        http://downloads.sourceforge.net/%{name}/Impressive-%{version}.tar.gz
12b3e6
# svn export -r %{svnversion} http://svn.emphy.de/impressive/branches/python3/impressive Impressive-%{version}
12b3e6
# make -C Impressive-%{version} release
12b3e6
# mv Impressive-%{version}_releases/Impressive-%{version}-WIP.tar.gz Impressive-%{version}-WIP-%{timestamp}svn%{svnversion}
12b3e6
Source0:        %{name}/Impressive-%{version}-WIP-%{timestamp}svn%{svnversion}.tar.gz
320908
# Wrapper script for making sure hardware acceleration is available
195c53
Source1:        %{name}.sh
c9022f
195c53
BuildArch:      noarch
c9022f
BuildRequires:  python3-devel
320908
# The following requires are not picked up by rpm:
83971e
# - imported modules (required):
c9022f
Requires:       python3-imaging
c9022f
Requires:       python3-pygame
195c53
Requires:       opengl-games-utils
a93dfc
# - external tools for displaying and parsing pdf (required):
cdfeed
Requires:       mupdf
a93dfc
# - external tool for acting on links (strongly recommended):
195c53
Requires:       xdg-utils
83971e
# - font for on screen display (recommended):
195c53
Requires:       dejavu-sans-fonts
195c53
195c53
195c53
%description
195c53
Impressive is a program that displays presentation slides. But unlike 
195c53
OpenOffice.org Impress or other similar applications, it does so with 
195c53
style. 
195c53
195c53
Smooth alpha-blended slide transitions are provided for the sake 
195c53
of eye candy, but in addition to this, Impressive offers some unique tools 
195c53
that are really useful for presentations.
195c53
195c53
195c53
%prep
12b3e6
%autosetup -n Impressive-%{version}-WIP -p1
12b3e6
sed -ie '1s#/usr/bin/env python#/usr/bin/python3#' impressive.py
195c53
195c53
%build
c9022f
sed -e "s|@PYTHON_SITELIB@|%{python3_sitelib}|" %{SOURCE1} > impressive.sh
320908
# This package doesn't build anything, just copy files under build root.
195c53
195c53
195c53
%install
320908
rm -rf %{buildroot}
c9022f
install -D -p -m 755 impressive.py %{buildroot}%{python3_sitelib}/impressive.py
320908
install -D -p -m 644 impressive.1 %{buildroot}%{_mandir}/man1/impressive.1
320908
install -D -p -m 755 impressive.sh %{buildroot}%{_bindir}/impressive
195c53
195c53
195c53
195c53
%files
195c53
%doc changelog.txt demo.pdf impressive.html license.txt
320908
%{_bindir}/impressive
c9022f
%{python3_sitelib}/impressive.py
c9022f
%{python3_sitelib}/__pycache__/*
320908
%{_mandir}/man1/impressive.1*
195c53
195c53
%changelog
12b3e6
* Mon Sep 02 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.13.0-0.1.20190902svn275
12b3e6
- build from upstream python3 branch
12b3e6
- previous py3k patches have been upstreamed
12b3e6
96bfcf
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-12
96bfcf
- Rebuilt for Python 3.8
96bfcf
622a68
* Mon Aug 19 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-11
622a68
- patch version v0.11.1-74-gc504a64
622a68
c9022f
* Sun Aug 18 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-10
c9022f
- port current svn version to python3 (coordinated with upstream, release pending)
622a68
- patch version v0.11.1-74-g0223cd9
c9022f
- fixes bug 1731634
c9022f
43a9b5
* Fri Jul 26 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-9
43a9b5
- remove obsolete comment
43a9b5
0f2b3e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-8
0f2b3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0f2b3e
109091
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-7
109091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
109091
e3c8da
* Mon Oct 22 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-6
e3c8da
- rebuild for python2-pygame dependency update
e3c8da
3a9cd3
* Fri Jul 13 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-5
3a9cd3
- adjust to py2 packaging guidelines
3a9cd3
089139
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-4
089139
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
089139
fdb4da
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.12.0-3
fdb4da
- Update Python 2 dependency declarations to new packaging standards
fdb4da
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
fdb4da
9fdc71
* Tue Feb 06 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-2
9fdc71
- remove obsolete dependency
9fdc71
aa0922
* Tue Feb 06 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.12.0-1
aa0922
- upstream bugfix and feature release
aa0922
e85cd8
* Mon Feb 05 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.11.3-1
e85cd8
- upstream bugfix release
e85cd8
c07f10
* Sat Jan 06 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.11.2-4
c07f10
- use correct shebang
c07f10
a4ce02
* Thu Jan 04 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.11.2-3
a4ce02
- depend on Py2 packages explicitely
a4ce02
f52d47
* Tue Dec 26 2017 Michael J Gruber <mjg@fedoraproject.org> - 0.11.2-2
f52d47
- follow upstream re-tagging
f52d47
106d3f
* Tue Dec 19 2017 Michael J Gruber <mjg@fedoraproject.org> - 0.11.2-1
106d3f
- sync with upstream
106d3f
7655c7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-6
7655c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7655c7
8b5150
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
8b5150
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8b5150
099307
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-4
099307
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
099307
a75a5e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-3
a75a5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a75a5e
cdfeed
* Sat Nov 21 2015 Michael J Gruber <mjg@fedoraproject.org> - 0.11.1-2
cdfeed
- adjust to current mudraw option syntax
cdfeed
- use mutool for info parsing
cdfeed
1b54a8
* Sat Nov 21 2015 Michael J Gruber <mjg@fedoraproject.org> - 0.11.1-1
1b54a8
- sync with upstream
1b54a8
- fix changelog typos
1b54a8
052648
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-5
052648
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
052648
291af7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-4
291af7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
291af7
1b54a8
* Tue Mar 11 2014 Michael J Gruber <mjg@fedoraproject.org> - 0.10.4-3
e8e673
- temporarily remove R pdftk
e8e673
1b54a8
* Thu Jan 02 2014 Michael J Gruber <mjg@fedoraproject.org> - 0.10.4-2
a93dfc
- upate requires as recommended by upstream
a93dfc
1b54a8
* Thu Jan 02 2014 Michael J Gruber <mjg@fedoraproject.org> - 0.10.4-1
c20c80
- sync with upstream
c20c80
- drop pillow compatibility patch (upstreamed)
c20c80
- drop backported PDF parser fix (upstreamed)
c20c80
a4306c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-12
a4306c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a4306c
f4361b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-11
f4361b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f4361b
696628
* Tue Jan 15 2013 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-10
696628
- pillow compatibility (bug 895270, patch by Toshio Ernie Kuratomi)
696628
61bf7a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-9
61bf7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
61bf7a
32de79
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-8
32de79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
32de79
8d0329
* Mon Nov 28 2011 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-7
8d0329
- backport PDF parser fix
8d0329
3ccdce
* Mon May 02 2011 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-6
3ccdce
- EPEL has no pdftk (recommended but optional requirement)
3ccdce
3ccdce
* Fri Mar 11 2011 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-5
83971e
- Clarify explicit requires.
83971e
- Add pdftk as requirement.
83971e
2cbc0e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-4
2cbc0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2cbc0e
3ccdce
* Sun Dec 05 2010 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-3
320908
- spec file cleanup.
320908
3ccdce
* Sun Dec 05 2010 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-2
320908
- Make summary less flashy.
320908
- Install main program in sitelib.
320908
- BR python-devel.
320908
3ccdce
* Fri Dec 03 2010 Michael J Gruber <mjg@fedoraproject.org> - 0.10.3-1
320908
- Sync with upstream.
320908
195c53
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-8
195c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
195c53
195c53
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-7
195c53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
195c53
195c53
* Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 0.10.2-6
195c53
- Added provides keyjnote.
195c53
195c53
* Mon Feb 16 2009 Allisson Azevedo <allisson@gmail.com> 0.10.2-5
195c53
- Obsolete keyjnote.
195c53
195c53
* Mon Feb 16 2009 Allisson Azevedo <allisson@gmail.com> 0.10.2-4
195c53
- Fix requires for dejavu fonts.
195c53
195c53
* Thu Feb 12 2009 Allisson Azevedo <allisson@gmail.com> 0.10.2-3
195c53
- Added OpenGL wrapper.
195c53
- Fix requires for dejavu fonts.
195c53
195c53
* Thu Feb 12 2009 Allisson Azevedo <allisson@gmail.com> 0.10.2-2
195c53
- Changed license.
195c53
- Added dejavu-fonts to requires.
195c53
- Added build section.
195c53
195c53
* Mon Feb  9 2009 Allisson Azevedo <allisson@gmail.com> 0.10.2-1
195c53
- Initial RPM release