- lib64 fix, switched to vfolders
[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:        6
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 Icon:           gfcc.xpm
16 #URL:           http://account.joayo.net/~tri/index.html
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gtk+-devel >= 1.2.0
20 BuildRequires:  libipfwc
21 BuildRequires:  libtool
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can
26 control Linux firewall policies and rules, based on ipchains package.
27
28 %description -l pl
29 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê
30 GTK+, która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
31
32 %description -l pt_BR
33 O gfcc (GTK+ Firewall Control Center) é uma aplicação GTK+ que pode
34 controlar políticas e regras de firewall, baseado no pacote ipchains.
35
36 %prep
37 %setup -q
38 %patch0 -p0
39 %patch1 -p0
40
41 %build
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__automake}
46 %configure \
47         --with-ipfwc=/usr/%{_lib}
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc README
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/gfcc
68 %{_desktopdir}/gfcc.desktop
69 %{_pixmapsdir}/*
This page took 0.100628 seconds and 3 git commands to generate.