X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=SDL_net.spec;h=0a1b69e7ef9efae68ccae286f01a5f4d0442fe6f;hb=9640c69d01bba55c7c354bfbf5d4f62d89102cf5;hp=c6e96ed21405f7c1bfd873ab2c01a48a42c2ab37;hpb=17d8e57d192a2b9988adca4b1f1e031ff6034651;p=packages%2FSDL_net.git diff --git a/SDL_net.spec b/SDL_net.spec index c6e96ed..0a1b69e 100644 --- a/SDL_net.spec +++ b/SDL_net.spec @@ -1,100 +1,106 @@ Summary: Simple DirectMedia Layer - network -Summary(pl): Biblioteka obs³ugi sieci w SDL +Summary(pl.UTF-8): Biblioteka obsługi sieci w SDL +Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca de rede portável Name: SDL_net -Version: 1.2.3 -Release: 2 -License: LGPL +Version: 1.2.7 +Release: 3 +License: LGPL v2+ 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: 6bd4662d1423810f3140d4da21b6d912 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 +Obsoletes: libSDL_net1.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 - %description This is an example portable network library for use with SDL. Note that this isn't necessarily how you would want to write a chat program, but it demonstrates how to use the basic features of the network and GUI libraries. -%description -l pl -Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL. +%description -l pl.UTF-8 +Przykładowa biblioteka obsługi sieci korzystająca z SDL. + +%description -l pt_BR.UTF-8 +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.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_net +Summary(pt_BR.UTF-8): 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: SDL-devel +Requires: %{name} = %{version}-%{release} +Requires: SDL-devel >= 1.2.5-2 +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.UTF-8 +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.UTF-8 +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(pl.UTF-8): Statyczne biblioteki SDL_net +Summary(pt_BR.UTF-8): 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.UTF-8 Statyczne biblioteki SDL_net. +%description static -l pt_BR.UTF-8 +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 -rm -f missing -libtoolize --copy --force -aclocal -autoconf -automake -a -c +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %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 -%post -p /sbin/ldconfig +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*.so.*.* +%doc CHANGES README +%attr(755,root,root) %{_libdir}/libSDL_net-*.so.*.*.* %files devel %defattr(644,root,root,755) -%doc *.gz -%attr(755,root,root) %{_libdir}/lib*.so -%attr(755,root,root) %{_libdir}/lib*.la -%{_includedir}/SDL/* +%attr(755,root,root) %{_libdir}/libSDL_net.so +%{_libdir}/libSDL_net.la +%{_includedir}/SDL/SDL_net.h %files static %defattr(644,root,root,755) -%{_libdir}/lib*.a +%{_libdir}/libSDL_net.a