-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrpm.spec.template
58 lines (38 loc) · 1.07 KB
/
rpm.spec.template
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
################################################################
# Name: Spec fuer UDPPingPong
# Autor: Patrick Fedick
################################################################
%define name udppingpong
%define version @VERSION@
%define release @RPM_RELEASE@
%define source @SOURCE@
%define myprefix /
Summary: Tools for measuring udp throughput
Name: %{name}
Version: %{version}
Release: %{release}
License: unknown
Group: Application
# URL:
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{myprefix}
AutoReqProv: yes
%description
Tools for measuring udp throughput:
- pingpong_sender: generates packets of arbitrary size and amount and counts
the answers and throughput
- pingpong_bouncer: recieves the packets on the other side and sends them back.
%prep
%pre
%install
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -m 755 %{source}/pingpong_sender $RPM_BUILD_ROOT/usr/bin
install -m 755 %{source}/pingpong_bouncer $RPM_BUILD_ROOT/usr/bin
%post
%preun
%clean
%files
%defattr(-,root,root)
/usr/bin/pingpong_sender
/usr/bin/pingpong_bouncer
%changelog