]> git.pld-linux.org Git - packages/firestarter.git/blob - firestarter.spec
- missing post/preun for gconf
[packages/firestarter.git] / firestarter.spec
1 Summary:        A GNOME firewall tool
2 Summary(pl):    Narzêdzie do konfiguracji firewalla dzia³aj±ce w ¶rodowisku GNOME
3 Name:           firestarter
4 Version:        1.0.3
5 Release:        1       
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Source0:        http://dl.sourceforge.net/firestarter/%{name}-%{version}.tar.gz
9 # Source0-md5:  f46860a9e16dac4b693bd05f16370b03
10 Patch0:         %{name}-acfix.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         %{name}-locale_names.patch
13 Patch3:         %{name}-kdesu.patch
14 URL:            http://firestarter.sourceforge.net/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+2-devel >= 1:2.0.0
19 BuildRequires:  libgnome-devel >= 2.0.0
20 BuildRequires:  libgnomeui-devel >= 2.0.0
21 BuildRequires:  libtool
22 BuildRequires:  sed >= 4.0
23 Requires:       iptables
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 FireStarter is an easy-to-use, yet powerful, Linux firewall tool for
28 GNOME. Use it to quickly set up a secure environment using the
29 firewall creation wizard, or use it's monitoring and administrating
30 features with your old firewall scripts.
31
32 %description -l pl
33 FireStarter jest ³atwym w u¿yciu, lecz potê¿nym narzêdziem do
34 konfiguracji firewalla dzia³aj±cym w ¶rodowisku GNOME. Mo¿esz go u¿yæ,
35 by szybko stworzyæ bezpieczne ¶rodowisko korzystaj±c z kreatora
36 tworzenia firewalla, lub skorzystaæ z jego mo¿liwo¶ci monitorowania i
37 administrowania wraz z istniej±cymi regu³ami firewalla.
38
39 %prep
40 %setup -q
41 #%patch0 -p0 # really required?
42 #%patch1 -p1
43 %patch2 -p1
44 #%patch3 -p0
45
46 mv -f po/{no,nb}.po
47
48 %build
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure
54 %{__sed} -i 's/xml::\/etc\//xml::\$PREFIX\/etc\//' Makefile
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         Applicationsdir=%{_desktopdir}
63
64 %find_lang %{name} --with-gnome
65
66 %post
67 %gconf_schema_install /etc/gconf/schemas/firestarter.schemas
68
69 %preun
70 if [ $1 = 0 ]; then
71     %gconf_schema_uninstall /etc/gconf/schemas/firestarter.schemas
72 fi
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc README ChangeLog AUTHORS TODO CREDITS
80 %attr(755,root,root) %{_bindir}/firestarter
81 %{_desktopdir}/firestarter.desktop
82 %{_pixmapsdir}/*
83 %dir %{_sysconfdir}/%{name}
84 %config(noreplace) %{_sysconfdir}/%{name}/*
85 %{_sysconfdir}/gconf/schemas/*
This page took 0.90568 seconds and 3 git commands to generate.