Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
hexglass
hexglass.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hexglass.spec of Package hexglass
# # spec file for package hexglass # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define commit d472d62eddfb84f99fc1d73080ffb8cd17feda77 Name: hexglass Version: 1.2.2 Release: 0 Summary: Tetris-like Puzzle Game License: GPL-3.0-only Group: Amusements/Games/Logic URL: https://github.com/michurin/hexglass Source0: https://github.com/michurin/hexglass/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz Patch0: install.patch BuildRequires: libqt5-qtbase-common-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) %description The HexGlass is a Tetris-like puzzle game. Ten different types of blocks continuously fall from above and you must arrange them to make horizontal rows of hexagonal bricks. %prep %setup -q -n %{name}-%{commit} %patch0 -p1 %build %qmake5 BINARY_DIR=%{_bindir}\ QMAKE_CFLAGS+="%{optflags}" \ QMAKE_CXXFLAGS+="%{optflags}" \ QMAKE_STRIP="" %make_build %install make INSTALL_ROOT=%{buildroot} install # Create desktop-file cat > %{name}.desktop << EOF [Desktop Entry] Name=Hexagonal Tetris GenericName=Hexagonal Tetris GenericName[ru]=Шестиугольный тетрис Type=Application Exec=hexglass Icon=hexglass Categories=Qt;Game;LogicGame; Comment=Hexagonal Tetris Comment[fr]=Tetris hexagonal Comment[ru]=Шестиугольный тетрис StartupNotify=true Terminal=false EOF mkdir -p %{buildroot}%{_datadir}/pixmaps install -m 0644 resources/logo512x512.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm %suse_update_desktop_file -i %{name} %files %license COPYING %doc CHANGES README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.xpm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor