Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
corsixth
corsixth.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File corsixth.spec of Package corsixth
%define oname CorsixTH Summary: Open source clone of Theme Hospital Name: corsixth Version: 0.61 Release: 1 Epoch: 1 License: MIT Group: Games/Strategy URL: https://github.com/CorsixTH/CorsixTH Source0: https://github.com/CorsixTH/CorsixTH/archive/v%{version}/%{oname}-%{version}.tar.gz Patch0: CorsixTH-0.50-lua53.patch BuildRequires: cmake BuildRequires: ffmpeg-devel BuildRequires: lua-devel BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(SDL2_mixer) Requires: lua-filesystem Requires: lua-lpeg Requires: timidity++ %description This project aims to reimplement the game engine of Theme Hospital, and be able to load the original game data files. This means that you will need a purchased copy of Theme Hospital in order to enjoy CorsixTH. %files %doc LICENSE.txt README.txt %{_bindir}/%{oname} %{_datadir}/%{oname}/ %{_datadir}/icons/hicolor/*/apps/%{name}.svg %{_datadir}/applications/%{name}*.desktop %prep %setup -q -n %{oname}-%{version} %patch0 -p 1 %build %cmake \ -DCMAKE_INSTALL_PREFIX=%{_datadir} \ -DWITH_LUAJIT=OFF %make_build %install %make_install install -d %{buildroot}%{_bindir} cat > %{buildroot}%{_bindir}/%{oname} << EOF #!/bin/bash %{_datadir}/%{oname}/%{oname} EOF chmod +x %{buildroot}%{_bindir}/%{oname} install -d %{buildroot}%{_datadir}/%{oname}/th-files/ install -D -m 0644 %{oname}/Original_Logo.svg -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg install -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=CorsixTH Name[ru]=CorsixTH Comment=Open Source clone of Theme Hospital game Comment[ru]=Клон игры Theme Hospital Exec=%{oname} Icon=%{name} Terminal=false Type=Application Categories=Game;StrategyGame; EOF cat > %{buildroot}%{_datadir}/applications/%{name}-mapedit.desktop << EOF [Desktop Entry] Name=CorsixTh MapEdit Name[ru]=Редактор карт CorsixTh Comment=Map Editor for Theme Hospital Comment[ru]=Редактор карт для Theme Hospital Exec=MapEdit Icon=%{name} Terminal=false Type=Application Categories=Game;StrategyGame; EOF %changelog * Wed Jun 20 2018 Huaren Zhong <huaren.zhong@gmail.com> 0.61 - Rebuild for Fedora * Mon Feb 27 2017 Andrey Bondrov <andrey.bondrov@rosalab.ru> 1:0.60-5 - (e9dde4e) MassBuild#1264: Increase release tag
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