summaryrefslogtreecommitdiff
path: root/kmyfirewall.spec
blob: dec2ca8a41b41814a2c42c1d67499d966191c332 (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
66
Summary:	Frontend for IPTables
Summary(pl):	Frontend dla IPTables
Name:		kmyfirewall
Version:	0.9.6.2
Release:	1
License:	GPL
group:		X11/Applications/Networking
######		Unknown group!
Source0:	http://aleron.dl.sourceforge.net/sourceforge/%{name}/%{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 konfiguracje firewall-i opartych na Linux-ie 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}/*
%{_desktopdir}/*
%{_datadir}/apps/*
%{_datadir}/config/kmyfirewallrc
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%{_libdir}/lib*.la
%{_desktopdir}/kde/*
%{_iconsdir}/*/*/*/*
%{_datadir}/mimelnk/application/kmfrs.desktop