Blob Blame History Raw
Name:           impressive
Version:        0.13.1
Release:        %autorelease
Summary:        A program that displays presentation slides

License:        GPL-2.0-or-later
# Wrapper script for making sure hardware acceleration is available
Source1:        %{name}.sh

BuildArch:      noarch
BuildRequires:  python3-devel
# The following requires are not picked up by rpm:
# - imported modules (required):
Requires:       python3-imaging
Requires:       python3-pygame
Requires:       opengl-games-utils
# - external tools for displaying and parsing pdf (required):
Requires:       mupdf
# - external tool for acting on links (strongly recommended):
Requires:       xdg-utils
# - font for on screen display (recommended):
Requires:       dejavu-sans-fonts

Impressive is a program that displays presentation slides. But unlike Impress or other similar applications, it does so with 

Smooth alpha-blended slide transitions are provided for the sake 
of eye candy, but in addition to this, Impressive offers some unique tools 
that are really useful for presentations.

%autosetup -n Impressive-%{version} -p1
sed -ie '1s#/usr/bin/env python#/usr/bin/python3#'

sed -e "s|@PYTHON_SITELIB@|%{python3_sitelib}|" %{SOURCE1} >
# This package doesn't build anything, just copy files under build root.

rm -rf %{buildroot}
install -D -p -m 755 %{buildroot}%{python3_sitelib}/
install -D -p -m 644 impressive.1 %{buildroot}%{_mandir}/man1/impressive.1
install -D -p -m 755 %{buildroot}%{_bindir}/impressive

%doc changelog.txt demo.pdf impressive.html license.txt