You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
992 B
Plaintext

%define debug_package %{nil}
%define _build_id_links none
%define _disable_source_fetch 0
%define component_name calculator
Name: cutefish-%{component_name}
Version: 0.4
Release: 1%{?dist}
License: GPLv3
Summary: Calculator for Cutefish Desktop
Group: Graphical desktop/Other
Packager: Vadim Morozov <vadim@morozoff.pro>
BuildRequires: cmake
BuildRequires: qt5-base-devel qt5-quickcontrols2-devel qt5-x11extras-devel qt5-declarative-devel
Requires: qt5-quickcontrols2 fishui
Source0: https://github.com/cutefishos/%{component_name}/archive/refs/tags/%{version}.tar.gz
%description
Cutefish Desktop Calculator
%prep
%setup -qn %{component_name}-%{version}
%build
mkdir build
pushd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make %{?_smp_mflags}
popd
%install
pushd build
%makeinstall_std
popd
%files
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%changelog
* Sun May 08 2022 Vadim Morozov <vadim@morozoff.pro>
- Initial build for Sisyphus