File fwzs.spec of Package fwzs

# spec file for package fwzs (Version 0.3)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild
# icecream 0

Name:           fwzs
Summary:        Tray applet that allows to switch firewall zones of interfaces
Version:        0.3
Release:        1
License:        GPL v2 only
Group:          System/GUI/Other
Source:         fwzs-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         dbus-1
Requires:       SuSEfirewall2 > 3.6_SVNr220
BuildArch:      noarch

Firewall Zone Switcher consists of a DBus service and a system
tray applet that lets the user switch firewall zones of network

%setup -q

make %{?jobs:-j%jobs}

make DESTDIR="%{buildroot}" install
%find_lang fwzsd
%find_lang fwzsapp
mv fwzsapp.lang %name.lang
cat fwzsd.lang >> %name.lang
rm fwzsd.lang

rm -rf ${RPM_BUILD_ROOT}

%files -f %name.lang
%dir %{_datadir}/PolicyKit
%dir %{_datadir}/PolicyKit/policy
%config %{_sysconfdir}/dbus-1/system.d/org.opensuse.zoneswitcher.conf