Accepting request 266436 from games
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/266436 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_gfx?expand=0&rev=27
This commit is contained in:
commit
fc04dbdb45
3
SDL_gfx-2.0.25.tar.gz
Normal file
3
SDL_gfx-2.0.25.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0
|
||||
size 1760656
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17ef477ac2bb637c082f6eff0bf0cd73d9166395b8c1665b29680b71042b9920
|
||||
size 845948
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 18 10:16:18 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Use source URLs. Specfile cleanups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 03:49:34 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
25
SDL_gfx.spec
25
SDL_gfx.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package SDL_gfx
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 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
|
||||
@ -23,12 +23,11 @@ Release: 0
|
||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||
License: Zlib
|
||||
Group: Development/Libraries/X11
|
||||
Url: http://www.ferzkopp.net/joomla/content/view/19/14/
|
||||
Url: http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
|
||||
|
||||
Source: %name-%version.tar.xz
|
||||
Source: http://downloads.sf.net/sdlgfx/%name-%version.tar.gz
|
||||
Source2: baselibs.conf
|
||||
BuildRequires: libSDL-devel
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -40,8 +39,8 @@ surfaces.
|
||||
%package -n %lname
|
||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||
Group: System/Libraries
|
||||
Provides: SDL_gfx = %{version}
|
||||
Obsoletes: SDL_gfx < %{version}
|
||||
Provides: SDL_gfx = %version-%release
|
||||
Obsoletes: SDL_gfx < %version-%release
|
||||
|
||||
%description -n %lname
|
||||
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
|
||||
@ -79,12 +78,14 @@ written in plain C and can be used in C++ code.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --with-pic --disable-mmx
|
||||
# MMX code has a problem with uninitialized variables; we would only turn it
|
||||
# on for x86_64 anyway - but that one can use SSE instead.
|
||||
%configure --disable-static --disable-mmx
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
@ -96,8 +97,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%files -n libSDL_gfx-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/SDL/
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/SDL_gfx.pc
|
||||
%_includedir/SDL/
|
||||
%_libdir/lib*.so
|
||||
%_libdir/pkgconfig/SDL_gfx.pc
|
||||
|
||||
%changelog
|
||||
|
@ -1,6 +1,6 @@
|
||||
libSDL_gfx15
|
||||
provides "SDL_gfx-<targettype> = <version>"
|
||||
obsoletes "SDL_gfx-<targettype> <= <version>"
|
||||
provides "SDL_gfx-<targettype> = <version>"
|
||||
obsoletes "SDL_gfx-<targettype> <= <version>"
|
||||
libSDL_gfx-devel
|
||||
requires -libSDL_gfx-<targettype>
|
||||
requires "libSDL_gfx15-<targettype> = <version>"
|
||||
requires -libSDL_gfx-<targettype>
|
||||
requires "libSDL_gfx15-<targettype> = <version>"
|
||||
|
Loading…
Reference in New Issue
Block a user