Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
perl-SDL
perl-SDL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-SDL.spec of Package perl-SDL
# # spec file for package perl-SDL # # Copyright (c) 2024 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 cpan_name SDL Name: perl-SDL Version: 2.548 Release: 0 License: LGPL-2.1-or-later Summary: SDL bindings to Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/F/FR/FROGGS/%{cpan_name}-%{version}.tar.gz Source1: perl-SDL.rpmlintrc Source2: cpanspec.yml # PATCH-FIX-UPSTREAM 299.patch -- based on PR 299 Patch0: https://patch-diff.githubusercontent.com/raw/PerlGameDev/SDL/pull/299.patch # PATCH-FIX-UPSTREAM 304.patch -- based on PR 304 Patch1: https://patch-diff.githubusercontent.com/raw/PerlGameDev/SDL/pull/304.patch # PATCH-FIX-UPSTREAM 308.patch -- based on PR 308 Patch2: https://patch-diff.githubusercontent.com/raw/PerlGameDev/SDL/pull/308.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Alien::SDL) >= 1.446 BuildRequires: perl(CPAN) >= 1.92 BuildRequires: perl(Capture::Tiny) BuildRequires: perl(ExtUtils::CBuilder) >= 0.260301 BuildRequires: perl(File::ShareDir) >= 1.0 BuildRequires: perl(Module::Build) >= 0.400000 BuildRequires: perl(Test::Most) >= 0.21 BuildRequires: perl(Test::Simple) >= 0.88 BuildRequires: perl(Tie::Simple) Requires: perl(CPAN) >= 1.92 Requires: perl(File::ShareDir) >= 1.0 Requires: perl(Tie::Simple) %{perl_requires} # MANUAL BEGIN BuildRequires: Mesa-devel BuildRequires: libSDL-devel BuildRequires: libSDL_Pango-devel BuildRequires: libSDL_gfx-devel BuildRequires: libSDL_image-devel BuildRequires: libSDL_mixer-devel BuildRequires: libSDL_net-devel BuildRequires: libSDL_sound-devel BuildRequires: libSDL_ttf-devel # Tests: dejavu-fonts required by t/pango.t, udev required by t/core_joystick.t BuildRequires: dejavu-fonts BuildRequires: udev # MANUAL END %description SDL Perl are a set of bindings to the Simple DirectMedia Layer (SDL). Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power." %prep %autosetup -n %{cpan_name}-%{version} -p1 # MANUAL BEGIN %ifarch %arm ppc64 ppc64le s390x # Remove hanging test. See: https://github.com/PerlGameDev/SDL/issues/289 rm t/sdlx_controller_interface.t %endif # core_video is deadlocking in OBS builds (no graphical interface available) rm t/core_video.t # MANUAL END %build perl Build.PL --installdirs=vendor optimize="%{optflags}" ./Build build --flags=%{?_smp_mflags} %check ./Build test %install ./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %doc CHANGELOG examples OFL-FAQ.txt OFL.txt TODO %license COPYING %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