OBS User unknown 2008-07-08 23:26:51 +00:00 committed by Git OBS Bridge
parent db3a5caa81
commit b1fbafa1d2
2 changed files with 22 additions and 12 deletions

View File

@ -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 Thu Dec 27 04:13:56 CET 2007 - crrodriguez@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL_Pango (Version 0.1.2) # 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 # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -10,6 +10,7 @@
# norootforbuild # norootforbuild
Name: SDL_Pango Name: SDL_Pango
BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig
Url: http://sdlpango.sourceforge.net/ Url: http://sdlpango.sourceforge.net/
@ -17,7 +18,7 @@ License: LGPL v2.1 or later
Group: System/Libraries Group: System/Libraries
AutoReqProv: on AutoReqProv: on
Version: 0.1.2 Version: 0.1.2
Release: 108 Release: 164
Summary: Programming Pango via SDL Summary: Programming Pango via SDL
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Patch: %{name}-0.1.2-API-adds.patch Patch: %{name}-0.1.2-API-adds.patch
@ -34,9 +35,10 @@ Authors:
NAKAMURA Ken'ichi NAKAMURA Ken'ichi
%package devel %package devel
License: LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development. Summary: Include Files and Libraries mandatory for Development.
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{version} SDL-devel
%description devel %description devel
This package contains all necessary include files and libraries needed This package contains all necessary include files and libraries needed
@ -53,11 +55,12 @@ Authors:
%patch %patch
%build %build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir %configure --disable-static --with-pic
make 2>&1 | grep -v 767 make 2>&1 | grep -v 767
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm -f %{buildroot}%{_libdir}/*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -69,19 +72,20 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING README %doc AUTHORS COPYING README
/usr/%{_lib}/libSDL_Pango.so.1 %{_libdir}/libSDL_Pango.so.1
/usr/%{_lib}/libSDL_Pango.so.1.1.0 %{_libdir}/libSDL_Pango.so.1.1.0
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
/usr/include/SDL_Pango.h /usr/include/SDL_Pango.h
/usr/%{_lib}/pkgconfig/SDL_Pango.pc %{_libdir}/pkgconfig/SDL_Pango.pc
/usr/%{_lib}/libSDL_Pango.a %{_libdir}/libSDL_Pango.so
/usr/%{_lib}/libSDL_Pango.la
/usr/%{_lib}/libSDL_Pango.so
%changelog %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 - fix library-without-ldconfig-* errors
* Sun Oct 29 2006 - sndirsch@suse.de * Sun Oct 29 2006 sndirsch@suse.de
- created package - created package