File pdfpc.spec of Package pdfpc
#
# spec file for package pdfpc
#
Name: pdfpc
Version: 4.6.0
Release: 0
Summary: A presenter console with multi-monitor support for PDF files
License: GPL-3.0-or-later
Group: Productivity/Publishing/Presentation
Url: https://github.com/pdfpc/pdfpc
Source: https://github.com/pdfpc/pdfpc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.0
BuildRequires: vala >= 0.48
BuildRequires: pkgconfig(gee-0.8) >= 0.8
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(poppler)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.0
BuildRequires: pkgconfig(gstreamer-audio-1.0)
BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(libmarkdown) < 3.0
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: qrencode-devel
# PR 687, already merged: remove patch on next release
Patch0: 687.patch
%description
pdfpc is a GTK based presentation viewer application which uses Keynote like
multi-monitor output to provide meta information to the speaker during the
presentation. It is able to show a normal presentation window on one screen,
while showing a more sophisticated overview on the other one providing
information like a picture of the next slide, as well as the left over time till
the end of the presentation. The input files processed by pdfpc are PDF
documents, which can be created using nearly any of today's presentation
software.
More information, including screenshots and a demo presentation, can be found at
https://pdfpc.github.io/
%prep
%setup -q
%patch0 -p1
%build
%cmake -DSYSCONFDIR=%{_sysconfdir}
%cmake_build
%install
%cmake_install
%files
%license LICENSE.txt
%doc CHANGELOG.rst README.rst
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man5/pdfpcrc.5.gz
%dir %{_datadir}/pixmaps/%{name}
%{_datadir}/pixmaps/%{name}/*
%config %{_sysconfdir}/pdfpcrc
%changelog