Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
foobillard
foobillard.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File foobillard.spec of Package foobillard
# # spec file for package foobillard # # Copyright (c) 2015 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: foobillard Version: 3.0a Release: 0 Summary: A Free OpenGL Billiard Game License: GPL-2.0 Group: Amusements/Games/3D/Other Url: http://foobillard.sunsite.dk/ Source: %{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: %{name}-makefiles.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch2: %{name}-codecleanup.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch3: %{name}-uninitialized.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch4: %{name}-asneeded.diff # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch5: %{name}-no-nv.diff BuildRequires: Mesa-devel BuildRequires: SDL-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: freetype2-devel %if 0%{?suse_version} > 1220 BuildRequires: libXaw-devel BuildRequires: libXi-devel %endif BuildRequires: libpng-devel BuildRequires: libtool Provides: FooBillard = %{version} Obsoletes: FooBillard <= %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FooBillard is an attempt to create a free OpenGL billiard game for Linux. %prep %setup -q %patch1 %patch2 %patch3 %patch4 %patch5 %build autoreconf -vif automake --add-missing export CFLAGS="%{optflags} -Wall -W -Wall -Wstrict-prototypes -Wno-unused-parameter" %configure \ --enable-nvidia=off \ --enable-sound=on sed -i "s/LINK = \$(CCLD) \$(AM_CFLAGS) \$(CFLAGS) \$(AM_LDFLAGS) \$(LDFLAGS) -o \$\@/LINK = \$(CCLD) \$(AM_CFLAGS) \$(CFLAGS) -o \$\@/g" src/Makefile sed -i "s/foobillard_LDADD = \$(LDADD)/foobillard_LDADD = \$(LDADD) \$(AM_LDFLAGS)/g" src/Makefile make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README README.FONTS TODO %{_bindir}/%{name} %{_datadir}/%{name}/ %{_mandir}/man6/%{name}.6* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{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