Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst
powdertoy
powdertoy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File powdertoy.spec of Package powdertoy
# # spec file for package powdertoy # # Copyright (c) 2023 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/ # Name: powdertoy Version: 97.0.352 Release: 0 Summary: Physics sandbox game License: GPL-3.0-only URL: https://powdertoy.co.uk Source: https://github.com/simtr/The-Powder-Toy/archive/v%{version}.tar.gz # PATCH-FIX-UPSTREAM Add-missing-cstdint-includes.patch -- based on commit 8ce7a37 Patch0: Add-missing-cstdint-includes.patch BuildRequires: AppStream BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: meson >= 0.61.0 BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(luajit) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(zlib) %description The Powder Toy is a free physics sandbox game, which simulates air pressure and velocity, heat, gravity and a countless number of interactions between different substances! The game provides you with various building materials, liquids, gases and electronic components which can be used to construct complex machines, guns, bombs, realistic terrains and almost anything else. %prep %autosetup -n The-Powder-Toy-%{version} -p1 sed -e 's/<screenshot>/<screenshot type="default">/' \ -e "s/SUBST_DATE/$(date --iso-8601 -d@$SOURCE_DATE_EPOCH)/" \ -e 's/SUBST_SAVE_VERSION\.SUBST_MINOR_VERSION\.SUBST_BUILD_NUM/%{version}/' \ -i resources/appdata.template.xml %build %meson %meson_build %install install -D -m 0755 -t %{buildroot}%{_bindir} %{_vpath_builddir}/powder install -D -m 0644 %{_vpath_builddir}/resources/powder.desktop \ %{buildroot}%{_datadir}/applications/uk.co.powdertoy.tpt.desktop install -D -m 0644 %{_vpath_builddir}/resources/appdata.xml \ %{buildroot}%{_datadir}/metainfo/uk.co.powdertoy.tpt.metainfo.xml install -D -m 0644 resources/save.xml %{buildroot}%{_datadir}/mime/packages/powdertoy-save.xml install -D -m 0644 resources/powder.man %{buildroot}%{_mandir}/man6/powder.6 install -D -m 0644 resources/icon_exe.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/powdertoy-powder.svg install -D -m 0644 resources/icon_cps.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/application-vnd.powdertoy.save.svg install -D -m 0644 resources/generated_icons/icon_exe.png \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/powdertoy-powder.png install -D -m 0644 resources/generated_icons/icon_cps.png \ %{buildroot}%{_datadir}/icons/hicolor/256x256/mimetypes/application-vnd.powdertoy.save.png %suse_update_desktop_file uk.co.powdertoy.tpt appstreamcli validate --no-net \ %{buildroot}%{_datadir}/metainfo/uk.co.powdertoy.tpt.metainfo.xml %files %license LICENSE %doc README.md %{_bindir}/powder %{_datadir}/applications/uk.co.powdertoy.tpt.desktop %{_datadir}/icons/hicolor/*/apps/powdertoy-powder.{png,svg} %{_datadir}/icons/hicolor/*/mimetypes/application-vnd.powdertoy.save.{png,svg} %{_datadir}/metainfo/uk.co.powdertoy.tpt.metainfo.xml %{_datadir}/mime/packages/powdertoy-save.xml %{_mandir}/man6/powder.6%{?ext_man} %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