Adjust package names for SO version bump
OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=18
This commit is contained in:
parent
366c129ef8
commit
bb0f4c35dc
16
SDL_gfx.spec
16
SDL_gfx.spec
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: SDL_gfx
|
Name: SDL_gfx
|
||||||
|
%define lname libSDL_gfx15
|
||||||
Version: 2.0.25
|
Version: 2.0.25
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
@ -36,13 +37,13 @@ provided basic drawing routines such as lines, circles or polygons and
|
|||||||
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
|
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
|
||||||
surfaces.
|
surfaces.
|
||||||
|
|
||||||
%package -n libSDL_gfx13
|
%package -n %lname
|
||||||
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_gfx = %{version}
|
Provides: SDL_gfx = %{version}
|
||||||
Obsoletes: SDL_gfx < %{version}
|
Obsoletes: SDL_gfx < %{version}
|
||||||
|
|
||||||
%description -n libSDL_gfx13
|
%description -n %lname
|
||||||
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
|
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
|
||||||
provided basic drawing routines such as lines, circles or polygons and
|
provided basic drawing routines such as lines, circles or polygons and
|
||||||
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
|
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
|
||||||
@ -51,8 +52,8 @@ surfaces.
|
|||||||
%package -n libSDL_gfx-devel
|
%package -n libSDL_gfx-devel
|
||||||
Summary: Libraries, includes and more to develop SDL_gfx applications
|
Summary: Libraries, includes and more to develop SDL_gfx applications
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
|
Requires: %lname = %version
|
||||||
Requires: libSDL-devel
|
Requires: libSDL-devel
|
||||||
Requires: libSDL_gfx13 = %{version}
|
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Provides: SDL_gfx-devel = %{version}
|
Provides: SDL_gfx-devel = %{version}
|
||||||
Obsoletes: SDL_gfx-devel < %{version}
|
Obsoletes: SDL_gfx-devel < %{version}
|
||||||
@ -85,14 +86,13 @@ make %{?_smp_mflags}
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%post -n libSDL_gfx13 -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libSDL_gfx13 -p /sbin/ldconfig
|
%files -n %lname
|
||||||
|
|
||||||
%files -n libSDL_gfx13
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
|
||||||
%{_libdir}/lib*.so.*
|
%_libdir/libSDL_gfx.so.15*
|
||||||
|
|
||||||
%files -n libSDL_gfx-devel
|
%files -n libSDL_gfx-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
libSDL_gfx13
|
libSDL_gfx15
|
||||||
provides "SDL_gfx-<targettype> = <version>"
|
provides "SDL_gfx-<targettype> = <version>"
|
||||||
obsoletes "SDL_gfx-<targettype> <= <version>"
|
obsoletes "SDL_gfx-<targettype> <= <version>"
|
||||||
libSDL_gfx-devel
|
libSDL_gfx-devel
|
||||||
requires -libSDL_gfx-<targettype>
|
requires -libSDL_gfx-<targettype>
|
||||||
requires "libSDL_gfx13-<targettype> = <version>"
|
requires "libSDL_gfx15-<targettype> = <version>"
|
||||||
|
Loading…
Reference in New Issue
Block a user