]> git.pld-linux.org Git - packages/SDL_gfx.git/blobdiff - SDL_gfx.spec
noarch apidocs
[packages/SDL_gfx.git] / SDL_gfx.spec
index d0cb40355649f638a69b4cad6e93460c62a2545d..c10679d2a6f3847e0455bc8f5872d11a31584d37 100644 (file)
@@ -1,22 +1,20 @@
-Summary:       SDL graphics drawing primitives and other support functions
-Summary(pl.UTF-8):     Funkcje rysowania grafiki i inne dla SDL
+Summary:       SDL graphics drawing primitives and other supporting functions
+Summary(pl.UTF-8):     Funkcje rysowania grafiki i inne pomocnicze dla SDL
 Name:          SDL_gfx
-Version:       2.0.22
-Release:       1
-License:       LGPL v2.1+
+Version:       2.0.26
+Release:       2
+License:       ZLib (BSD-like)
 Group:         Libraries
-#Source0Download: http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
+#Source0Download: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
 Source0:       http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
-# Source0-md5: 330f291f1f09a1bdf397c9b40d92ca41
+# Source0-md5: 0b3b5ab5f9e7d10f1faf14d4255db6ba
 Patch0:                %{name}-local-labels.patch
-URL:           http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
+URL:           http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
 BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.566
-BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,7 +46,7 @@ Summary:      Header files and more to develop SDL_gfx applications
 Summary(pl.UTF-8):     Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      SDL-devel
+Requires:      SDL-devel >= 1.2.0
 
 %description devel
 Header files and more to develop SDL_gfx applications.
@@ -57,20 +55,31 @@ Header files and more to develop SDL_gfx applications.
 Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx.
 
 %package static
-Summary:       Static SDL_gfx libraries
-Summary(pl.UTF-8):     Statyczne biblioteki SDL_gfx
+Summary:       Static SDL_gfx library
+Summary(pl.UTF-8):     Statyczna biblioteka SDL_gfx
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
-Static SDL_gfx libraries.
+Static SDL_gfx library.
 
 %description static -l pl.UTF-8
-Statyczne biblioteki SDL_gfx.
+Statyczna biblioteka SDL_gfx.
+
+%package apidocs
+Summary:       API documentation for SDL_gfx library
+Summary(pl.UTF-8):     Dokumentacja API biblioteki SDL_gfx
+Group:         Documentation
+BuildArch:     noarch
+
+%description apidocs
+API documentation for SDL_gfx library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki SDL_gfx.
 
 %prep
 %setup -q
-%undos SDL_imageFilter.c
 %patch0 -p1
 
 %build
@@ -100,13 +109,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README AUTHORS ChangeLog
+%doc AUTHORS COPYING ChangeLog LICENSE README
 %attr(755,root,root) %{_libdir}/libSDL_gfx.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.13
+%attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.16
 
 %files devel
 %defattr(644,root,root,755)
-%doc Docs/*
 %attr(755,root,root) %{_libdir}/libSDL_gfx.so
 %{_libdir}/libSDL_gfx.la
 %{_includedir}/SDL/SDL_framerate.h
@@ -118,3 +126,7 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libSDL_gfx.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc Docs/{Screenshots,html,*.png,index.html}
This page took 0.045464 seconds and 4 git commands to generate.