Edit package summary and description. Drop --with-pic.
OBS-URL: https://build.opensuse.org/package/show/games/SDL_ttf?expand=0&rev=23
This commit is contained in:
parent
dfc79abad1
commit
2569425f3f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 8 09:57:48 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Improve package summary and description. Drop --with-pic which
|
||||||
|
is enabled implicitly anyway, remove redundant Requires.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 20 14:24:16 UTC 2014 - olaf@aepfle.de
|
Thu Nov 20 14:24:16 UTC 2014 - olaf@aepfle.de
|
||||||
|
|
||||||
|
36
SDL_ttf.spec
36
SDL_ttf.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_ttf
|
# spec file for package SDL_ttf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,25 +21,25 @@ Name: SDL_ttf
|
|||||||
#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0.
|
#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0.
|
||||||
Version: 2.0.11
|
Version: 2.0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple DirectMedia Layer - Truetype Library
|
Summary: SDL TrueType library
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Url: http://libsdl.org/projects/SDL_ttf/release-1.2.html
|
Url: http://libsdl.org/projects/SDL_ttf/release-1.2.html
|
||||||
|
|
||||||
# removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180]
|
# removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180]
|
||||||
Source: %{name}-%{version}-repack.tar.bz2
|
Source: %name-%version-repack.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: freetype2-devel
|
BuildRequires: pkg-config
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: pkgconfig(freetype2)
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig(sdl)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a sample library that allows you to use TrueType fonts in your
|
This is a sample library that allows you to use TrueType fonts in your
|
||||||
SDL applications.
|
SDL applications.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Simple DirectMedia Layer - Truetype Library
|
Summary: Simple DirectMedia Layer – Truetype library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_ttf = %version-%release
|
Provides: SDL_ttf = %version-%release
|
||||||
Obsoletes: SDL_ttf < %version-%release
|
Obsoletes: SDL_ttf < %version-%release
|
||||||
@ -49,10 +49,9 @@ This is a sample library that allows you to use TrueType fonts in your
|
|||||||
SDL applications.
|
SDL applications.
|
||||||
|
|
||||||
%package -n libSDL_ttf-devel
|
%package -n libSDL_ttf-devel
|
||||||
Summary: Simple DirectMedia Layer - Truetype Library
|
Summary: Development files for the SDL TrueType library
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: %lname = %{version}
|
Requires: %lname = %version
|
||||||
Requires: libSDL-devel
|
|
||||||
Provides: SDL_ttf-devel = %version-%release
|
Provides: SDL_ttf-devel = %version-%release
|
||||||
Obsoletes: SDL_ttf-devel < %version-%release
|
Obsoletes: SDL_ttf-devel < %version-%release
|
||||||
|
|
||||||
@ -64,28 +63,25 @@ SDL applications.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure --disable-static
|
||||||
--with-pic \
|
|
||||||
--disable-static
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES COPYING README
|
%doc CHANGES COPYING README
|
||||||
%{_libdir}/libSDL_ttf-2*.so.*
|
%_libdir/libSDL_ttf-2*.so.*
|
||||||
|
|
||||||
%files -n libSDL_ttf-devel
|
%files -n libSDL_ttf-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/SDL/
|
%_includedir/SDL/
|
||||||
%{_libdir}/libSDL_ttf.so
|
%_libdir/libSDL_ttf.so
|
||||||
%{_libdir}/pkgconfig/SDL_ttf.pc
|
%_libdir/pkgconfig/SDL_ttf.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user