2007-01-15 23:50:27 +01:00
|
|
|
#
|
2007-07-27 02:09:39 +02:00
|
|
|
# spec file for package SDL_ttf (Version 2.0.9)
|
2007-01-15 23:50:27 +01:00
|
|
|
#
|
2009-05-28 23:49:05 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:27 +01:00
|
|
|
#
|
2008-08-23 03:03:45 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:50:27 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-08-23 03:03:45 +02:00
|
|
|
|
2007-01-15 23:50:27 +01:00
|
|
|
Name: SDL_ttf
|
2009-05-28 23:49:05 +02:00
|
|
|
BuildRequires: freetype2-devel libSDL-devel xorg-x11-devel
|
2007-12-17 12:05:29 +01:00
|
|
|
Url: http://www.libsdl.org/projects/SDL_ttf/
|
2009-10-08 01:55:59 +02:00
|
|
|
License: LGPL v2.1 or later ; Freetype Project License
|
2009-05-28 23:49:05 +02:00
|
|
|
Group: System/Libraries
|
2007-07-27 02:09:39 +02:00
|
|
|
Version: 2.0.9
|
2009-10-08 01:55:59 +02:00
|
|
|
Release: 154
|
2009-05-28 23:49:05 +02:00
|
|
|
Summary: Simple DirectMedia Layer - Truetype Library
|
2009-06-02 12:43:25 +02:00
|
|
|
# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180]
|
|
|
|
Source: %{name}-%{version}-repack.tar.bz2
|
2007-01-15 23:50:27 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a sample library that allows you to use TrueType fonts in your
|
|
|
|
SDL applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-28 19:42:32 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@libsdl.org>
|
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%package -n libSDL_ttf-2_0-0
|
|
|
|
Summary: Simple DirectMedia Layer - Truetype Library
|
|
|
|
Group: System/Libraries
|
2009-10-08 01:55:59 +02:00
|
|
|
License: LGPL v2.1 or later ; Freetype Project License
|
2009-05-28 23:49:05 +02:00
|
|
|
Provides: SDL_ttf = %{version}
|
2009-10-08 01:55:59 +02:00
|
|
|
Obsoletes: SDL_ttf <= %{version}
|
2009-05-28 23:49:05 +02:00
|
|
|
|
|
|
|
%description -n libSDL_ttf-2_0-0
|
|
|
|
This is a sample library that allows you to use TrueType fonts in your
|
|
|
|
SDL applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@libsdl.org>
|
|
|
|
|
|
|
|
%package -n libSDL_ttf-devel
|
2009-10-08 01:55:59 +02:00
|
|
|
License: LGPL v2.1 or later ; Freetype Project License
|
2008-08-23 03:03:45 +02:00
|
|
|
Requires: %{name} = %{version} SDL-devel
|
2009-05-28 23:49:05 +02:00
|
|
|
Summary: Simple DirectMedia Layer - Truetype Library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libSDL_ttf-2_0-0 = %{version} libSDL-devel
|
|
|
|
Provides: SDL_ttf-devel = %{version}
|
2009-10-08 01:55:59 +02:00
|
|
|
Obsoletes: SDL_ttf-devel <= %{version}
|
2007-06-28 19:42:32 +02:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%description -n libSDL_ttf-devel
|
2007-06-28 19:42:32 +02:00
|
|
|
This is a sample library that allows you to use TrueType fonts in your
|
|
|
|
SDL applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:50:27 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@libsdl.org>
|
|
|
|
|
|
|
|
%prep
|
2007-03-03 14:37:10 +01:00
|
|
|
%setup -q
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
%build
|
2009-05-28 23:49:05 +02:00
|
|
|
%configure \
|
|
|
|
--with-pic \
|
|
|
|
--disable-static
|
2008-08-23 03:03:45 +02:00
|
|
|
%{__make} %{?jobs:-j %jobs}
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2008-08-23 03:03:45 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%files -n libSDL_ttf-2_0-0
|
2007-01-15 23:50:27 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES COPYING README
|
2009-05-28 23:49:05 +02:00
|
|
|
%{_libdir}/lib*.so.*
|
2007-06-28 19:42:32 +02:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%files -n libSDL_ttf-devel
|
2007-06-28 19:42:32 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/SDL/SDL_ttf.h
|
2009-05-28 23:49:05 +02:00
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2007-03-03 14:37:10 +01:00
|
|
|
%changelog
|