/[packages]/cauldron/SDL_gfx/current/SPECS/SDL_gfx.spec
ViewVC logotype

Contents of /cauldron/SDL_gfx/current/SPECS/SDL_gfx.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42142 - (show annotations) (download)
Thu Jan 27 17:34:03 2011 UTC (13 years, 2 months ago) by jquelin
File size: 2612 byte(s)
mageia rebuild
1 %define major 13
2 %define libname %mklibname %{name} %{major}
3 %define develname %mklibname %{name} -d
4 %define staticname %mklibname %{name} -d -s
5
6 Summary: SDL graphics drawing primitives and other support functions
7 Name: SDL_gfx
8 Version: 2.0.22
9 Release: %mkrel 1
10 License: LGPLv2+
11 Group: System/Libraries
12 URL: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html
13 Source0: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
14 BuildRequires: SDL-devel >= 1.2.0
15 BuildRequires: libpng-devel >= 1.0.8
16 BuildRequires: libtiff-devel
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
18
19 %description
20 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
21
22 The current components of the SDL_gfx library are:
23 - Graphic Primitives (SDL_gfxPrimitves.h)
24 - Rotozoomer (SDL_rotozoom.h)
25 - Framerate control (SDL_framerate.h)
26 - MMX image filters (SDL_imageFilter.h)
27
28 The library is backwards compatible to the above mentioned code. It's
29 is written in plain C and can be used in C++ code.
30
31 %package -n %{libname}
32 Summary: SDL graphics drawing primitives and other support functions
33 Group: System/Libraries
34
35 %description -n %{libname}
36 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
37
38 The current components of the SDL_gfx library are:
39 - Graphic Primitives (SDL_gfxPrimitves.h)
40 - Rotozoomer (SDL_rotozoom.h)
41 - Framerate control (SDL_framerate.h)
42 - MMX image filters (SDL_imageFilter.h)
43
44 The library is backwards compatible to the above mentioned code. It's
45 is written in plain C and can be used in C++ code.
46
47 %package -n %{develname}
48 Summary: Header files and more to develop SDL_gfx applications
49 Group: Development/C
50 Requires: %{libname} = %{version}-%{release}
51 Requires: SDL-devel
52 Provides: %{name}-devel = %{version}-%{release}
53 Provides: lib%{name}-devel = %{version}-%{release}
54 Obsoletes: %mklibname %{name} 0 -d
55
56 %description -n %{develname}
57 Header files and more to develop SDL_gfx applications.
58
59 %package -n %{staticname}
60 Summary: Static SDL_gfx libraries
61 Group: Development/C
62 Requires: %{develname} = %{version}-%{release}
63 Obsoletes: %mklibname %{name} 0 -d -s
64
65 %description -n %{staticname}
66 Static SDL_gfx libraries.
67
68 %prep
69 %setup -q
70
71 %build
72 %configure2_5x --disable-mmx
73 %make
74
75 %install
76 rm -rf %{buildroot}
77 %makeinstall_std
78
79 %clean
80 rm -rf %{buildroot}
81
82 %files -n %{libname}
83 %defattr(-,root,root)
84 %{_libdir}/lib*.so.%{major}*
85
86 %files -n %{develname}
87 %defattr(-,root,root)
88 %doc README ChangeLog AUTHORS Docs
89 %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %{_libdir}/pkgconfig/*.pc
92 %{_includedir}/*
93
94 %files -n %{staticname}
95 %defattr(-,root,root)
96 %{_libdir}/lib*.a

  ViewVC Help
Powered by ViewVC 1.1.30