2024-01-06 07:34:40 +01:00
|
|
|
Name: ndpi
|
2024-08-07 19:16:32 +02:00
|
|
|
Version: 4.10
|
2024-01-06 07:34:40 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library for deep-packet inspection
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/ntop/nDPI
|
|
|
|
Source: https://github.com/ntop/nDPI.git/%{version}/nDPI-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpcap-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
nDPI® is an open source LGPLv3 library for deep-packet inspection. Based on OpenDPI it includes ntop extensions. We have tried to push them into the OpenDPI source tree but nobody answered emails so we have decided to create our own source tree
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%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 nDPI-%{version}
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
%build
|
2024-01-06 07:34:42 +01:00
|
|
|
%configure \
|
|
|
|
--prefix=/
|
|
|
|
|
2024-01-06 07:34:40 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall libdir=%{_libdir}
|
|
|
|
|
2024-01-06 07:34:42 +01:00
|
|
|
# FIXME: workaround since 4.6
|
|
|
|
install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_datadir}
|
|
|
|
mv %{buildroot}/bin/* %{buildroot}%{_bindir}/
|
|
|
|
mv %{buildroot}/share/* %{buildroot}%{_datadir}/
|
|
|
|
|
2024-01-06 07:34:40 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/ndpiReader
|
|
|
|
%dir %{_datadir}/ndpi
|
|
|
|
%{_datadir}/ndpi/ndpi*.txt
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libndpi.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/ndpi
|
|
|
|
%{_includedir}/ndpi/ndpi_*.h
|
|
|
|
%{_libdir}/libndpi.a
|
|
|
|
%{_libdir}/libndpi.so
|
|
|
|
%{_libdir}/pkgconfig/libndpi.pc
|
2024-01-06 07:34:40 +01:00
|
|
|
%doc README.md
|
2024-01-06 07:34:40 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-08-07 19:16:32 +02:00
|
|
|
* Wed Aug 07 2024 Automatic Build System <autodist@openmamba.org> 4.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:34:43 +01:00
|
|
|
* Tue Oct 24 2023 Automatic Build System <autodist@mambasoft.it> 4.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:34:42 +01:00
|
|
|
* Mon Feb 13 2023 Automatic Build System <autodist@mambasoft.it> 4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:34:40 +01:00
|
|
|
* Sun Jul 10 2022 Automatic Build System <autodist@mambasoft.it> 4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:34:40 +01:00
|
|
|
* Mon Feb 07 2022 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:34:40 +01:00
|
|
|
* Sat Jul 31 2021 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:34:40 +01:00
|
|
|
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4-1mamba
|
|
|
|
- package created using the webbuild interface
|