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