Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37712889
en ru br
ALT Linux repositórios
S:1.68-alt4
5.0: 1.68-alt1

Group :: Sistema/Bibliotecas
RPM: libhawknl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libhawknl
Version: 1.68
Release: alt4

Summary: Game oriented network library
License: LGPLv2+
Group: System/Libraries

URL: http://www.hawksoft.com/hawknl/
%define srcversion %(echo %version | tr -d .)
Source: http://www.sonic.net/~philf/download/HawkNL%{srcversion}src.tar.gz
Patch: libhawknl-64bit.patch

%description
HawkNL is a free, open source, game oriented network API released under
the GNU LGPL.  HawkNL (NL) is a fairly low level API, a wrapper over
Berkeley/Unix Sockets and Winsock.  But NL also provides other features.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
This package contains libraries and header files for developing
applications that use %name.

%prep
%setup -n hawknl%version
%patch -p1

%build
%add_optflags -fno-strict-aliasing
# fixups
subst 's/-soname,NL.so/-soname,libNL.so/; s|ln -s $(LIBDIR)/$(OUTPUT)|ln -s $(OUTPUT)|g' src/makefile.linux
subst 's/-O./%optflags/' src/makefile.linux
%make_build -f makefile.linux

%install
install -d %buildroot{%_libdir,%_includedir/hawknl}
%make -f makefile.linux install LIBDIR=%buildroot%_libdir INCDIR=%buildroot%_includedir/hawknl

# cleanups

rm -f %buildroot%_libdir/{libNL.a,NL*}

%files
%_libdir/libNL.so.*

%files devel
%_includedir/*
%_libdir/libNL.so

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009