forked from ago/wimax-ns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wimax.spec.in
137 lines (116 loc) · 3.13 KB
/
wimax.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#
# Do not Edit! Generated by:
# spectacle version 0.16
#
# >> macros
# << macros
Name: wimax
Summary: WiMAX Network Service for the Intel 2400m
Version: @PACKAGE_VERSION@
Release: 0
Group: Applications/System
License: BSD
URL: http://linuxwimax.org
Source0: wimax-%{version}.tar.gz
#Source100: wimax.yaml
BuildRequires: pkgconfig(libeap0) >= 0.7
BuildRequires: pkgconfig(libwimaxll-0)
BuildRequires: zlib-devel
Obsoletes: WiMAX-Network-Service
%description
User space daemon for the Intel 2400m Wireless WiMAX Link.
This daemon takes care of handling network scan, discovery and
management. It provides an API to link against and command line
utilities.
%package devel
Summary: Development files for WiMAX Low Level Tools
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: WiMAX-Network-Service-devel
%description devel
Header files and libraries needed to link to the WiMAX Network Service
This provides an implementation of the WiMAX Common API as documented
in http://linuxwimax.org/Download.
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%configure --disable-static \
--with-libwimaxll=/usr \
--with-i2400m=/usr \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--prefix=/usr
make %{?jobs:-j%jobs}
%postun
ldconfig
%post
ldconfig
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
rm -f %{buildroot}/%{_libdir}/*.la
# >> install post
# << install post
%files
%defattr(-,root,root,-)
%config /etc/logrotate.d/wimax.conf
%config /etc/modprobe.d/i2400m.conf
%config /etc/udev/rules.d/iwmxsdk.rules
%config /etc/wimax/config.xml
/usr/bin/wimaxcu
/usr/bin/wimaxd
/usr/bin/wimax_monitor
/usr/lib/libiWmxSdk.so.0
/usr/lib/libiWmxSdk.so.0.0.0
/usr/lib/libWmxInstrument.so.0
/usr/lib/libWmxInstrument.so.0.0.0
/usr/share/man/man1/wimaxcu.1.gz
/usr/share/man/man1/wimaxd.1.gz
/usr/share/wimax
#/usr/share/wimax/DefaultTracesAndMonitors.xml
#/usr/share/wimax/dhcp_renew.sh
#/usr/share/wimax/supplicant_cert.pem
#/usr/share/wimax/supplicant_key.pem
#/usr/share/wimax/Ver_info.bin
/var/lib/wimax
%files devel
%defattr(-,root,root,-)
# >> files devel
# << files devel
/usr/include/wimax/CoexAPI.h
/usr/include/wimax/WiMaxAPIEx.h
/usr/include/wimax/WiMaxAPI.h
/usr/include/wimax/wimax_consts.h
/usr/include/wimax/WiMaxError.h
/usr/include/wimax/wimax_osal_basictypes.h
/usr/include/wimax/wimax_osal_error.h
/usr/include/wimax/wimax_osal_linux_types.h
/usr/include/wimax/wimax_osal_types.h
/usr/include/wimax/WiMaxType.h
/usr/include/wimax/WiMaxTypesEx.h
/usr/include/wimax/windows_error.h
/usr/include/wimax/wmxSDK_Apdo_3.h
/usr/include/wimax/wmxSDK_Apdo_Cmn.h
/usr/include/wimax/wmxSDK_Apdo_Ctrl.h
/usr/lib/libiWmxSdk.so
/usr/lib/libWmxInstrument.so
/usr/lib/pkgconfig/libiWmxSdk-0.pc