package created using the webbuild interface [release 2.0.3-1mamba;Sat Sep 01 2018]
This commit is contained in:
parent
6755785a4b
commit
2ba9c966f6
76
sdl2_image.spec
Normal file
76
sdl2_image.spec
Normal file
@ -0,0 +1,76 @@
|
||||
Name: sdl2_image
|
||||
Version: 2.0.3
|
||||
Release: 1mamba
|
||||
Summary: SDL_image is an image file loading library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.libsdl.org/projects/SDL_image/
|
||||
Source: https://www.libsdl.org/projects/SDL_image/release/SDL2_image-%{version}.tar.gz
|
||||
License: zlib/libpng
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libSDL2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires(post): %{__install_info}
|
||||
Requires(preun): %{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
SDL_image is an image file loading library.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: SDL_image is an image file loading library.
|
||||
|
||||
%description -n lib%{name}
|
||||
SDL_image is an image file loading library.
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n SDL2_image-%{version}
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libSDL2_image-2.0.so.*
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/SDL2/SDL_image.h
|
||||
%{_libdir}/libSDL2_image.a
|
||||
%{_libdir}/libSDL2_image.la
|
||||
%{_libdir}/libSDL2_image.so
|
||||
%{_libdir}/pkgconfig/SDL2_image.pc
|
||||
%doc README.txt
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Sep 01 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user