File gpcalc.spec of Package gpcalc
#
# GPCALC specfile
#
# (C) Cyril Hrubis metan{at}ucw.cz 2013-2022
#
#
Summary: A simple calculator written in gfxprim widgets
Name: gpcalc
Version: git
Release: 1
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
Url: https://github.com/gfxprim/gpcalc
Source: gpcalc-%{version}.tar.bz2
BuildRequires: libgfxprim-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
A simple calculator written in gfxprim widgets
%prep
%setup -n gpcalc-%{version}
%build
make %{?jobs:-j%jobs}
%install
DESTDIR="$RPM_BUILD_ROOT" make install
%files -n gpcalc
%defattr(-,root,root)
%{_bindir}/gpcalc
%{_sysconfdir}/gp_apps/
%{_sysconfdir}/gp_apps/gpcalc/
%{_sysconfdir}/gp_apps/gpcalc/*
%{_datadir}/applications/gpcalc.desktop
%{_datadir}/gpcalc/
%{_datadir}/gpcalc/gpcalc.png
%changelog
* Tue Jun 28 2022 Cyril Hrubis <metan@ucw.cz>
Initial version.