1
0
forked from pool/SDL_Pango
OBS User unknown 2009-05-28 22:29:28 +00:00 committed by Git OBS Bridge
parent b1fbafa1d2
commit 348e4e3fb8
6 changed files with 63 additions and 31 deletions

View File

@ -36,7 +36,7 @@
+SDLPango_Context* +SDLPango_Context*
+SDLPango_CreateContext() +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));
+} +}
+ +
+/*! +/*!

3
SDL_Pango-0.1.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:872666d607e5bbffee0f57c2089e06dc168bb632efa26b7608cb422eaf9b3aeb
size 267712

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4
size 405967

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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 Thu Jun 26 22:56:36 CEST 2008 - crrodriguez@suse.de

View File

@ -1,10 +1,17 @@
# #
# spec file for package SDL_Pango (Version 0.1.2) # spec file for package SDL_Pango (Version 0.1.2)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 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.
# #
# 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -12,16 +19,15 @@
Name: SDL_Pango 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/ Url: http://sdlpango.sourceforge.net/
License: LGPL v2.1 or later License: LGPL v2.1 or later
Group: System/Libraries Group: System/Libraries
AutoReqProv: on
Version: 0.1.2 Version: 0.1.2
Release: 164 Release: 209
Summary: Programming Pango via SDL Summary: Programming Pango via SDL
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.bz2
Patch: %{name}-0.1.2-API-adds.patch Patch0: %{name}-%{version}-API-adds.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -34,13 +40,32 @@ Authors:
-------- --------
NAKAMURA Ken'ichi NAKAMURA Ken'ichi
%package devel %package -n libSDL_Pango1
License: LGPL v2.1 or later License: LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development. Summary: Programming Pango via SDL
Group: System/Libraries 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 This package contains all necessary include files and libraries needed
to develop applications that require these. to develop applications that require these.
@ -52,37 +77,38 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch %patch0
%build %build
%configure --disable-static --with-pic %configure --disable-static --with-pic
make 2>&1 | grep -v 767 make %{?jobs:-j %jobs}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm -f %{buildroot}%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT 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) %defattr(-,root,root)
%doc AUTHORS COPYING README %doc AUTHORS COPYING README
%{_libdir}/libSDL_Pango.so.1 %{_libdir}/*.so.*
%{_libdir}/libSDL_Pango.so.1.1.0
%files devel %files -n libSDL_Pango-devel
%defattr(-,root,root) %defattr(-,root,root)
/usr/include/SDL_Pango.h %{_includedir}/*
%{_libdir}/pkgconfig/SDL_Pango.pc %{_libdir}/pkgconfig/SDL_Pango.pc
%{_libdir}/libSDL_Pango.so %{_libdir}/*.so
%changelog %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 - disable unusable static libraries
- SDL_Pango-devel should require SDL-devel - SDL_Pango-devel should require SDL-devel
* Thu Dec 27 2007 crrodriguez@suse.de * Thu Dec 27 2007 crrodriguez@suse.de

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libSDL_Pango1