File pdfpc.spec of Package pdfpc

#
# spec file for package pdfpc
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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 http://bugs.opensuse.org/
#


Name:           pdfpc
Version:        4.3.4
Release:        0
Summary:        A presenter console with multi-monitor support for PDF files
License:        GPL-2.0
Group:          Productivity/Office/Other
Url:            https://pdfpc.github.io/
Source:         https://github.com/pdfpc/%{name}/archive/v%{version}.tar.gz
Patch0:         446.patch
BuildRequires:  cmake >= 3.0
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:  vala >= 0.34
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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
%setup -q
%patch0 -p1

%build
%cmake \
	-DSYSCONFDIR=%{_sysconfdir}
make %{?_smp_mflags}

%install
%cmake_install

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%config %{_sysconfdir}/%{name}rc
%{_mandir}/man1/pdfpc.1.gz
%{_mandir}/man5/pdfpcrc.5.gz
%{_datadir}/pixmaps/pdfpc

%changelog