diff --git a/SDL_Pango-0.1.2-API-adds.patch b/SDL_Pango-0.1.2-API-adds.patch index 8566727..f038353 100644 --- a/SDL_Pango-0.1.2-API-adds.patch +++ b/SDL_Pango-0.1.2-API-adds.patch @@ -36,7 +36,7 @@ +SDLPango_Context* +SDLPango_CreateContext() +{ -+ SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); ++ return SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); +} + +/*! diff --git a/SDL_Pango-0.1.2.tar.bz2 b/SDL_Pango-0.1.2.tar.bz2 new file mode 100644 index 0000000..3aebbd8 --- /dev/null +++ b/SDL_Pango-0.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:872666d607e5bbffee0f57c2089e06dc168bb632efa26b7608cb422eaf9b3aeb +size 267712 diff --git a/SDL_Pango-0.1.2.tar.gz b/SDL_Pango-0.1.2.tar.gz deleted file mode 100644 index c42df23..0000000 --- a/SDL_Pango-0.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4 -size 405967 diff --git a/SDL_Pango.changes b/SDL_Pango.changes index b76211c..2fc0c9f 100644 --- a/SDL_Pango.changes +++ b/SDL_Pango.changes @@ -1,16 +1,21 @@ +------------------------------------------------------------------- +Wed May 20 15:37:01 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + ------------------------------------------------------------------- Thu Jun 26 22:56:36 CEST 2008 - crrodriguez@suse.de - disable unusable static libraries -- SDL_Pango-devel should require SDL-devel +- SDL_Pango-devel should require SDL-devel ------------------------------------------------------------------- Thu Dec 27 04:13:56 CET 2007 - crrodriguez@suse.de -- fix library-without-ldconfig-* errors +- fix library-without-ldconfig-* errors ------------------------------------------------------------------- Sun Oct 29 19:16:21 CET 2006 - sndirsch@suse.de -- created package +- created package diff --git a/SDL_Pango.spec b/SDL_Pango.spec index 97e8083..ee50f3d 100644 --- a/SDL_Pango.spec +++ b/SDL_Pango.spec @@ -1,10 +1,17 @@ # # spec file for package SDL_Pango (Version 0.1.2) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -12,16 +19,15 @@ Name: SDL_Pango -BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig +BuildRequires: fontconfig-devel freetype2-devel libSDL-devel pango-devel pkgconfig Url: http://sdlpango.sourceforge.net/ License: LGPL v2.1 or later Group: System/Libraries -AutoReqProv: on Version: 0.1.2 -Release: 164 +Release: 209 Summary: Programming Pango via SDL -Source: %{name}-%{version}.tar.gz -Patch: %{name}-0.1.2-API-adds.patch +Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}-API-adds.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,13 +40,32 @@ Authors: -------- NAKAMURA Ken'ichi -%package devel +%package -n libSDL_Pango1 License: LGPL v2.1 or later -Summary: Include Files and Libraries mandatory for Development. +Summary: Programming Pango via SDL Group: System/Libraries -Requires: %{name} = %{version} SDL-devel +Provides: SDL_Pango = %{version} +Obsoletes: SDL_Pango < %{version} -%description devel +%description -n libSDL_Pango1 +Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the +engine to SDL. + + + +Authors: +-------- + NAKAMURA Ken'ichi + +%package -n libSDL_Pango-devel +License: LGPL v2.1 or later +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: libSDL_Pango = %{version} libSDL-devel pkgconfig +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 to develop applications that require these. @@ -52,37 +77,38 @@ Authors: %prep %setup -q -%patch +%patch0 %build %configure --disable-static --with-pic -make 2>&1 | grep -v 767 +make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT -rm -f %{buildroot}%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post -n libSDL_Pango1 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libSDL_Pango1 -p /sbin/ldconfig -%files +%files -n libSDL_Pango1 %defattr(-,root,root) %doc AUTHORS COPYING README -%{_libdir}/libSDL_Pango.so.1 -%{_libdir}/libSDL_Pango.so.1.1.0 +%{_libdir}/*.so.* -%files devel +%files -n libSDL_Pango-devel %defattr(-,root,root) -/usr/include/SDL_Pango.h +%{_includedir}/* %{_libdir}/pkgconfig/SDL_Pango.pc -%{_libdir}/libSDL_Pango.so +%{_libdir}/*.so %changelog -* Fri Jun 27 2008 crrodriguez@suse.de +* Wed May 20 2009 prusnak@suse.cz +- follow Shared Library Policy +* Thu Jun 26 2008 crrodriguez@suse.de - disable unusable static libraries - SDL_Pango-devel should require SDL-devel * Thu Dec 27 2007 crrodriguez@suse.de diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..2dfd003 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libSDL_Pango1