-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathnemea-framework.spec.in
More file actions
49 lines (38 loc) · 1.36 KB
/
nemea-framework.spec.in
File metadata and controls
49 lines (38 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%if "x%{?python3_pkgversion}" == "x"
%global python3_pkgversion 3
%endif
Name: nemea-framework
Version: @VERSION@
Release: @RPM_RELEASE@
Summary: NEMEA Framework containing base libraries for NEMEA system
URL: https://homeproj.cesnet.cz/rpm/liberouter/devel/
Source: nemea-framework-@[email protected]
License: BSD
Vendor: CESNET, z.s.p.o.
Packager: @USERNAME@ <@USERMAIL@>
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-XXXXXX)
BuildArch: noarch
Provides: nemea-framework
Requires: libtrap nemea-common python%{python3_pkgversion}-nemea-pytrap python%{python3_pkgversion}-nemea-pycommon
%prep
%setup
%build
%install
mkdir -p %{buildroot}/%{_docdir}/nemea/
cp -r examples %{buildroot}/%{_docdir}/nemea/
rm %{buildroot}/%{_docdir}/nemea/examples/Makefile.am
find %{buildroot} -name Makefile.in -exec rm {} +
%description
Package that simplifies installation of libtrap, nemea-common and examples.
%package devel
Summary: NEMEA Framework development package
Group: Liberouter
Requires: libtrap-devel nemea-common-devel unirec python%{python3_pkgversion}-nemea-pytrap python%{python3_pkgversion}-nemea-pycommon
Provides: nemea-framework-devel
%description devel
This package contains header files for libtrap library. Install this package
if you want to develop your own NEMEA module.
This package also installs example modules.
%files
%files devel
%{_docdir}/nemea/examples