]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 Source0:        http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
9 URL:            http://www.libsdl.org/projects/SDL_net/
10 BuildRequires:  SDL-devel >= 1.2.0
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
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 Requires:       %{name} = %{version}
32 Requires:       SDL-devel
33
34 %description devel
35 Header files and more to develop SDL_net applications.
36
37 %description -l pl devel
38 Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net.
39
40 %package static
41 Summary:        Static SDL_net libraries
42 Summary(pl):    Statyczne biblioteki SDL_net
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Statis SDL_net libraries.
48
49 %description -l pl static
50 Statyczne biblioteki SDL_net.
51
52 %prep
53 %setup -q 
54
55 %build
56 rm -f missing
57 libtoolize --copy --force
58 aclocal
59 autoconf
60 automake -a -c
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68
69 gzip -9nf README
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 %attr(755,root,root) %{_libdir}/lib*.so.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %doc *.gz
84 %attr(755,root,root) %{_libdir}/lib*.so
85 %attr(755,root,root) %{_libdir}/lib*.la
86 %{_includedir}/SDL/*
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/lib*.a
This page took 0.041353 seconds and 4 git commands to generate.