]> git.pld-linux.org Git - packages/SDL_net.git/blobdiff - SDL_net.spec
- cosmetics (spaces -> tabs)
[packages/SDL_net.git] / SDL_net.spec
index 82f051f4cfd39a2725d319a695ffd202bb57c3c8..ced456972403f48cb0060fa318309815e18ba7fc 100644 (file)
@@ -1,20 +1,20 @@
 Summary:       Simple DirectMedia Layer - network
 Summary(pl):   Biblioteka obs³ugi sieci w SDL
+Summary(pt_BR):        Simple DirectMedia Layer - Biblioteca de rede portável
 Name:          SDL_net
-Version:       1.2.0
+Version:       1.2.5
 Release:       2
 License:       LGPL
 Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
 Source0:       http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
+# Source0-md5: e45b1048d2747480dcc65ece4130a920
 URL:           http://www.libsdl.org/projects/SDL_net/
-BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: SDL-devel >= 1.2.5-2
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define                _prefix         /usr/X11R6
+Obsoletes:     libSDL_net1.2
 
 %description
 This is an example portable network library for use with SDL. Note
@@ -25,50 +25,62 @@ network and GUI libraries.
 %description -l pl
 Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL.
 
+%description -l pt_BR
+Esta é uma biblioteca portável de rede para uso com o SDL.
+
 %package devel
 Summary:       Header files and more to develop SDL_net applications
-Summary(pl):   Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
+Summary(pl):   Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
+Summary(pt_BR):        Cabeçalhos para desenvolver programas utilizando a SDL_net
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Requires:      SDL-devel
+Obsoletes:     libSDL_net1.2-devel
 
 %description devel
-Header files and more to develop SDL_net applications.
+This package contains the headers that programmers will need to
+develop applications which will use SDL_net.
+
+%description devel -l pl
+Pakiet ten zawiera pliki nag³ówkowepotzrebne przy rozwijania aplikacji
+u¿ywaj±cych SDL_net.
 
-%description -l pl devel
-Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net.
+%description devel -l pt_BR
+Este pacote contém os cabeçalhos que programadores vão precisar para
+desenvolver aplicações utilizando a SDL_net.
 
 %package static
 Summary:       Static SDL_net libraries
 Summary(pl):   Statyczne biblioteki SDL_net
+Summary(pt_BR):        Biblioteca estática para desenvolvimento utilizando a SDL_net
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Statis SDL_net libraries.
 
-%description -l pl static
+%description static -l pl
 Statyczne biblioteki SDL_net.
 
+%description static -l pt_BR
+Este pacote contém a biblioteca estática que programadores vão
+precisar para desenvolver aplicações linkados estaticamente com a
+SDL_net.
+
 %prep
-%setup -q 
+%setup -q
 
 %build
+cp /usr/share/automake/config.sub .
+%{__autoconf}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf README
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,9 +94,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/SDL/*
 
 %files static
This page took 0.141081 seconds and 4 git commands to generate.