forked from pool/SDL2_gfx
Set RPM groups, URL
OBS-URL: https://build.opensuse.org/package/show/games/SDL2_gfx?expand=0&rev=4
This commit is contained in:
parent
a831b7814e
commit
c02979156f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 04:00:40 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Set RPM groups to the same values as on the main SDL packages
|
||||
- Own /usr/include/SDL2 as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 17:37:37 UTC 2013 - prusnak@opensuse.org
|
||||
|
||||
|
@ -21,9 +21,10 @@ Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
Url: http://sourceforge.net/projects/sdl2gfx/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Group: Development/Libraries/X11
|
||||
|
||||
Url: http://www.ferzkopp.net/joomla/content/view/19/14/
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: libSDL2-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -41,7 +42,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo
|
||||
|
||||
%package -n libSDL2_gfx-devel
|
||||
Summary: Libraries, includes and more to develop SDL2_gfx applications
|
||||
Group: Development/Libraries/C and C++
|
||||
Group: Development/Libraries/X11
|
||||
Requires: libSDL2-devel
|
||||
Requires: libSDL2_gfx-1_0-0 = %{version}
|
||||
Requires: pkgconfig
|
||||
@ -58,7 +59,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
make install DESTDIR="%buildroot"
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
|
||||
@ -72,7 +73,7 @@ rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%files -n libSDL2_gfx-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/SDL2/*
|
||||
%{_includedir}/SDL2/
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user