]> git.pld-linux.org Git - packages/SDL_gfx.git/commitdiff
- new spec
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 28 Apr 2002 17:24:50 +0000 (17:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL_gfx.spec -> 1.1

SDL_gfx.spec [new file with mode: 0644]

diff --git a/SDL_gfx.spec b/SDL_gfx.spec
new file mode 100644 (file)
index 0000000..ae37179
--- /dev/null
@@ -0,0 +1,99 @@
+Summary:       SDL graphics drawing primitives and other support functions
+Summary(pl):   Funkcje rysowania grafiki i inne dla SDL
+Name:          SDL_gfx
+Version:       2.0.3
+Release:       1
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.ferzkopp.net/Software/%{name}-2.0/%{name}-%{version}.tar.gz
+URL:           http://www.ferzkopp.net/Software/%{name}-2.0/index.html
+BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libjpeg-devel
+BuildRequires: libpng >= 1.0.8
+BuildRequires: libtiff-devel
+BuildRequires: libtool
+BuildRequires: zlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _includedir     /usr/X11R6/include/SDL
+
+%description
+The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
+
+The current components of the SDL_gfx library are:
+
+    - Graphic Primitives (SDL_gfxPrimitves.h)
+    - Rotozoomer (SDL_rotozoom.h)
+    - Framerate control (SDL_framerate.h)
+    - MMX image filters (SDL_imageFilter.h)
+
+The library is backwards compatible to the above mentioned code. Its
+is written in plain C and can be used in C++ code.
+
+
+%package devel
+Summary:       Header files and more to develop SDL_gfx applications.
+Summary(pl):   Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+Requires:      SDL-devel
+
+%description devel
+Header files and more to develop SDL_gfx applications.
+
+%description devel -l pl
+Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
+
+%package static
+Summary:       Static SDL_gfx libraries
+Summary(pl):   Statyczne biblioteki SDL_gfx
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Statis SDL_gfx libraries.
+
+%description static -l pl
+Statyczne biblioteki SDL_gfx.
+
+%prep
+%setup -q
+
+%build
+rm -f missing acinclude.m4
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c -f
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf README AUTHORS ChangeLog
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc *.gz Docs
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.144183 seconds and 4 git commands to generate.