Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
squaroid
squaroid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squaroid.spec of Package squaroid
# # spec file for package squaroid # # Copyright (c) 2013 SUSE LINUX Products 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: squaroid Version: 0.60.3 Release: 0 %define gfx_version 0.2 %define sfx_version 0.1 Summary: A Strategy Game License: GPL-2.0 Group: Amusements/Games/Strategy/Other Url: http://www.squaroid.org/ Source: squaroid-%{version}.tar.bz2 Source1: squaroid-gfx-%{gfx_version}.tar.bz2 Source2: squaroid-sfx-%{sfx_version}.tar.bz2 Source3: squaroid.desktop # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: %{name}-%{version}-ia64.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: %{name}-%{version}-config-sound.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch2: %{name}-%{version}-strings.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch3: %{name}-%{version}-libtool.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch4: %{name}-%{version}-gcc4.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch5: %{name}-%{version}-overflow.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch6: %{name}-%{version}-aliasing.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch7: %{name}-%{version}-userstruct.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch8: %{name}-%{version}-undefined_operation.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch9: %{name}-%{version}-return.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch10: %{name}-%{version}-cflags.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch11: %{name}-%{version}-implicit.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: gtk-devel BuildRequires: imlib-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A strategy game. %prep %setup -q -a1 -a2 %patch0 %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %patch11 %build autoreconf --force --install CFLAGS="%{optflags} -Wall" ./configure \ --enable-force_sound \ --prefix=%{_prefix} \ --datadir=%{_datadir} #%ifarch s390 # --disable-sound \ #%endif make #build squaroid-sfx cd squaroid-sfx-%{sfx_version} autoreconf --force --install CFLAGS="%{optflags}" ./configure --prefix=%{_prefix} --datadir=%{_datadir} make #build squaroid-gfx cd ../squaroid-gfx-%{gfx_version} autoreconf --force --install CFLAGS="%{optflags}" ./configure --prefix=%{_prefix} --datadir=%{_datadir} make cd .. %suse_update_desktop_file -i squaroid Game StrategyGame %install make DESTDIR=%{buildroot} install install -d -m 755 %{buildroot}%{_datadir}/squaroid/ #install squaroid-sfx cd squaroid-sfx-%{sfx_version} %make_install mkdir ../sfx install -m 644 AUTHORS COPYING ChangeLog README NEWS ../sfx #install squaroid-gfx cd ../squaroid-gfx-%{gfx_version} %make_install mkdir ../gfx install -m 644 AUTHORS COPYING ChangeLog README NEWS ../gfx cd .. %suse_update_desktop_file -i %{name} Game StrategyGame %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README NEWS TODO HACKING* sfx gfx %{_bindir}/* %{_datadir}/squaroid/ %{_datadir}/applications/* %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