From 953ffaf3e4176ab84b647110c4b53e7ad7f295d9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:06:42 +0100 Subject: [PATCH] legacy package [release 1.3.11-2mamba;Sun Oct 22 2023] --- README.md | 3 +++ enet2.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 enet2.spec diff --git a/README.md b/README.md index 7359fc0..31531de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # enet2 +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. + diff --git a/enet2.spec b/enet2.spec new file mode 100644 index 0000000..3924a21 --- /dev/null +++ b/enet2.spec @@ -0,0 +1,78 @@ +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 +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 1.3.11-2mamba +- legacy package + +* Sat Mar 01 2014 Automatic Build System 1.3.11-1mamba +- automatic version update by autodist + +* Thu Nov 28 2013 Silvan Calarco 1.3.10-1mamba +- package created using the webbuild interface