File gppdf.spec of Package gppdf
#
# GPPDF specfile
#
# (C) Cyril Hrubis metan{at}ucw.cz 2013-2020
#
#
Summary: Fast PDF viewer based on mupdf and gfxprim
Name: gppdf
Version: git
Release: 1
License: GPL-2.0-or-later
Group: Applications/Text
Url: https://github.com/gfxprim/gppdf
Source: gppdf-%{version}.tar.bz2
BuildRequires: libmupdf-devel
BuildRequires: libgfxprim-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
A minimalistic and fast pdf viewer.
%prep
%setup -n gppdf-%{version}
%build
make %{?jobs:-j%jobs}
%install
DESTDIR="$RPM_BUILD_ROOT" make install
%files -n gppdf
%defattr(-,root,root)
%{_bindir}/gppdf
%{_sysconfdir}/gp_apps/
%{_sysconfdir}/gp_apps/gppdf/
%{_sysconfdir}/gp_apps/gppdf/*
%{_datadir}/applications/gppdf.desktop
%{_datadir}/gppdf/
%{_datadir}/gppdf/gppdf.png
%changelog
* Sun Dec 20 2020 Cyril Hrubis <metan@ucw.cz>
Initial version.