File pdfpc.spec of Package pdfpc

#
# spec file for package pdfpc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.2.1
Release:        0
Summary:        A presenter console with multi-monitor support for PDF files
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        GPL-2.0-only
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group:          Productivity/Publishing/Presentation
Url:            https://pdfpc.github.io/
Source:         %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  vala >= 0.34
BuildRequires:  gtk3-devel >= 3.22
BuildRequires:  libgee-devel >= 0.8
BuildRequires:  libpoppler-glib-devel
BuildRequires:  gstreamer-devel gstreamer-plugins-base-devel 
BuildRequires:  libpango-1_0-0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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.
%prep
%setup -q

%build
%cmake \
       -DSYSCONFDIR=%{_sysconfdir}

%install
%cmake_install

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%config %{_sysconfdir}/pdfpcrc
%_mandir/man1/pdfpc.1.gz
%_mandir/man5/pdfpcrc.5.gz
%{_datadir}/pixmaps/pdfpc/
%doc CHANGELOG.txt README.rst LICENSE.txt SUPPORT.md

%changelog
* Mon Dec 3 2018 - Mark Stopka <mark.stopka@perlur.cloud> - 4.2.1-1
- Initial version
- Replace hardcoded paths with RPM macros
openSUSE Build Service is sponsored by