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