2013-10-28 18:45:18 +01:00
|
|
|
#
|
|
|
|
# spec file for package SDL2_gfx
|
|
|
|
#
|
|
|
|
# Copyright (c) 2013 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
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: SDL2_gfx
|
2013-10-28 18:49:12 +01:00
|
|
|
Version: 1.0.0
|
|
|
|
Release: 0
|
2013-10-28 18:45:18 +01:00
|
|
|
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
|
|
|
License: Zlib
|
|
|
|
Group: System/Libraries
|
2013-10-28 18:49:12 +01:00
|
|
|
Url: http://sourceforge.net/projects/sdl2gfx/
|
2013-10-28 18:45:18 +01:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Source1: baselibs.conf
|
2013-10-28 18:49:12 +01:00
|
|
|
BuildRequires: libSDL2-devel
|
2013-10-28 18:45:18 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
|
|
|
|
|
|
|
%package -n libSDL2_gfx-1_0-0
|
|
|
|
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: SDL2_gfx = %{version}
|
|
|
|
|
|
|
|
%description -n libSDL2_gfx-1_0-0
|
|
|
|
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
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libSDL2-devel
|
|
|
|
Requires: libSDL2_gfx-1_0-0 = %{version}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Provides: SDL2_gfx-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libSDL2_gfx-devel
|
|
|
|
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --with-pic --disable-mmx
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-10-28 18:49:12 +01:00
|
|
|
%make_install
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2013-10-28 18:45:18 +01:00
|
|
|
|
|
|
|
%post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libSDL2_gfx-1_0-0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files -n libSDL2_gfx-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/SDL2/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
%changelog
|