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
|
Mon Oct 28 17:37:37 UTC 2013 - prusnak@opensuse.org
|
||||||
|
|
||||||
|
@ -21,9 +21,10 @@ Version: 1.0.0
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/X11
|
||||||
Url: http://sourceforge.net/projects/sdl2gfx/
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Url: http://www.ferzkopp.net/joomla/content/view/19/14/
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: libSDL2-devel
|
BuildRequires: libSDL2-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%package -n libSDL2_gfx-devel
|
||||||
Summary: Libraries, includes and more to develop SDL2_gfx applications
|
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-devel
|
||||||
Requires: libSDL2_gfx-1_0-0 = %{version}
|
Requires: libSDL2_gfx-1_0-0 = %{version}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
@ -58,7 +59,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
make install DESTDIR="%buildroot"
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
|
%post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig
|
||||||
@ -72,7 +73,7 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
|
|
||||||
%files -n libSDL2_gfx-devel
|
%files -n libSDL2_gfx-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/SDL2/*
|
%{_includedir}/SDL2/
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user