-
Notifications
You must be signed in to change notification settings - Fork 11
/
click-packages.spec
60 lines (50 loc) · 1.3 KB
/
click-packages.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
%define name click-packages
%define version 1.4.2
%define release 1
%define packages ip6_natpt models iias
Summary: Click modular router packages
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
License: Various
Group: System/Networking
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Requires: click
%description
This source release consists of several independent "packages" for
the Click modular software router. You will need to compile and run
Click 1.4 before compiling these packages.
These packages were written by independent developers and are
distributed COMPLETELY WITHOUT WARRANTY. In particular, the main Click
developers ARE NOT RESPONSIBLE for these packages. Send mail concerning
these packages to the individual package developers, with a cc: to the
Click mailing list <[email protected]>.
%prep
%setup -q
%build
for i in %{packages} ; do (
cd $i
autoconf
%configure --with-click=%{_prefix}
make
) done
%install
rm -rf $RPM_BUILD_ROOT
for i in %{packages} ; do (
cd $i
%makeinstall
) done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc LICENSE README
%{_datadir}/click
%{_mandir}
%{_libdir}
%changelog
* Tue Apr 20 2004 Mark Huang <[email protected]>
- initial version
# end of file