Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
capicity
capicity.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File capicity.spec of Package capicity
# # spec file for package capicity # # Copyright (c) 2020 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 __name capitalism %define _name CapiCity Name: capicity Version: 1.0 Release: 0 Summary: Monopoly-like board games License: GPL-2.0-only URL: https://linux-ecke.de/CapiCity Source: https://linux-ecke.de/%{_name}/packages/%{version}/%{_name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.desktop # PATCH-FIX-OPENSUSE capicity-qt5.patch -- Port to Qt5 (https://sourceforge.net/p/capitalism/bugs/7) Patch0: capicity-qt5.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) %description Capi City is a client for the Monopd-Server, wich allows to play Monopoly-like board games. Currently all important features from Monopd 0.9.3 are implemented. Currently missing is: specating games, kick/upgrade players. %prep %autosetup -n %{_name}-%{version} -p1 cat > %{name}.exec << EOF #!/bin/sh exec %{_datadir}/%{name}/%{name} "$@" EOF cp -f %{SOURCE1} %{name}.desktop chmod a-x README %build %qmake5 %make_build %install mkdir -p %{buildroot}%{_datadir}/%{name}/{images/smilies,games,ts}/ install -pm 0644 ts/* %{buildroot}%{_datadir}/%{name}/ts/ install -pm 0644 games/* %{buildroot}%{_datadir}/%{name}/games/ install -pm 0644 images/smilies/* %{buildroot}%{_datadir}/%{name}/images/smilies/ install -Dpm 0755 %{name}.exec %{buildroot}%{_bindir}/%{name} install -Dpm 0755 %{_name} %{buildroot}%{_libexecdir}/%{name}/%{name} install -Dpm 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop ln -s %{_libexecdir}/%{name}/%{name} %{buildroot}%{_datadir}/%{name}/%{name} for size in 16 22 24 32 48 64; do install -Dpm 0644 icons/${size}x${size}.png %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png done %fdupes %{buildroot}%{_datadir} %suse_update_desktop_file -i %{name} Game BoardGame %files %license copying.txt %doc changelog README %{_bindir}/%{name} %{_libexecdir}/%{name}/ %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %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