6 Summary: A GNOME firewall tool
7 Summary(pl): Narzêdzie do konfiguracji firewalla dzia³aj±ce w ¶rodowisku GNOME
12 Group: X11/Applications/Networking
13 Source0: http://dl.sourceforge.net/firestarter/%{name}-%{version}.tar.gz
14 # Source0-md5: f46860a9e16dac4b693bd05f16370b03
15 Patch0: %{name}-acfix.patch
16 Patch1: %{name}-desktop.patch
17 Patch2: %{name}-locale_names.patch
18 URL: http://firestarter.sourceforge.net/
19 BuildRequires: autoconf >= 2.50
20 BuildRequires: automake
21 BuildRequires: gettext-devel
22 BuildRequires: gtk+2-devel >= 1:2.0.0
23 BuildRequires: libgnome-devel >= 2.0.0
24 BuildRequires: libgnomeui-devel >= 2.0.0
25 BuildRequires: libtool
26 BuildRequires: sed >= 4.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 FireStarter is an easy-to-use, yet powerful, Linux firewall tool for
32 GNOME. Use it to quickly set up a secure environment using the
33 firewall creation wizard, or use it's monitoring and administrating
34 features with your old firewall scripts.
37 FireStarter jest ³atwym w u¿yciu, lecz potê¿nym narzêdziem do
38 konfiguracji firewalla dzia³aj±cym w ¶rodowisku GNOME. Mo¿esz go u¿yæ,
39 by szybko stworzyæ bezpieczne ¶rodowisko korzystaj±c z kreatora
40 tworzenia firewalla, lub skorzystaæ z jego mo¿liwo¶ci monitorowania i
41 administrowania wraz z istniej±cymi regu³ami firewalla.
45 #%patch0 -p0 # really required?
57 %{__sed} -i 's/xml::\/etc\//xml::\$PREFIX\/etc\//' Makefile
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT \
65 Applicationsdir=%{_desktopdir}
67 install -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/
68 install -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/
69 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/configuration
70 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/events-filter-hosts
71 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/events-filter-ports
72 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/firestarter.sh
73 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/firewall
74 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/sysctl-tuning
75 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/user-pre
76 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/user-post
77 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/allow-from
78 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/allow-service
79 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/forward
80 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/inbound/setup
81 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/allow-from
82 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/allow-service
83 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/allow-to
84 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/deny-from
85 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/deny-service
86 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/deny-to
87 touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/firestarter/outbound/setup
89 %find_lang %{name} --with-gnome
92 %gconf_schema_install firestarter.schemas
93 %update_desktop_database_post
97 %gconf_schema_uninstall firestarter.schemas
101 %update_desktop_database_postun
104 rm -rf $RPM_BUILD_ROOT
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc README ChangeLog AUTHORS TODO CREDITS
109 %attr(755,root,root) %{_bindir}/firestarter
110 %{_desktopdir}/firestarter.desktop
113 %dir %{_sysconfdir}/%{name}
114 %config(noreplace) %{_sysconfdir}/%{name}/*
115 %{_sysconfdir}/gconf/schemas/*