79 lines
3.0 KiB
RPMSpec
79 lines
3.0 KiB
RPMSpec
Name: enet2
|
|
Version: 1.3.11
|
|
Release: 2mamba
|
|
Summary: A relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://enet.bespin.org/
|
|
Source: http://enet.bespin.org/download/enet-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets.
|
|
ENet omits certain higher level networking features such as authentication, lobbying, server discovery, encryption, or other similar tasks that are particularly application specific so that the library remains flexible, portable, and easily embeddable.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: A relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets
|
|
|
|
%description -n lib%{name}
|
|
ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets.
|
|
ENet omits certain higher level networking features such as authentication, lobbying, server discovery, encryption, or other similar tasks that are particularly application specific so that the library remains flexible, portable, and easily embeddable.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n enet-%{version}
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libenet.so.*
|
|
%doc LICENSE
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/enet
|
|
%{_includedir}/enet/*.h
|
|
%{_libdir}/libenet.a
|
|
%{_libdir}/libenet.so
|
|
%{_libdir}/pkgconfig/libenet.pc
|
|
%doc ChangeLog README
|
|
|
|
%changelog
|
|
* Sun Oct 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.11-2mamba
|
|
- legacy package
|
|
|
|
* Sat Mar 01 2014 Automatic Build System <autodist@mambasoft.it> 1.3.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 28 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.10-1mamba
|
|
- package created using the webbuild interface
|