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