forked from pool/SDL_Pango
84 lines
1.9 KiB
RPMSpec
84 lines
1.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package SDL_Pango (Version 0.1.2)
|
||
|
#
|
||
|
# Copyright (c) 2006 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.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: SDL_Pango
|
||
|
BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig
|
||
|
URL: http://sdlpango.sourceforge.net/
|
||
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||
|
Group: System/Libraries
|
||
|
Autoreqprov: on
|
||
|
Version: 0.1.2
|
||
|
Release: 1
|
||
|
Summary: Programming Pango via SDL
|
||
|
Source: %{name}-%{version}.tar.gz
|
||
|
Patch: %{name}-0.1.2-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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
NAKAMURA Ken'ichi
|
||
|
|
||
|
%package devel
|
||
|
Summary: Include Files and Libraries mandatory for Development.
|
||
|
Group: System/Libraries
|
||
|
Requires: SDL_Pango
|
||
|
Autoreqprov: on
|
||
|
|
||
|
%description devel
|
||
|
This package contains all necessary include files and libraries needed
|
||
|
to develop applications that require these.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
NAKAMURA Ken'ichi
|
||
|
|
||
|
%prep
|
||
|
%setup
|
||
|
%patch
|
||
|
|
||
|
%build
|
||
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir
|
||
|
make 2>&1 | grep -v 767
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc AUTHORS COPYING README
|
||
|
/usr/%{_lib}/libSDL_Pango.so.1
|
||
|
/usr/%{_lib}/libSDL_Pango.so.1.1.0
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
/usr/include/SDL_Pango.h
|
||
|
/usr/%{_lib}/pkgconfig/SDL_Pango.pc
|
||
|
/usr/%{_lib}/libSDL_Pango.a
|
||
|
/usr/%{_lib}/libSDL_Pango.la
|
||
|
/usr/%{_lib}/libSDL_Pango.so
|
||
|
|
||
|
%changelog -n SDL_Pango
|
||
|
* Sun Oct 29 2006 - sndirsch@suse.de
|
||
|
- created package
|