1
0
forked from pool/SDL_Pango

Accepting request 171330 from games

Fix build in Factory - the shipped libtool is really far outdated (forwarded request 171310 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/171330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_Pango?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2013-04-18 09:00:00 +00:00 committed by Git OBS Bridge
commit b468bea43e
2 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 17 14:49:54 UTC 2013 - dimstar@opensuse.org
- Add libtool BuildRequires and call to autoreconf: even though we
don't have any patches, we need to bootstrap, as the ancient
./libtool in the tarball (version 1.5) fails to work on recent
Builders, resulting in linker errors.
-------------------------------------------------------------------
Thu Jan 3 02:31:49 UTC 2013 - crrodriguez@opensuse.org

View File

@ -17,18 +17,20 @@
Name: SDL_Pango
BuildRequires: libSDL-devel
BuildRequires: pango-devel
BuildRequires: pkgconfig
Url: http://sdlpango.sourceforge.net/
Version: 0.1.2
Release: 0
Summary: Programming Pango via SDL
License: LGPL-2.1+
Group: System/Libraries
Url: http://sdlpango.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: %{name}-%{version}-API-adds.patch
BuildRequires: libSDL-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(pango)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -63,12 +65,13 @@ to develop applications that require these.
%patch0
%build
autoreconf -fiv
%configure --disable-static --with-pic
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%make_install
rm -f %{buildroot}%{_libdir}/*.la
%post -n libSDL_Pango1 -p /sbin/ldconfig