Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for config:ppc64le
openSUSE:Leap:15.4:ARM
lpairs
lpairs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lpairs.spec of Package lpairs
# # spec file for package lpairs # # 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/ # Name: lpairs Version: 1.0.5 Release: 0 Summary: Classical memory game License: GPL-2.0-only Group: Amusements/Games/Logic URL: http://lgames.sourceforge.net/index.php?project=LPairs Source0: https://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: pkgconfig(sdl) BuildRequires: fdupes BuildRequires: update-desktop-files %description LPairs is a classical memory game. This means you have to find pairs of identical cards which will then be removed. Your time and tries needed will be counted but there is no highscore chart or limit to this. %prep %setup -q # Replace game path sed -i 's|games/lpairs|lpairs|' configure %build # FIXME: Package suffers from c11/inline issues # Workaround by appending -std=gnu89 to CFLAGS # Proper fix would be to fix the source-code export CFLAGS="%{optflags} -std=gnu89" %configure %make_build %install mkdir -p %{buildroot}%{_bindir} %make_install %find_lang %{name} # install icon install -Dm 0644 %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png # install desktop install -Dm 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop %suse_update_desktop_file %{name} %fdupes -s %{buildroot}%{_prefix} %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/%{name} %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