OBS User unknown 2009-03-02 00:35:43 +00:00 committed by Git OBS Bridge
parent 6be3fd4d99
commit b55e1ab77a
2 changed files with 33 additions and 25 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 25 15:56:44 CET 2009 - crrodriguez@suse.de
- remove static libraries and "la" files
- correct -devel package dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 13 10:58:20 CEST 2008 - sndirsch@suse.de Fri Jun 13 10:58:20 CEST 2008 - sndirsch@suse.de

View File

@ -1,10 +1,17 @@
# #
# spec file for package SDL_gfx (Version 2.0.17) # spec file for package SDL_gfx (Version 2.0.17)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 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.
# #
# 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -12,16 +19,15 @@
Name: SDL_gfx Name: SDL_gfx
BuildRequires: SDL-devel libstdc++-devel BuildRequires: SDL-devel
Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/ Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
Summary: SDL Graphics Routines for Primitives and Other Support Functions Summary: SDL Graphics Routines for Primitives and Other Support Functions
Version: 2.0.17 Version: 2.0.17
Release: 1 Release: 49
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
License: LGPL v2.1 or later License: LGPL v2.1 or later
Group: System/Libraries Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: %{_prefix}
%description %description
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
@ -50,7 +56,7 @@ Authors:
License: LGPL v2.1 or later License: LGPL v2.1 or later
Summary: Libraries, includes and more to develop SDL_gfx applications Summary: Libraries, includes and more to develop SDL_gfx applications
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version} SDL-devel libstdc++-devel gcc gpm Requires: %{name} = %{version} SDL-devel
%description devel %description devel
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
@ -76,29 +82,23 @@ Authors:
Andreas Schiffler <aschiffler@appwares.com> Andreas Schiffler <aschiffler@appwares.com>
%prep %prep
%setup %setup -q
%build %build
%{?suse_update_config:%{suse_update_config -f }} %{?suse_update_config:%{suse_update_config -f }}
rm acinclude.m4 ; touch acinclude.m4 # Only contains SDL.m4 and libtool.m4 rm acinclude.m4 ; touch acinclude.m4 # Only contains SDL.m4 and libtool.m4
libtoolize --copy --force autoreconf -fiv
aclocal CFLAGS="$RPM_OPT_FLAGS"
autoconf %configure --disable-static --with-pic --disable-mmx
CFLAGS="$RPM_OPT_FLAGS" ./configure \ %{__make} %{?jobs:-j%jobs}
--disable-mmx \
--prefix=%{prefix} \
--libdir=%{prefix}/%_lib
make
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post %post -p /sbin/ldconfig
%run_ldconfig
%postun %postun -p /sbin/ldconfig
%run_ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -106,15 +106,17 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README %doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
%{prefix}/%_lib/lib*.so.* %_libdir/lib*.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%_lib/*a %{_includedir}/SDL/*
%{prefix}/include/SDL/ %_libdir/lib*.so
%{prefix}/%_lib/lib*.so
%changelog %changelog
* Wed Feb 25 2009 crrodriguez@suse.de
- remove static libraries and "la" files
- correct -devel package dependencies
* Fri Jun 13 2008 sndirsch@suse.de * Fri Jun 13 2008 sndirsch@suse.de
- update to release 2.0.17 - update to release 2.0.17
* hline/vline clipping and swap-logic fixed * hline/vline clipping and swap-logic fixed