Accepting request 914390 from home:mnhauke:monitoring
- Create -common subpackage OBS-URL: https://build.opensuse.org/request/show/914390 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/ndpi?expand=0&rev=24
This commit is contained in:
parent
85c6ff090c
commit
08bb2e3737
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 26 09:15:54 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Create -common subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 22 12:48:59 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
Sun Aug 22 12:48:59 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
24
ndpi.spec
24
ndpi.spec
@ -57,6 +57,7 @@ available only on the paid version of OpenDPI.
|
|||||||
%package -n libndpi%{sover}
|
%package -n libndpi%{sover}
|
||||||
Summary: Extensible deep packet inspection library
|
Summary: Extensible deep packet inspection library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Requires: ndpi-common
|
||||||
|
|
||||||
%description -n libndpi%{sover}
|
%description -n libndpi%{sover}
|
||||||
nDPI is a ntop-maintained superset of the OpenDPI library. It extends
|
nDPI is a ntop-maintained superset of the OpenDPI library. It extends
|
||||||
@ -92,6 +93,17 @@ available only on the paid version of OpenDPI.
|
|||||||
|
|
||||||
This package contains the ndpiReader binary.
|
This package contains the ndpiReader binary.
|
||||||
|
|
||||||
|
%package -n ndpi-common
|
||||||
|
Summary: Common files used by nDPI
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n ndpi-common
|
||||||
|
nDPI is a ntop-maintained superset of the OpenDPI library. It extends
|
||||||
|
the original library by adding new protocols that are otherwise
|
||||||
|
available only on the paid version of OpenDPI.
|
||||||
|
|
||||||
|
This package contains common files used by nDPI.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n nDPI-%{version}
|
%setup -q -n nDPI-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -110,16 +122,12 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install PREFIX=%{_prefix} prefix=%{_prefix} libdir=%{_libdir}
|
%make_install PREFIX=%{_prefix} prefix=%{_prefix} libdir=%{_libdir}
|
||||||
rm -f %{buildroot}/%{_libdir}/libndpi.a
|
rm -f %{buildroot}/%{_libdir}/libndpi.a
|
||||||
rm -rf %{buildroot}/%{_sbindir}/ndpi
|
rm -f %{buildroot}/%{_sbindir}/ndpi
|
||||||
|
|
||||||
%post -n libndpi%{sover} -p /sbin/ldconfig
|
%post -n libndpi%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libndpi%{sover} -p /sbin/ldconfig
|
%postun -n libndpi%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libndpi%{sover}
|
%files -n libndpi%{sover}
|
||||||
%license COPYING
|
|
||||||
%doc CHANGELOG.md README.md README.nDPI README.protocols
|
|
||||||
%doc doc/nDPI_QuickStartGuide.pdf
|
|
||||||
%{_datadir}/%{name}
|
|
||||||
%{_libdir}/libndpi.so.%{sover}*
|
%{_libdir}/libndpi.so.%{sover}*
|
||||||
|
|
||||||
%files -n libndpi-devel
|
%files -n libndpi-devel
|
||||||
@ -131,4 +139,10 @@ rm -rf %{buildroot}/%{_sbindir}/ndpi
|
|||||||
%{_bindir}/ndpiReader
|
%{_bindir}/ndpiReader
|
||||||
%doc wireshark
|
%doc wireshark
|
||||||
|
|
||||||
|
%files -n ndpi-common
|
||||||
|
%license COPYING
|
||||||
|
%doc CHANGELOG.md README.md README.nDPI README.protocols
|
||||||
|
%doc doc/nDPI_QuickStartGuide.pdf
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user