]> git.pld-linux.org Git - packages/SDL_draw.git/blob - SDL_draw.spec
- rel 2
[packages/SDL_draw.git] / SDL_draw.spec
1 Summary:        Library to draw basic shapes on SDL surfaces
2 Summary(pl.UTF-8):      Biblioteka do rysowania podstawowych figur na powierzchniach SDL
3 Name:           SDL_draw
4 Version:        1.2.13
5 Release:        2
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/project/sdl-draw/SDL_draw/1.2.13/%{name}-%{version}.tar.gz
9 # Source0-md5:  3f3e6985217e98d92cf5900a5d9f6444
10 URL:            http://sdl-draw.sourceforge.net/
11 BuildRequires:  SDL-devel >= 1.2.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 SDL_draw is a simple library to draw basic elements, like points,
19 lines and circles, on SDL surfaces.
20
21 %description -l es.UTF-8
22 SDL_draw es una sencilla librería para representar primitivas básicas de
23 dibujo, como puntos, rectas y circunferencias, sobre una superficie SDL.
24
25 %description -l pl.UTF-8
26 SDL_draw jest prostą biblioteką do rysowania podstawowych figur
27 geometrycznych takich jak punkty, linie czy koła na powierzchniach
28 SDL.
29
30 %description -l pt.UTF-8
31 SDL_draw é uma biblioteca simples para desenhar elementos básicos, como
32 pontos, linhas e círculos, sobre uma superfície SDL.
33
34 %package devel
35 Summary:        Header files and more to develop SDL_draw applications
36 Summary(pl.UTF-8):      Pliki nagłówkowe do rozwijania aplikacji używających SDL_draw
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       SDL-devel >= 1.2.0
40
41 %description devel
42 Header files and more to develop SDL_draw applications.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe do rozwijania aplikacji używających SDL_draw.
46
47 %package static
48 Summary:        Static SDL_draw libraries
49 Summary(pl.UTF-8):      Statyczne biblioteki SDL_draw
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}-%{release}
52
53 %description static
54 Statis SDL_draw libraries.
55
56 %description static -l pl.UTF-8
57 Statyczne biblioteki SDL_draw.
58
59 %prep
60 %setup -q
61
62 rm -f acinclude.m4
63
64 %build
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__automake}
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/SDL}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 install include/SDL_draw.h $RPM_BUILD_ROOT%{_includedir}/SDL
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog NEWS README
90 %attr(755,root,root) %{_libdir}/libSDL_draw-*.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libSDL_draw-1.2.so.0
92
93 %files devel
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libSDL_draw.so
96 %{_libdir}/libSDL_draw.la
97 %{_includedir}/SDL/SDL_draw.h
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/libSDL_draw.a
This page took 0.119576 seconds and 3 git commands to generate.