📄 gnet.spec
字号:
# Note that this is NOT a relocatable package%define ver 1.1.8%define rel 1%define prefix /usrSummary: Gnet, a network libraryName: gnetVersion: %verRelease: %relCopyright: LGPLGroup: Libraries/NetworkSource0: gnet-%{PACKAGE_VERSION}.tar.gzURL: http://www.gnetlibrary.orgBuildRoot: /var/tmp/gnet-%{PACKAGE_VERSION}-rootDocdir: %{prefix}/docPackager: Xavier Nicolovici <nicolovi@club-internet.fr>Requires: glib >= 1.2%descriptionGnet 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.Features: * TCP "client" and "server" sockets * UDP and IP Multicast * Internet address abstraction * Asynchronous socket IO * Asynchronous DNS lookup * Byte packing and unpacking * URLs (Experimental) * Server and Conn objects (Experimental)Comments and questions should be sent to gnet@gnetlibrary.org.The Gnet homepage is at <http://www.gnetlibrary.org>.%package develSummary: Header files for the Gnet libraryGroup: Development/Libraries%description develGnet 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 Gnetlibrary.%prep%setup%build%ifarch alpha CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --host=alpha-redhat-linux\ --prefix=%{prefix} \ --enable-debug=yes \ --with-gnu-ld%else CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \ --prefix=%{prefix} \ --enable-debug=yes \ --with-gnu-ld %endifmake%installrm -rf $RPM_BUILD_ROOTmake prefix=$RPM_BUILD_ROOT%{prefix} install%post/sbin/ldconfig%postun/sbin/ldconfig%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-, root, root)%doc README COPYING ChangeLog NEWS TODO AUTHORS INSTALL HACKING%{prefix}/bin/gnet-config%{prefix}/share/aclocal/gnet.m4%doc doc/html%{prefix}/lib/libgnet-1.1.so.*%files devel%defattr(-, root, root)%{prefix}/include/gnet%{prefix}/lib/*a%{prefix}/lib/gnet%{prefix}/lib/lib*.so%changelog* Thu Oct 26 2000 Benjamin Kahn <xkahn@helixcode.com>- Added missing file in lib/gnet* Mon Feb 28 2000 David Helder <dhelder@umich.edu>- Updated for version 1.0* Sat Jan 15 2000 Xavier Nicolovici <nicolovi@club-internet.fr>- Moved lib*.so and lib*a to the devel package- Creation of a gnet.spec.in for autoconf process* Wed Jan 14 2000 Xavier Nicolovici <nicolovi@club-internet.fr>- HTML documentation has been move to /usr/doc/gnet-{version}/html* Thu Jan 13 2000 Xavier Nicolovici <nicolovi@club-internet.fr>- First try at an RPM
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -