File: uml_util.spec.in

package info (click to toggle)
uml-utilities 20070815.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 728 kB
  • sloc: ansic: 3,391; perl: 1,277; makefile: 239; exp: 129; sh: 122
file content (46 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (8)
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
# Generated by RPM Workshop.  v0.1

# Macro definitions
%define ver    __UMLVER__
%define rel    1

Name:      uml_utilities
Version:   %{ver}
Release:   %{rel}
Copyright: GPL
Packager:  Someone
URL:       http://user-mode-linux.sourceforge.net/index.html
Source:    http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
Group:     System
Summary: Utilities for user-mode linux kernel

%description 
This package contains the utilities for user-mode linux for networking, 
COW, etc.


%prep
%setup -n tools

%build
make CFLAGS="-g -Wall -O2" DESTDIR=$RPM_BUILD_ROOT

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%attr(755,root,root)			%{_bindir}/jailtest
#%attr(755,root,root)			%{_bindir}/mkrootfs
%attr(755,root,root)			%{_bindir}/tunctl
%attr(755,root,root)			%{_bindir}/uml_mconsole
%attr(755,root,root)			%{_bindir}/uml_moo
%attr(4755,root,root)			%{_bindir}/uml_net
%attr(755,root,root)			%{_bindir}/uml_switch
%attr(755,root,root)		%dir	%{_libdir}/uml
%attr(755,root,root)			%{_bindir}/uml_mkcow
%attr(755,root,root)			%{_bindir}/uml_watchdog
#%attr(755,root,root)			%{_libdir}/uml/functions
%attr(755,root,root)			%{_libdir}/uml/port-helper

%clean