]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- spec adapterized.
[packages/SDL_net.git] / SDL_net.spec
1 Summary:        Simple DirectMedia Layer - network
2 Summary(pl):    Biblioteka obs³ugi sieci w SDL
3 Name:           SDL_net
4 Version:        1.2.0
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
13 URL:            http://www.libsdl.org/projects/SDL_net/
14 BuildRequires:  SDL-devel >= 1.2.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18
19 %description
20 This is an example portable network library for use with SDL. Note
21 that this isn't necessarily how you would want to write a chat
22 program, but it demonstrates how to use the basic features of the
23 network and GUI libraries.
24
25 %description -l pl
26 Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL.
27
28 %package devel
29 Summary:        Header files and more to develop SDL_net applications
30 Summary(pl):    Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
31 Group:          Development/Libraries
32 Group(de):      Entwicklung/Libraries
33 Group(fr):      Development/Librairies
34 Group(pl):      Programowanie/Biblioteki
35 Requires:       %{name} = %{version}
36 Requires:       SDL-devel
37
38 %description devel
39 Header files and more to develop SDL_net applications.
40
41 %description -l pl devel
42 Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net.
43
44 %package static
45 Summary:        Static SDL_net libraries
46 Summary(pl):    Statyczne biblioteki SDL_net
47 Group:          Development/Libraries
48 Group(de):      Entwicklung/Libraries
49 Group(fr):      Development/Librairies
50 Group(pl):      Programowanie/Biblioteki
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 Statis SDL_net libraries.
55
56 %description -l pl static
57 Statyczne biblioteki SDL_net.
58
59 %prep
60 %setup -q 
61
62 %build
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 gzip -9nf README
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc *.gz
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %attr(755,root,root) %{_libdir}/lib*.la
88 %{_includedir}/SDL/*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.048464 seconds and 4 git commands to generate.