]> git.pld-linux.org Git - packages/iptstate.git/blob - iptstate.spec
074f7776f89d1e72f51f4d2957fc07d25499b310
[packages/iptstate.git] / iptstate.spec
1 Summary:        IP Tables State - like top
2 Summary(pl.UTF-8):      Stan Tablic IP - wyświetlający jak top
3 Name:           iptstate
4 Version:        2.2.3
5 Release:        2
6 License:        zlib/libpng license
7 Group:          Networking/Utilities
8 Source0:        http://downloads.sourceforge.net/iptstate/%{name}-%{version}.tar.bz2
9 # Source0-md5:  5238a0c4c4f764a919aba678051698ec
10 URL:            http://phildev.net/iptstate/
11 BuildRequires:  libnetfilter_conntrack-devel
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  ncurses-devel >= 5.0
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 IP Tables State (iptstate) was originally written to implement the
18 "state top" feature of IP Filter in IP Tables. "State top" displays
19 the states held by your stateful firewall in a top-like manner.
20
21 %description -l pl.UTF-8
22 Stan Tablic IP (iptstate) oryginalnie został napisany, by
23 zaimplementować możliwość ,,state top'' filtra pakietów IP. ,,state
24 top'' wyświetla stany pamiętane przez Twój stateful firewall w sposób
25 podobny do topa.
26
27 %prep
28 %setup -q
29
30 %build
31 %{__make} \
32         CXX="%{__cxx}" \
33         CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti -Wall" \
34         CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
35         LIBS="%{rpmldflags} -lncurses -ltinfo -lnetfilter_conntrack"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
40
41 install %{name} $RPM_BUILD_ROOT%{_sbindir}
42 install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc BUGS CONTRIB Changelog LICENSE README WISHLIST
50 %attr(755,root,root) %{_sbindir}/iptstate
51 %{_mandir}/man8/iptstate.8*
This page took 0.075237 seconds and 2 git commands to generate.