From 5e9d038cd4f955298ae64dabf3159db735896638e94d05c2b1f4fab6b9a35325 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 11 May 2019 11:45:16 +0000 Subject: [PATCH] restore formatting OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=22 --- SDL_Pango.spec | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/SDL_Pango.spec b/SDL_Pango.spec index 6a20eec..e5e26cc 100644 --- a/SDL_Pango.spec +++ b/SDL_Pango.spec @@ -25,10 +25,10 @@ License: LGPL-2.1-or-later Group: Development/Libraries/X11 URL: http://sdlpango.sourceforge.net/ #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 # PATCH-FEATURE-UPSTREAM SDL_Pango-0.1.2-API-adds.patch -Patch0: %{name}-%{version}-API-adds.patch +Patch0: %name-%version-API-adds.patch BuildRequires: dos2unix BuildRequires: libtool BuildRequires: pkgconfig @@ -40,24 +40,24 @@ BuildRequires: pkgconfig(sdl) Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the engine to SDL. -%package -n %{lname} +%package -n %lname Summary: Programming Pango via SDL Group: System/Libraries -Provides: SDL_Pango = %{version} -Obsoletes: SDL_Pango <= %{version} +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 engine to SDL. %package -n libSDL_Pango-devel Summary: Include Files and Libraries for SDL_Pango development Group: Development/Libraries/X11 -Requires: %{lname} = %{version} +Requires: %lname = %version Requires: libSDL-devel Requires: pkgconfig -Provides: SDL_Pango-devel = %{version} -Obsoletes: SDL_Pango-devel <= %{version} +Provides: SDL_Pango-devel = %version +Obsoletes: SDL_Pango-devel <= %version %description -n libSDL_Pango-devel This package contains all necessary include files and libraries needed @@ -75,19 +75,19 @@ make %{?_smp_mflags} %install %make_install -find %{buildroot} -type f -name "*.la" -delete -print +find %buildroot -type f -name "*.la" -delete -print -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n %{lname} +%files -n %lname %license COPYING %doc AUTHORS README -%{_libdir}/libSDL_Pango.so.* +%_libdir/libSDL_Pango.so.* %files -n libSDL_Pango-devel -%{_includedir}/SDL_Pango.h -%{_libdir}/pkgconfig/SDL_Pango.pc -%{_libdir}/libSDL_Pango.so +%_includedir/SDL_Pango.h +%_libdir/pkgconfig/SDL_Pango.pc +%_libdir/libSDL_Pango.so %changelog