forked from pool/SDL_Pango
Jan Engelhardt
b364a15219
OBS-URL: https://build.opensuse.org/request/show/83172 OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=9
88 lines
2.5 KiB
RPMSpec
88 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package SDL_Pango
|
|
#
|
|
# Copyright (c) 2011 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/
|
|
#
|
|
|
|
|
|
|
|
Name: SDL_Pango
|
|
BuildRequires: fontconfig-devel freetype2-devel libSDL-devel pango-devel pkgconfig
|
|
Url: http://sdlpango.sourceforge.net/
|
|
License: LGPLv2.1+
|
|
Group: System/Libraries
|
|
Version: 0.1.2
|
|
Release: 212
|
|
Summary: Programming Pango via SDL
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source2: baselibs.conf
|
|
Patch0: %{name}-%{version}-API-adds.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
|
engine to SDL.
|
|
|
|
%package -n libSDL_Pango1
|
|
License: LGPLv2.1+
|
|
Summary: Programming Pango via SDL
|
|
Group: System/Libraries
|
|
Provides: SDL_Pango = %{version}
|
|
Obsoletes: SDL_Pango <= %{version}
|
|
|
|
%description -n libSDL_Pango1
|
|
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
|
engine to SDL.
|
|
|
|
%package -n libSDL_Pango-devel
|
|
License: LGPLv2.1+
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libSDL_Pango1 = %{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.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0
|
|
|
|
%build
|
|
%configure --disable-static --with-pic
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%post -n libSDL_Pango1 -p /sbin/ldconfig
|
|
|
|
%postun -n libSDL_Pango1 -p /sbin/ldconfig
|
|
|
|
%files -n libSDL_Pango1
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING README
|
|
%{_libdir}/*.so.*
|
|
|
|
%files -n libSDL_Pango-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/SDL_Pango.pc
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|