summaryrefslogtreecommitdiff
path: root/wimax-tools.spec.in
blob: e07493c15c73daeac717ebd5867df7b8cf608a8b (plain)
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
# 
# Do not Edit! Generated by:
# spectacle version 0.16
# 
# >> macros
# << macros
%define keepstatic 1

Name:       wimax-tools
Summary:    WiMAX Low Level Tools
Version:    @PACKAGE_VERSION@
Release:    1
Group:      Applications/System
License:    BSD
URL:        http://linuxwimax.org
Source0:    wimax-tools-%{version}.tar.gz
Source100:  wimax-tools.yaml
BuildRequires:  pkgconfig(libnl-1)
BuildRequires:  pkgconfig(glib-2.0)

%description
Tools for diagnosing and testing WiMAX connectivity.
These tools work at a very low level using the Linux kernel's WiMAX
stack.
This package does not provide high level connectivity support, but
packages that do so might depend on it.



%package lib
Summary:    Runtime libraries for WiMAX Low Level Tools
Group:      System/Libraries
Requires:   %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

%description lib
Runtime libraries for the WiMAX Low Level Tools.
Other applications use these libraries to gain access to the WiMAX
kernel stack.


%package devel
Summary:    Development files for WiMAX Low Level Tools
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
Development support for the WiMAX Low Level Tools.
This package provides the header files and libraries needed to compile
programs that will use the runtime libraries provided by the WiMAX Low
Level Tools.



%prep
%setup -q -n %{name}-%{version}

# >> setup
# << setup

%build
# >> build pre
# << build pre

%configure 
make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
rm -f %{buildroot}/%{_libdir}/wimax-tools/plugins/wimaxll-pl-*.a
rm -f %{buildroot}/%{_libdir}/wimax-tools/plugins/wimaxll-pl-*.la
rm -f %{buildroot}/%{_libdir}/*.la
# >> install post
# << install post







%post lib -p /sbin/ldconfig

%postun lib -p /sbin/ldconfig




%files
%defattr(-,root,root,-)
# >> files
%{_bindir}/wimaxll-wait-for-state-change
%{_bindir}/wimaxll-rfkill
%{_bindir}/wimaxll-reset
%{_bindir}/wimaxll
%{_bindir}/wimax-tools-version
%{_libdir}/wimax-tools/plugins/wimaxll-pl-*.so
# << files


%files lib
%defattr(-,root,root,-)
# >> files lib
%{_libdir}/libwimaxll.so.*
%{_libdir}/libwimaxll-i2400m.so.*
# << files lib

%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/wimaxll/*
%{_includedir}/wimaxll.h
%{_includedir}/wimaxll-version.h
%{_libdir}/libwimaxll.so
%{_libdir}/libwimaxll.a
%{_libdir}/libwimaxll-i2400m.so
%{_libdir}/libwimaxll-i2400m.a
%{_libdir}/pkgconfig/libwimaxll-0.pc
%{_libdir}/pkgconfig/libwimaxll-i2400m-0.pc
%{_libdir}/pkgconfig/wimaxll-cmd-0.pc
%{_libdir}/wimax-tools/test
# << files devel