Группа :: Система/Библиотеки
Пакет: SDL2_gfx
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
Name: SDL2_gfx
Version: 1.0.4
Release: alt2
Summary: Simple DirectMedia Layer - Graphics primitives and surface functions
License: zlib
Group: System/Libraries
Url: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
Packager: Nazarov Denis <nenderus at altlinux.org>
Source: http://www.ferzkopp.net/Software/%name/%name-%version.tar.gz
BuildRequires: libSDL2-devel
%description
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%package -n lib%name
Summary: Simple DirectMedia Layer - Graphics primitives and surface functions
Group: System/Libraries
%description -n lib%name
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%package -n lib%name-devel
Summary: Libraries, includes and more to develop SDL applications.
Group: Development/C
%description -n lib%name-devel
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries to develop SDL applications.
Group: Development/C
%description -n lib%name-devel-static
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%endif
%prep
%setup
%build
%autoreconf
%configure %{subst_enable static} \
%ifnarch %ix86 x86_64
--disable-mmx \
%endif
%make_build
%install
%makeinstall_std
%__rm -rf %buildroot%_libdir/lib%name.la
%files -n lib%name
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%_libdir/lib%name-1.0.so.*
%files -n lib%name-devel
%dir %_includedir/SDL2
%_includedir/SDL2/*.h
%_libdir/lib%name.so
%_pkgconfigdir/%name.pc
%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Name: SDL2_gfx
Version: 1.0.4
Release: alt2
Summary: Simple DirectMedia Layer - Graphics primitives and surface functions
License: zlib
Group: System/Libraries
Url: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
Packager: Nazarov Denis <nenderus at altlinux.org>
Source: http://www.ferzkopp.net/Software/%name/%name-%version.tar.gz
BuildRequires: libSDL2-devel
%description
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%package -n lib%name
Summary: Simple DirectMedia Layer - Graphics primitives and surface functions
Group: System/Libraries
%description -n lib%name
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%package -n lib%name-devel
Summary: Libraries, includes and more to develop SDL applications.
Group: Development/C
%description -n lib%name-devel
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries to develop SDL applications.
Group: Development/C
%description -n lib%name-devel-static
The %name library provides the basic drawing functions such as lines,
circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
%endif
%prep
%setup
%build
%autoreconf
%configure %{subst_enable static} \
%ifnarch %ix86 x86_64
--disable-mmx \
%endif
%make_build
%install
%makeinstall_std
%__rm -rf %buildroot%_libdir/lib%name.la
%files -n lib%name
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%_libdir/lib%name-1.0.so.*
%files -n lib%name-devel
%dir %_includedir/SDL2
%_includedir/SDL2/*.h
%_libdir/lib%name.so
%_pkgconfigdir/%name.pc
%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь