-
Notifications
You must be signed in to change notification settings - Fork 2
/
emane-model-lte.spec.in
75 lines (58 loc) · 1.56 KB
/
emane-model-lte.spec.in
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
%global __brp_check_rpaths %{nil}
%define source_date_epoch_from_changelog 0
Summary: EMANE-MODEL-LTE
Name: emane-model-lte
Version: @VERSION@
Release: 1%{?dist}
License: BSD
Group: Applications/System
URL: https://github.com/adjacentlink/emane
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: protobuf emane-libs >= 1.2.3
Prefix: /usr
Vendor: Adjacent Link LLC
%global debug_package %{nil}
%description
EMANE MODEL LTE
%prep
%setup -q
%build
%configure --without-verbose-logging
make
%install
make DESTDIR=${RPM_BUILD_ROOT} install
find ${RPM_BUILD_ROOT} -name '*.a' -exec rm '{}' \;
find ${RPM_BUILD_ROOT} -name '*.la' -exec rm '{}' \;
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/libemanelte.*
%{_datadir}/emane/manifest/*.xml
%doc AUTHORS
%doc COPYING
%doc ChangeLog
%doc NEWS
%doc README
%doc %{_datadir}/emane-model-lte/demo/two_ues/*
%doc %{_datadir}/emane-model-lte/demo/templates/enb/*
%doc %{_datadir}/emane-model-lte/demo/templates/epc/*
%doc %{_datadir}/emane-model-lte/demo/templates/host/*
%doc %{_datadir}/emane-model-lte/demo/templates/ue/*
%doc %{_datadir}/emane-model-lte/demo/templates/common_radio/*
%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: EMANE MODEL LTE library headers.
Group: Development/Libraries
%description devel
Headers necessary to use EMANE MODEL LTE library libemanelte.
%files devel
%defattr(-, root, root)
%dir %{_includedir}/libemanelte
%{_includedir}/libemanelte/*
%{_libdir}/pkgconfig/*