This commit is contained in:
parent
db3a5caa81
commit
b1fbafa1d2
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 26 22:56:36 CEST 2008 - crrodriguez@suse.de
|
||||
|
||||
- disable unusable static libraries
|
||||
- SDL_Pango-devel should require SDL-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 27 04:13:56 CET 2007 - crrodriguez@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package SDL_Pango (Version 0.1.2)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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.
|
||||
#
|
||||
@ -10,6 +10,7 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: SDL_Pango
|
||||
BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig
|
||||
Url: http://sdlpango.sourceforge.net/
|
||||
@ -17,7 +18,7 @@ License: LGPL v2.1 or later
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
Version: 0.1.2
|
||||
Release: 108
|
||||
Release: 164
|
||||
Summary: Programming Pango via SDL
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Patch: %{name}-0.1.2-API-adds.patch
|
||||
@ -34,9 +35,10 @@ Authors:
|
||||
NAKAMURA Ken'ichi
|
||||
|
||||
%package devel
|
||||
License: LGPL v2.1 or later
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name} = %{version} SDL-devel
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@ -53,11 +55,12 @@ Authors:
|
||||
%patch
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir
|
||||
%configure --disable-static --with-pic
|
||||
make 2>&1 | grep -v 767
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -69,19 +72,20 @@ 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
|
||||
%{_libdir}/libSDL_Pango.so.1
|
||||
%{_libdir}/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
|
||||
%{_libdir}/pkgconfig/SDL_Pango.pc
|
||||
%{_libdir}/libSDL_Pango.so
|
||||
|
||||
%changelog
|
||||
* Thu Dec 27 2007 - crrodriguez@suse.de
|
||||
* Fri Jun 27 2008 crrodriguez@suse.de
|
||||
- disable unusable static libraries
|
||||
- SDL_Pango-devel should require SDL-devel
|
||||
* Thu Dec 27 2007 crrodriguez@suse.de
|
||||
- fix library-without-ldconfig-* errors
|
||||
* Sun Oct 29 2006 - sndirsch@suse.de
|
||||
* Sun Oct 29 2006 sndirsch@suse.de
|
||||
- created package
|
||||
|
Loading…
Reference in New Issue
Block a user