blob: 1be6d58341761bf3317917181cb5db18ff4771e9 (
plain)
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
61
62
63
64
65
|
Summary: Frontend for iptables
Summary(pl): Frontend dla iptables
Name: kmyfirewall
Version: 0.9.6.2
Release: 1
License: GPL
Group: X11/Applications/Networking
Source0: http://dl.sourceforge.net/kmyfirewall/%{name}-%{version}.tar.bz2
# Source0-md5: 6237add44c0fe8af1f725a2e259ddba3
URL: http://kmyfirewall.sourceforge.net/
BuildRequires: arts-qt-devel
BuildRequires: artsc-devel
BuildRequires: kdelibs-devel >= 9:3.0
BuildRequires: rpmbuild(macros) >= 1.129
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
KMyFirewall attempts to make it easier to setup iptables based
firewalls on Linux systems.
%description -l pl
KMyFirewall ułatwia konfigurację firewalli opartych na Linuksie i
iptables.
%prep
%setup -q
%build
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
kde_htmldir=%{_kdedocdir}
install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
# FIXME (desktop file name)
mv $RPM_BUILD_ROOT%{_datadir}/applnk/System/kmyfirewall.desktop \
$RPM_BUILD_ROOT%{_desktopdir}/kde
# FIXME (category)
echo "Categories=Qt;KDE;System;" >> \
$RPM_BUILD_ROOT%{_desktopdir}/kde/kmyfirewall.desktop
%find_lang %{name} --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%{_libdir}/lib*.la
%{_desktopdir}/*
%{_datadir}/apps/*
%{_datadir}/config/kmyfirewallrc
%{_desktopdir}/kde/*
%{_iconsdir}/*/*/*/*
%{_datadir}/mimelnk/application/kmfrs.desktop
|