2013-10-28 18:45:18 +01:00
|
|
|
#
|
|
|
|
# spec file for package SDL2_gfx
|
|
|
|
#
|
2018-08-10 11:25:52 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-10-28 18:45:18 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-12-18 10:49:19 +01:00
|
|
|
%define lname libSDL2_gfx-1_0-0
|
2018-08-10 11:25:52 +02:00
|
|
|
Name: SDL2_gfx
|
|
|
|
Version: 1.0.4
|
2013-10-28 18:49:12 +01:00
|
|
|
Release: 0
|
2013-10-28 18:45:18 +01:00
|
|
|
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
|
|
|
License: Zlib
|
2013-11-11 05:02:10 +01:00
|
|
|
Group: Development/Libraries/X11
|
2018-08-10 11:25:52 +02:00
|
|
|
URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
|
2014-06-17 11:06:09 +02:00
|
|
|
Source: http://www.ferzkopp.net/Software/SDL2_gfx/%name-%version.tar.gz
|
2018-08-10 11:27:22 +02:00
|
|
|
Source2: https://sourceforge.net/projects/sdl2gfx/files/%name-%version.tar.gz.asc
|
2014-12-18 10:49:19 +01:00
|
|
|
Source3: baselibs.conf
|
2018-08-10 11:27:22 +02:00
|
|
|
# Key: 231D4B58E1DDB871, http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/#comment-89
|
|
|
|
Source4: %name.keyring
|
2018-08-10 11:25:52 +02:00
|
|
|
BuildRequires: dos2unix
|
2018-08-10 11:27:22 +02:00
|
|
|
BuildRequires: pkg-config
|
2014-12-18 10:49:19 +01:00
|
|
|
BuildRequires: pkgconfig(sdl2)
|
2013-10-28 18:45:18 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
|
|
|
|
2014-12-18 10:49:19 +01:00
|
|
|
%package -n %lname
|
2013-10-28 18:45:18 +01:00
|
|
|
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
|
|
|
Group: System/Libraries
|
2014-12-18 10:49:19 +01:00
|
|
|
Provides: SDL2_gfx = %version-%release
|
2013-10-28 18:45:18 +01:00
|
|
|
|
2014-12-18 10:49:19 +01:00
|
|
|
%description -n %lname
|
2013-10-28 18:45:18 +01:00
|
|
|
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
|
|
|
|
|
|
|
%package -n libSDL2_gfx-devel
|
|
|
|
Summary: Libraries, includes and more to develop SDL2_gfx applications
|
2013-11-11 05:02:10 +01:00
|
|
|
Group: Development/Libraries/X11
|
2014-12-18 10:49:19 +01:00
|
|
|
Requires: %lname = %version
|
|
|
|
Provides: SDL2_gfx-devel = %version-%release
|
2013-10-28 18:45:18 +01:00
|
|
|
|
|
|
|
%description -n libSDL2_gfx-devel
|
|
|
|
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-12-19 12:08:00 +01:00
|
|
|
%configure \
|
2014-06-25 14:35:59 +02:00
|
|
|
%ifnarch x86_64
|
2014-06-17 11:06:09 +02:00
|
|
|
--disable-mmx \
|
|
|
|
%endif
|
2014-12-19 12:08:00 +01:00
|
|
|
--disable-static
|
2013-10-28 18:45:18 +01:00
|
|
|
make %{?_smp_mflags}
|
2018-08-10 11:25:52 +02:00
|
|
|
dos2unix ChangeLog README
|
|
|
|
chmod 644 COPYING AUTHORS ChangeLog NEWS README
|
2013-10-28 18:45:18 +01:00
|
|
|
|
|
|
|
%install
|
2018-08-10 11:25:52 +02:00
|
|
|
%make_install
|
2018-08-10 11:27:22 +02:00
|
|
|
find "%buildroot" -type f -name "*.la" -delete -print
|
2013-10-28 18:45:18 +01:00
|
|
|
|
2014-12-18 10:49:19 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2013-10-28 18:45:18 +01:00
|
|
|
|
2014-12-18 10:49:19 +01:00
|
|
|
%files -n %lname
|
2018-08-10 11:25:52 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2014-12-18 10:49:19 +01:00
|
|
|
%_libdir/lib*.so.*
|
2013-10-28 18:45:18 +01:00
|
|
|
|
|
|
|
%files -n libSDL2_gfx-devel
|
2014-12-18 10:49:19 +01:00
|
|
|
%_includedir/SDL2/
|
|
|
|
%_libdir/lib*.so
|
2014-06-17 11:06:09 +02:00
|
|
|
%_libdir/pkgconfig/*.pc
|
2013-10-28 18:45:18 +01:00
|
|
|
|
|
|
|
%changelog
|