forked from pool/SDL_Pango
- Remove baselibs.conf, nothing appears to be using it.
- Change -devel subpackage to be based on SRPM/project name. - Use pkgconfig(sdl) to build with sdl12_compat. OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=25
This commit is contained in:
parent
d41ff30dde
commit
b09edd9dd6
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 18 16:00:45 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove baselibs.conf, nothing appears to be using it.
|
||||||
|
- Change -devel subpackage to be based on SRPM/project name.
|
||||||
|
- Use pkgconfig(sdl) to build with sdl12_compat.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 11 12:23:35 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Sat May 11 12:23:35 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_Pango
|
# spec file for package SDL_Pango
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,7 +26,6 @@ Group: Development/Libraries/X11
|
|||||||
URL: http://sdlpango.sourceforge.net/
|
URL: http://sdlpango.sourceforge.net/
|
||||||
#CVS-Clone: -d:pserver:anonymous@sdlpango.cvs.sourceforge.net:/cvsroot/sdlpango co -P SDL_Pango
|
#CVS-Clone: -d:pserver:anonymous@sdlpango.cvs.sourceforge.net:/cvsroot/sdlpango co -P SDL_Pango
|
||||||
Source: %name-%version.tar.bz2
|
Source: %name-%version.tar.bz2
|
||||||
Source2: baselibs.conf
|
|
||||||
Patch1: %name-%version-API-adds.patch
|
Patch1: %name-%version-API-adds.patch
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -42,25 +41,22 @@ engine to SDL.
|
|||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Programming Pango via SDL
|
Summary: Programming Pango via SDL
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_Pango = %version
|
|
||||||
Obsoletes: SDL_Pango <= %version
|
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
||||||
engine to SDL.
|
engine to SDL.
|
||||||
|
|
||||||
%package -n libSDL_Pango-devel
|
%package devel
|
||||||
Summary: Include Files and Libraries for SDL_Pango development
|
Summary: Headers for SDL_Pango development
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
Requires: libSDL-devel
|
Requires: pkgconfig(sdl)
|
||||||
Requires: pkgconfig
|
Provides: libSDL_Pango-devel = %version-%release
|
||||||
Provides: SDL_Pango-devel = %version
|
Obsoletes: libSDL_Pango-devel < %version-%release
|
||||||
Obsoletes: SDL_Pango-devel <= %version
|
|
||||||
|
|
||||||
%description -n libSDL_Pango-devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains the necessary include files and libraries needed
|
||||||
to develop applications that require these.
|
to develop applications that require SDL_Pango.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -69,7 +65,7 @@ dos2unix AUTHORS README
|
|||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -83,7 +79,7 @@ find %buildroot -type f -name "*.la" -delete -print
|
|||||||
%doc AUTHORS README
|
%doc AUTHORS README
|
||||||
%_libdir/libSDL_Pango.so.*
|
%_libdir/libSDL_Pango.so.*
|
||||||
|
|
||||||
%files -n libSDL_Pango-devel
|
%files devel
|
||||||
%_includedir/SDL_Pango.h
|
%_includedir/SDL_Pango.h
|
||||||
%_libdir/pkgconfig/SDL_Pango.pc
|
%_libdir/pkgconfig/SDL_Pango.pc
|
||||||
%_libdir/libSDL_Pango.so
|
%_libdir/libSDL_Pango.so
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
libSDL_Pango1
|
|
||||||
provides "SDL_Pango-<targettype> = <version>"
|
|
||||||
obsoletes "SDL_Pango-<targettype> <= <version>"
|
|
||||||
libSDL_Pango-devel
|
|
||||||
requires -libSDL_Pango-<targettype>
|
|
||||||
requires "libSDL_Pango1-<targettype> = <version>"
|
|
Loading…
Reference in New Issue
Block a user