-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlowpan-tools.spec
115 lines (91 loc) · 2.16 KB
/
lowpan-tools.spec
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
# lowpan-tools.spec
#
# Copyright (c) 2009 Dmitry Eremin-Solenikov <[email protected]>
#
%define name lowpan-tools
#%define version 0.1+0.2rc4
#%define srcver 0.2-rc4
%define version 0.3
%define srcver %{version}
%define release 1
# required items
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: Applications/System
# optional items
#Vendor: Dmitry Eremin-Solenikov
#Distribution:
#Icon:
URL: http://linux-zigbee.sf.net/
Packager: Dmitry Eremin-Solenikov <[email protected]>
# source + patches
Source: %{name}-%{srcver}.tar.gz
#Source1:
#Patch:
#Patch1:
# RPM info
#Provides:
#Requires:
#Conflicts:
#Prereq:
BuildRequires: libnl3-devel, python
Prefix: /usr
#BuildRoot: /var/tmp/%{name}-%{srcver}
Summary: Base programs for LoWPAN in Linux
%description
Base programs for LoWPAN in Linux
This package provides all basic prorgrams needed for setting up, monitoring
and tuning LoWPAN networks.
Notice that upstream still flags these tools as experimental software and
says that there is still a number of known bugs and issues. The
software is, however, in productive use at a number of sites and is
working reliably.
%package tests
Summary: Testing utilities for LoWPAN in Linux
Group: Development/Tools
%description tests
Testing utilities for LoWPAN in Linux
This package provides several programs for testing various aspects of
Linux IEEE 802.15.4 stack.
Normal users don't need to install this package.
%package devel
Summary: Include files and examples for writing programming for LoWPAN
Group: Development/Libraries
%description devel
Include files and examples for writing programming for LoWPAN
This package contains several include files to help in development of new
programs for LoWPAN.
%prep
%setup -q -n %{name}-%{srcver}
#%patch0 -p1
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}
%makeinstall
#%pre
#%post
#%preun
#%postun
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin
/usr/sbin
/usr/share/man
%doc README AUTHORS
#%docdir
%dir /var/lib/lowpan-tools
#%config
%files tests
/usr/lib*/%{name}
/usr/lib/python?.?
%files devel
/usr/include
%changelog