]> git.pld-linux.org Git - SPECS.git/blob - ipsorc.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / ipsorc.spec
1 Summary:        IP Sorcery
2 Summary(pl.UTF-8):      Generator pakietów IP
3 Name:           ipsorc
4 Version:        1.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://www.legions.org/~phric/%{name}-%{version}.tar.gz
9 # Source0-md5:  923149398a7e9caf894c4dfa2f982baa
10 Patch0:         %{name}-Makefile.patch
11 URL:            http://www.legions.org/~phric/ipsorcery.html
12 BuildRequires:  gtk+-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 IP Sorcery is a TCP/IP packet generator. It has the ability to send
17 TCP, UDP, and ICMP packets.
18
19 %description -l pl.UTF-8
20 IP Sorcery to generator pakietów TCP/IP. Umie wysyłać pakiety TCP,
21 UDP, oraz ICMP. Obsługuje IPv4 i IPv6.
22
23 %package gtk
24 Summary:        IP Sorcery
25 Summary(pl.UTF-8):      Generator pakietów IP
26 Group:          X11/Applications/Networking
27
28 %description gtk
29 IP Sorcery is a TCP/IP packet generator. It has the ability to send
30 TCP, UDP, and ICMP packets with a GTK+ interface.
31
32 %description gtk -l pl.UTF-8
33 IP Sorcery to generator pakietów TCP/IP. Umie wysyłać pakiety TCP,
34 UDP, oraz ICMP korzystając z graficznego interfejsu GTK+. Obsługuje
35 IPv4 i IPv6.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %{__make} CFLAGS="%{rpmcflags}" CC="%{__cc}" con
43 %{__make} CFLAGS="%{rpmcflags}" CC="%{__cc}" gtk
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_bindir}
48
49 install ipmagic $RPM_BUILD_ROOT%{_bindir}
50 install magic $RPM_BUILD_ROOT%{_bindir}/gipmagic
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README
58 %attr(755,root,root) %{_bindir}/ipmagic
59
60 %files gtk
61 %defattr(644,root,root,755)
62 %doc README
63 %attr(755,root,root) %{_bindir}/gipmagic
This page took 0.941505 seconds and 3 git commands to generate.