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