File pdfpc.spec of Package pdfpc
#
# spec file for package pdfpc
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2013,2015 Mariusz Fik <fisiu@opensuse.org>.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pdfpc
Version: 4.7.0
Release: 0
Summary: A presenter console with multi-monitor support for PDF files
License: GPL-3.0-only
Group: Productivity/Office/Other
URL: https://pdfpc.github.io/
Source: https://github.com/pdfpc/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.0
BuildRequires: pkgconfig
BuildRequires: vala >= 0.34
BuildRequires: pkgconfig(gee-0.8) >= 0.8
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.0
BuildRequires: pkgconfig(gstreamer-audio-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libmarkdown) < 3.0
BuildRequires: pkgconfig(libqrencode)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(poppler)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(webkit2gtk-4.1)
%description
pdfpc is a GTK-based presentation viewer for GNU/Linux 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 time left in the
presentation. pdfpc processes PDF documents, which can be created using nearly
all modern presentation software.
%prep
%autosetup -p1
%build
%cmake \
-DSYSCONFDIR=%{_sysconfdir}
%make_build
%install
%cmake_install
%files
%{_bindir}/%{name}
%config %{_sysconfdir}/%{name}rc
%{_mandir}/man1/pdfpc.1%{?ext_man}
%{_mandir}/man5/pdfpcrc.5%{?ext_man}
%{_datadir}/pdfpc/
%changelog