forked from pool/SDL_image
Edit package summary and description. Drop --with-pic.
OBS-URL: https://build.opensuse.org/package/show/games/SDL_image?expand=0&rev=19
This commit is contained in:
parent
3b6e0cccbd
commit
23ac706a7c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 6 12:04:26 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Improve package summary and description
|
||||||
|
- Drop --with-pic which is enabled implicitly anyway
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de
|
Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_image
|
# spec file for package SDL_image
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
||||||
@ -18,77 +18,77 @@
|
|||||||
|
|
||||||
Name: SDL_image
|
Name: SDL_image
|
||||||
%define lname libSDL_image-1_2-0
|
%define lname libSDL_image-1_2-0
|
||||||
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: Development/Libraries/X11
|
|
||||||
Version: 1.2.12
|
Version: 1.2.12
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Summary: SDL image loading library
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: Development/Libraries/X11
|
||||||
Url: http://libsdl.org/projects/SDL_image/release-1.2.html
|
Url: http://libsdl.org/projects/SDL_image/release-1.2.html
|
||||||
|
|
||||||
# removed VisualC.zip, VisualCE.zip, Watcom-OS2.zip, Xcode.tar.gz, Xcode_iPhone.tar.gz from upstream tarball [bnc#508084]
|
# removed VisualC.zip, VisualCE.zip, Watcom-OS2.zip, Xcode.tar.gz, Xcode_iPhone.tar.gz from upstream tarball [bnc#508084]
|
||||||
Source: %{name}-%{version}-repack.tar.bz2
|
Source: %name-%version-repack.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source3: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libSDL-devel
|
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: pkgconfig(libwebp)
|
BuildRequires: pkgconfig(libwebp)
|
||||||
|
BuildRequires: pkgconfig(sdl)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a simple library to load images of various formats as SDL
|
This is a simple library to load images of various formats as SDL
|
||||||
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG,
|
||||||
formats.
|
TIFF and WEBP formats.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
Summary: Simple DirectMedia Layer – Image loading library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_image = %{version}
|
Provides: SDL_image = %version-%release
|
||||||
Obsoletes: SDL_image <= %{version}
|
Obsoletes: SDL_image < %version-%release
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
This is a simple library to load images of various formats as SDL
|
This is a simple library to load images of various formats as SDL
|
||||||
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG,
|
||||||
formats.
|
TIFF and WEBP formats.
|
||||||
|
|
||||||
%package -n libSDL_image-devel
|
%package -n libSDL_image-devel
|
||||||
Summary: Libraries, includes and more to develop SDL_image applications
|
Summary: Libraries, includes and more to develop SDL_image applications
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: %lname = %{version}
|
Requires: %lname = %{version}
|
||||||
Requires: libSDL-devel
|
Requires: libSDL-devel
|
||||||
Provides: SDL_image-devel = %{version}
|
Provides: SDL_image-devel = %version-%release
|
||||||
Obsoletes: SDL_image-devel <= %{version}
|
Obsoletes: SDL_image-devel < %version-%release
|
||||||
|
|
||||||
%description -n libSDL_image-devel
|
%description -n libSDL_image-devel
|
||||||
This is a simple library to load images of various formats as SDL
|
This is a simple library to load images of various formats as SDL
|
||||||
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG,
|
||||||
formats.
|
TIFF and WEBP formats.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-png-shared --disable-jpg-shared --disable-tif-shared --disable-static --with-pic
|
%configure --disable-png-shared --disable-jpg-shared --disable-tif-shared \
|
||||||
|
--disable-webp-shared --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%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_image-1*.so.*
|
%_libdir/libSDL_image-1*.so.*
|
||||||
|
|
||||||
%files -n libSDL_image-devel
|
%files -n libSDL_image-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/SDL/
|
%_includedir/SDL/
|
||||||
%{_libdir}/libSDL_image.so
|
%_libdir/libSDL_image.so
|
||||||
%{_libdir}/pkgconfig/SDL_image.pc
|
%_libdir/pkgconfig/SDL_image.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user