Group :: Sistema/Bibliotecas
RPM: SDL2_net
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: SDL2_net
Version: 2.0.1
Release: alt1
Summary: Simple DirectMedia Layer - Portable network library
License: zlib
Group: System/Libraries
Url: http://www.libsdl.org/projects/SDL_net/
Packager: Nazarov Denis <nenderus at altlinux.org>
Source0: http://www.libsdl.org/projects/SDL_net/release/%name-%version.tar.gz
BuildRequires: chrpath
BuildRequires: gcc-c++
BuildRequires: libSDL2-devel >= 2.0.1
%description
This is a portable network library for use with SDL.
%package -n lib%name
Summary: Simple DirectMedia Layer - Portable network library
Group: System/Libraries
%description -n lib%name
This is a portable network library for use with SDL.
%package -n lib%name-devel
Summary: Libraries and includes to develop SDL networked applications.
Group: Development/C
Requires: libSDL2-devel >= 2.0.1
%description -n lib%name-devel
This is a portable network library for use with SDL.
This is the libraries and include files you can use to develop SDL networked applications.
%prep
%setup
%build
./autogen.sh
%configure \
--disable-gui \
--disable-static
%make_build
%install
%makeinstall_std
%__rm -rf %buildroot%_libdir/lib%name.la
chrpath -d %buildroot%_libdir/lib%name-2.0.so.*
%files -n lib%name
%doc CHANGES.txt COPYING.txt README.txt
%_libdir/lib%name-2.0.so.*
%files -n lib%name-devel
%dir %_includedir/SDL2
%_includedir/SDL2/SDL_net.h
%_pkgconfigdir/%name.pc
%_libdir/lib%name.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.0.1
Release: alt1
Summary: Simple DirectMedia Layer - Portable network library
License: zlib
Group: System/Libraries
Url: http://www.libsdl.org/projects/SDL_net/
Packager: Nazarov Denis <nenderus at altlinux.org>
Source0: http://www.libsdl.org/projects/SDL_net/release/%name-%version.tar.gz
BuildRequires: chrpath
BuildRequires: gcc-c++
BuildRequires: libSDL2-devel >= 2.0.1
%description
This is a portable network library for use with SDL.
%package -n lib%name
Summary: Simple DirectMedia Layer - Portable network library
Group: System/Libraries
%description -n lib%name
This is a portable network library for use with SDL.
%package -n lib%name-devel
Summary: Libraries and includes to develop SDL networked applications.
Group: Development/C
Requires: libSDL2-devel >= 2.0.1
%description -n lib%name-devel
This is a portable network library for use with SDL.
This is the libraries and include files you can use to develop SDL networked applications.
%prep
%setup
%build
./autogen.sh
%configure \
--disable-gui \
--disable-static
%make_build
%install
%makeinstall_std
%__rm -rf %buildroot%_libdir/lib%name.la
chrpath -d %buildroot%_libdir/lib%name-2.0.so.*
%files -n lib%name
%doc CHANGES.txt COPYING.txt README.txt
%_libdir/lib%name-2.0.so.*
%files -n lib%name-devel
%dir %_includedir/SDL2
%_includedir/SDL2/SDL_net.h
%_pkgconfigdir/%name.pc
%_libdir/lib%name.so
%changelog
…
Todas as alterações você pod ver aqui