]> git.pld-linux.org Git - packages/SDLmm.git/blob - SDLmm.spec
- many small fixes, mostly inpired by kloczek
[packages/SDLmm.git] / SDLmm.spec
1 Summary:        C++ glue to SDL (Simple DirectMedia Layer)
2 Summary(pl):    Interfejs C++ do SDL
3 Name:           SDLmm
4 Version:        0.1.8
5 Release:        4
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        http://dl.sourceforge.net/sdlmm/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0a05d27d1aed72af3c7a37b6378f50e5
10 URL:            http://sdlmm.sourceforge.net/
11 BuildRequires:  SDL-devel
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This is a C++ glue to SDL (Simple DirectMedia Layer) library- a
19 low-level, cross-platform multimedia library. SDLmm will utilize C++
20 features while still being close to SDL in syntax (and naming).
21
22 %description -l pl
23 Jest to ³±cznik miêdzy C++ a SDL (Simple DirectMedia Layer),
24 niskopoziomow± bibliotek± multimedialn±. SDLmm wykorzysta cechy C++
25 wci±¿ bêd±c w sk³adni (i w nazewnictwie) blisko SDL.
26
27 %package devel
28 Summary:        Header files and more to develop SDLmm applications
29 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDLmm
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}
32 Requires:       SDL-devel
33
34 %description devel
35 Header files and more to develop SDLmm applications.
36
37 %description devel -l pl
38 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDLmm.
39
40 %package static
41 Summary:        Static SDLmm libraries
42 Summary(pl):    Statyczne biblioteki SDLmm
43 Group:          X11/Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Statis SDL_image libraries.
48
49 %description static -l pl
50 Statyczne biblioteki SDL_image.
51
52 %prep
53 %setup -q 
54
55 %build
56 rm -f missing
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure 
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         m4datadir=%{_aclocaldir}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc NEWS README THANKS AUTHORS
80 %attr(755,root,root) %{_libdir}/lib*.so.*.*
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc docs/html/*.html docs/html/*.gif docs/html/*.css
85 %attr(755,root,root) %{_bindir}/*
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_includedir}/SDLmm
88 %{_aclocaldir}/*
89 %{_mandir}/man3/*
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.a
This page took 0.076962 seconds and 3 git commands to generate.