Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
lincity
lincity.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lincity.spec of Package lincity
# # spec file for package lincity # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: lincity Version: 1.13.1 Release: 0 Summary: SimCity Clone License: GPL-2.0-only Group: Amusements/Games/Strategy/Real Time URL: http://lincity.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.png Source99: lincity-rpmlintrc # PATCH-FIX-UPSTREAM fix-png.patch -- https://sourceforge.net/p/lincity/patches/11/ Patch0: fix-png.patch # PATCH-FEATURE-UPSTREAM desktop-and-appdata.patch -- https://sourceforge.net/p/lincity/patches/8/ Patch1: desktop-and-appdata.patch # PATCH-FIX-UPSTREAM lincity-gcc5.patch -- https://sourceforge.net/p/lincity/patches/7/ Patch2: %{name}-gcc5.patch # PATCH-FEATURE-UPSTREAM pt_BR-translation.patch -- https://sourceforge.net/p/lincity/patches/4/ Patch3: pt_BR-translation.patch # PATCH-FIX-UPSTREAM fix-implicit-declarations.patch -- https://sourceforge.net/p/lincity/patches/10/ (comes from debian) Patch4: fix-implicit-declarations.patch # PATCH-FIX-UPSTREAM coal-reservers.patch -- https://sourceforge.net/p/lincity/bugs/18/ Patch5: coal-reservers.patch # PATCH-FIX-UPSTREAM avoid-refresh-uninited.patch -- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701927 Patch6: avoid-refresh-uninited.patch # PATCH-FIX-UPSTREAN windmills.patch -- https://sourceforge.net/p/lincity/bugs/26/ Patch7: windmills.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: xorg-x11 BuildRequires: xorg-x11-devel BuildRequires: pkgconfig(libpng16) %description Lincity is a well-designed and easy-to-play SimCity clone. Besides the game itself, it provides an editor for easily creating new levels and obstacles. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 cp %{SOURCE1} icons # Fix wrong file permissions and lineendings chmod a-x CHANGES README COPYING sed -i "s/\r//" CHANGES COPYING %build autoreconf -fi %configure --with-x- make %{?_smp_mflags} V=1 %install # Multi-job installation will fail! %make_install ln -sf xlincity %{buildroot}%{_bindir}/lincity ln -sf %{_mandir}/man6/lincity.6 %{buildroot}%{_mandir}/man6/xlincity.6 %fdupes %{buildroot}%{_datadir} %find_lang %{name} %files -f %{name}.lang %doc README CHANGES %{_bindir}/lincity %{_bindir}/xlincity %{_datadir}/lincity %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_mandir}/man6/*lincity.6%{?ext_man} %if 0%{?suse_version} > 1320 %license COPYING %else %license COPYING %dir %{_datadir}/appdata %endif %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