Group :: System/Libraries
RPM: libgnet
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: libgnet
Version: 2.0.5
Release: alt1
Summary: Libgnet, a network library
License: LGPL
Group: System/Libraries
URL: http://www.gnetlibrary.org/
Source: http://www.gnetlibrary.org/src/gnet-%version.tar.gz
# Automatically added by buildreq on Thu Mar 18 2004
BuildRequires: glib2-devel glibc-devel-static pkgconfig
%package devel
Summary: Header files for the Gnet library
Group: Development/C
Requires: %name = %version-%release, glib-devel
%package devel-static
Summary: Static Gnet library
Group: Development/C
Requires: %name-devel = %version-%release, glib-devel-static
%description
Gnet is a simple network library. It is writen in C, object-oriented,
and built upon glib. It is intended to be small, fast, easy-to-use,
and easy to port. The interface is similar to the interface for
Java's network library. Major features are:
+ tcp 'client' sockets;
+ tcp 'server' sockets;
+ non-blocking tcp sockets;
+ udp;
+ ip multicast;
+ internet address abstraction.
%description devel
Gnet is a simple network library. It is writen in C, object-oriented,
and built upon glib.
This package allows you to develop applications that use the Gnet library.
%description devel-static
Gnet is a simple network library. It is writen in C, object-oriented,
and built upon glib.
This package allows you to develop statically linked applications that
use the Gnet library.
%prep
%setup -q -n gnet-%version
%build
%configure --with-html-dir=$RPM_BUILD_ROOT/%_docdir
%make_build
%install
%makeinstall
%make -C examples clean
%__rm -f examples/Makefile*
%__rm -Rf examples/.deps/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_libdir/gnet-2.0/
%_libdir/pkgconfig/*.pc
%_includedir/*
%_datadir/aclocal/*
%doc AUTHORS ChangeLog HACKING NEWS README TODO doc/html examples
%files devel-static
%_libdir/*.a
%changelog
…
Full changelog you can see here
Version: 2.0.5
Release: alt1
Summary: Libgnet, a network library
License: LGPL
Group: System/Libraries
URL: http://www.gnetlibrary.org/
Source: http://www.gnetlibrary.org/src/gnet-%version.tar.gz
# Automatically added by buildreq on Thu Mar 18 2004
BuildRequires: glib2-devel glibc-devel-static pkgconfig
%package devel
Summary: Header files for the Gnet library
Group: Development/C
Requires: %name = %version-%release, glib-devel
%package devel-static
Summary: Static Gnet library
Group: Development/C
Requires: %name-devel = %version-%release, glib-devel-static
%description
Gnet is a simple network library. It is writen in C, object-oriented,
and built upon glib. It is intended to be small, fast, easy-to-use,
and easy to port. The interface is similar to the interface for
Java's network library. Major features are:
+ tcp 'client' sockets;
+ tcp 'server' sockets;
+ non-blocking tcp sockets;
+ udp;
+ ip multicast;
+ internet address abstraction.
%description devel
Gnet is a simple network library. It is writen in C, object-oriented,
and built upon glib.
This package allows you to develop applications that use the Gnet library.
%description devel-static
Gnet is a simple network library. It is writen in C, object-oriented,
and built upon glib.
This package allows you to develop statically linked applications that
use the Gnet library.
%prep
%setup -q -n gnet-%version
%build
%configure --with-html-dir=$RPM_BUILD_ROOT/%_docdir
%make_build
%install
%makeinstall
%make -C examples clean
%__rm -f examples/Makefile*
%__rm -Rf examples/.deps/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_libdir/gnet-2.0/
%_libdir/pkgconfig/*.pc
%_includedir/*
%_datadir/aclocal/*
%doc AUTHORS ChangeLog HACKING NEWS README TODO doc/html examples
%files devel-static
%_libdir/*.a
%changelog
…
Full changelog you can see here