c9367ccc25491c4bde8d16179db0a5ca688e3e37
[packages/gfcc.git] / gfcc.spec
1 Summary:        GTK+ firewall control center
2 Summary(pl):    Centrum kontroli firewalla
3 Summary(pt_BR): Centro de controle de firewall GTK+
4 Name:           gfcc
5 Version:        0.7.4
6 Release:        9
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        %{name}-%{version}.tar.gz
10 # Source0-md5:  37644150506d6a76d4b0ec3f0e5a14aa
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-inc.patch
14 Patch1:         %{name}-gtkrc.patch
15 #URL:           http://account.joayo.net/~tri/index.html
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  libipfwc
20 BuildRequires:  libtool
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can
25 control Linux firewall policies and rules, based on ipchains package.
26
27 %description -l pl
28 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê
29 GTK+, która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
30
31 %description -l pt_BR
32 O gfcc (GTK+ Firewall Control Center) é uma aplicação GTK+ que pode
33 controlar políticas e regras de firewall, baseado no pacote ipchains.
34
35 %prep
36 %setup -q
37 %patch0 -p0
38 %patch1 -p0
39
40 %build
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         --with-ipfwc=/usr/%{_lib}
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
57 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README
65 %attr(755,root,root) %{_bindir}/*
66 %{_datadir}/gfcc
67 %{_desktopdir}/gfcc.desktop
68 %{_pixmapsdir}/*
This page took 0.074619 seconds and 2 git commands to generate.