]> git.pld-linux.org Git - SPECS.git/blob - kmyfirewall.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kmyfirewall.spec
1 Summary:        Frontend for iptables
2 Summary(pl.UTF-8):      Frontend dla iptables
3 Name:           kmyfirewall
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Source0:        http://dl.sourceforge.net/kmyfirewall/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e28ca900d8d956e32f61e787ad1ede49
10 Patch0:         %{name}-desktop.patch
11 URL:            http://kmyfirewall.sourceforge.net/
12 BuildRequires:  arts-qt-devel
13 BuildRequires:  artsc-devel
14 BuildRequires:  automake
15 BuildRequires:  kdelibs-devel >= 9:3.0
16 BuildRequires:  rpmbuild(macros) >= 1.129
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 KMyFirewall attempts to make it easier to setup iptables based
21 firewalls on Linux systems.
22
23 %description -l pl.UTF-8
24 KMyFirewall ułatwia konfigurację firewalli opartych na Linuksie i
25 iptables.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 cp -f /usr/share/automake/config.sub admin
33 %configure
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT \
41         kde_htmldir=%{_kdedocdir}
42
43 install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
44
45 %find_lang %{name} --with-kde
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post   -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files -f %{name}.lang
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/*
56 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
57 %{_libdir}/lib*.la
58 %attr(755,root,root) %{_libdir}/kde3/lib*.so
59 %{_libdir}/kde3/lib*.la
60 %{_datadir}/apps/* # specify excplicit dirs here (to avoid packaging kde dirs)
61 %{_datadir}/config/kmyfirewallrc
62 %{_desktopdir}/kde/*
63 %{_iconsdir}/*/*/*/*
64 %{_datadir}/mimelnk/application/kmfrs.desktop
65 %{_datadir}/servicetypes/*.desktop
66 %{_datadir}/services/*.desktop
This page took 0.627377 seconds and 3 git commands to generate.