2007-01-15 23:50:27 +01:00
|
|
|
|
#
|
2011-09-17 12:02:05 +02:00
|
|
|
|
# spec file for package SDL_ttf
|
2007-01-15 23:50:27 +01:00
|
|
|
|
#
|
2015-01-08 10:58:02 +01:00
|
|
|
|
# Copyright (c) 2015 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/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: SDL_ttf
|
2013-08-15 15:54:17 +02:00
|
|
|
|
%define lname libSDL_ttf-2_0-0
|
|
|
|
|
#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0.
|
2013-08-13 13:33:57 +02:00
|
|
|
|
Version: 2.0.11
|
2013-01-07 14:55:02 +01:00
|
|
|
|
Release: 0
|
2015-01-08 10:58:02 +01:00
|
|
|
|
Summary: SDL TrueType library
|
2013-08-13 13:33:57 +02:00
|
|
|
|
License: Zlib
|
2013-08-15 15:54:17 +02:00
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
Url: http://libsdl.org/projects/SDL_ttf/release-1.2.html
|
|
|
|
|
|
2013-08-13 13:33:57 +02:00
|
|
|
|
# removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180]
|
2015-01-08 10:58:02 +01:00
|
|
|
|
Source: %name-%version-repack.tar.bz2
|
2010-01-29 16:28:55 +01:00
|
|
|
|
Source2: baselibs.conf
|
2007-01-15 23:50:27 +01:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-01-08 10:58:02 +01:00
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
|
BuildRequires: pkgconfig(sdl)
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a sample library that allows you to use TrueType fonts in your
|
|
|
|
|
SDL applications.
|
|
|
|
|
|
2013-08-15 15:54:17 +02:00
|
|
|
|
%package -n %lname
|
2015-01-08 10:58:02 +01:00
|
|
|
|
Summary: Simple DirectMedia Layer – Truetype library
|
2009-05-28 23:49:05 +02:00
|
|
|
|
Group: System/Libraries
|
2014-11-20 15:30:16 +01:00
|
|
|
|
Provides: SDL_ttf = %version-%release
|
|
|
|
|
Obsoletes: SDL_ttf < %version-%release
|
2009-05-28 23:49:05 +02:00
|
|
|
|
|
2013-08-15 15:54:17 +02:00
|
|
|
|
%description -n %lname
|
2009-05-28 23:49:05 +02:00
|
|
|
|
This is a sample library that allows you to use TrueType fonts in your
|
|
|
|
|
SDL applications.
|
|
|
|
|
|
|
|
|
|
%package -n libSDL_ttf-devel
|
2015-01-08 10:58:02 +01:00
|
|
|
|
Summary: Development files for the SDL TrueType library
|
2013-08-15 15:54:17 +02:00
|
|
|
|
Group: Development/Libraries/X11
|
2015-01-08 10:58:02 +01:00
|
|
|
|
Requires: %lname = %version
|
2014-11-20 15:30:16 +01:00
|
|
|
|
Provides: SDL_ttf-devel = %version-%release
|
|
|
|
|
Obsoletes: SDL_ttf-devel < %version-%release
|
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
|
|
|
|
%prep
|
2007-03-03 14:37:10 +01:00
|
|
|
|
%setup -q
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
|
|
%build
|
2015-01-08 10:58:02 +01:00
|
|
|
|
%configure --disable-static
|
2011-09-18 21:08:05 +02:00
|
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
|
|
%install
|
2015-01-08 10:58:02 +01:00
|
|
|
|
%make_install
|
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
2015-01-08 10:58:02 +01:00
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2013-08-15 15:54:17 +02:00
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
2013-08-15 15:54:17 +02:00
|
|
|
|
%files -n %lname
|
2007-01-15 23:50:27 +01:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc CHANGES COPYING README
|
2015-01-08 10:58:02 +01:00
|
|
|
|
%_libdir/libSDL_ttf-2*.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)
|
2015-01-08 10:58:02 +01:00
|
|
|
|
%_includedir/SDL/
|
|
|
|
|
%_libdir/libSDL_ttf.so
|
|
|
|
|
%_libdir/pkgconfig/SDL_ttf.pc
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
2007-03-03 14:37:10 +01:00
|
|
|
|
%changelog
|