|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package SDL_gfx
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
|
# Copyright (c) 2018 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
|
|
|
|
@ -16,19 +16,19 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: SDL_gfx
|
|
|
|
|
%define lname libSDL_gfx15
|
|
|
|
|
Version: 2.0.25
|
|
|
|
|
Name: SDL_gfx
|
|
|
|
|
Version: 2.0.26
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
|
|
|
|
License: Zlib
|
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
Url: http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
|
|
|
|
|
|
|
|
|
|
Source: http://downloads.sf.net/sdlgfx/%name-%version.tar.gz
|
|
|
|
|
URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
|
|
|
|
Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%name-%version.tar.gz
|
|
|
|
|
Source2: baselibs.conf
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(sdl)
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
|
|
|
|
@ -80,21 +80,22 @@ written in plain C and can be used in C++ code.
|
|
|
|
|
# on for x86_64 anyway - but that one can use SSE instead.
|
|
|
|
|
%configure --disable-static --disable-mmx
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
dos2unix README
|
|
|
|
|
chmod 644 LICENSE AUTHORS ChangeLog NEWS README
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
%make_install
|
|
|
|
|
find %buildroot -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
|
|
|
%_libdir/libSDL_gfx.so.15*
|
|
|
|
|
|
|
|
|
|
%files -n libSDL_gfx-devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%_includedir/SDL/
|
|
|
|
|
%_libdir/lib*.so
|
|
|
|
|
%_libdir/pkgconfig/SDL_gfx.pc
|
|
|
|
|