File CSudoku.spec of Package CSudoku
Name: CSudoku
Summary: Game of Sudoku
Version: 0.3.0
Release: 1
License: GPL-3.0
Url: https://www.pling.com/p/1109434/
Group: Amusements/Games/Logic
BuildRoot: %{_tmppath}/build-root-%{name}
Source0: %{name}-%{version}.tar.gz
Distribution: OpenSuSE
Vendor: Wuselsoft
BuildRequires: libqt5-qtbase-devel
BuildRequires: update-desktop-files
%description
The game of Sudoku
%prep
%setup -q
%build
qmake-qt5 QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true"
%make_build
%install
make install INSTALL_ROOT="%buildroot"
%post
%desktop_database_post
ln -f -s %{_datadir}/icons/hicolor/32x32/apps/csudoku.png %{_datadir}/csudoku/csudoku.png
%files
%defattr(-,root,root)
%{_bindir}/csudoku
%{_datadir}/applications/csudoku.desktop
%{_datadir}/csudoku
%{_datadir}/icons/hicolor/
%doc %{_datadir}/doc/CSudoku
%changelog
* Sun Nov 19 2023 Version 0.3.0
- initial Version