File kmyfirewall.spec of Package kmyfirewall
Name: kmyfirewall
Version: 1.1.1
Release: 1
License: GPL-2.0
Summary: A firewall for KDE3
Group: System/GUI/KDE
URL: http://kmyfirewall.sf.net/
Source: %{name}-%{version}.tar.bz2
Source1: kmyfirewall.desktop
Patch0: kmyfirewall-gcc47.patch
BuildRequires: qt3-devel kdebase3-devel fdupes
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%description
A firewall utility for KDE3
%prep
. /etc/opt/kde3/common_options
%setup -q
%patch -P 0 -p1
cp -f %{SOURCE1} kmyfirewall/kmyfirewall.desktop
%build
. /etc/opt/kde3/common_options
./configure $configkde
make %{?jobs:-j%{jobs}}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT/opt/kde3/include
%fdupes $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir /opt/kde3
/opt/kde3/bin/kmyfirewall
#/opt/kde3/include/kmyfirewall/core/*
#/opt/kde3/include/kmyfirewall/kmfwidgets/*
/opt/kde3/%_lib/*
/opt/kde3/share/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc
/opt/kde3/share/apps/kmfipteditorpart/kmfipteditorpartui.rc
/opt/kde3/share/apps/kmfsystray/icons/hicolor/*x*/actions/*
/opt/kde3/share/apps/kmfsystray/pics/*
/opt/kde3/share/apps/kmyfirewall/*
/opt/kde3/share/config.kcfg/kmfconfig.kcfg
/opt/kde3/share/config/kmyfirewallrc
%doc /opt/kde3/share/doc/HTML/en/kmyfirewall/common
%doc /opt/kde3/share/doc/HTML/en/kmyfirewall/index.cache.bz2
%doc /opt/kde3/share/doc/HTML/en/kmyfirewall/index.docbook
/opt/kde3/share/icons/Locolor/*x*/apps/*
/opt/kde3/share/icons/hicolor/*x*/apps/*
/opt/kde3/share/mimelnk/application/*
/opt/kde3/share/services/*
/opt/kde3/share/servicetypes/*
/opt/kde3/share/applications/kde/kmyfirewall.desktop
%dir /opt/kde3/share/apps/kmfgenericinterfacepart
%dir /opt/kde3/share/apps/kmfipteditorpart
%dir /opt/kde3/share/apps/kmfsystray
%dir /opt/kde3/share/apps/kmfsystray/icons
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/16x16/actions
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/22x22
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/22x22/actions
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/32x32
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/32x32/actions
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/48x48
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/48x48/actions
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/64x64
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/64x64/actions
%dir /opt/kde3/share/apps/kmfsystray/pics
%dir /opt/kde3/share/apps/kmyfirewall
%dir /opt/kde3/share/doc/HTML/en/kmyfirewall
%dir /opt/kde3/share/icons/Locolor
%dir /opt/kde3/share/icons/Locolor/16x16
%dir /opt/kde3/share/icons/Locolor/16x16/apps
%dir /opt/kde3/share/icons/Locolor/32x32
%dir /opt/kde3/share/icons/Locolor/32x32/apps
%dir /opt/kde3/share/icons/Locolor/48x48
%dir /opt/kde3/share/icons/Locolor/48x48/apps
%dir /opt/kde3/share/apps/kmfsystray/icons/hicolor/16x16
%changelog