]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
567ff0bfe1cb030c91369ec222c54b8228852b71
[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
25 %description
26 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can
27 control Linux firewall policies and rules, based on ipchains package.
28
29 %description -l pl
30 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê
31 GTK+, która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
32
33 %description -l pt_BR
34 O gfcc (GTK+ Firewall Control Center) é uma aplicação GTK+ que pode
35 controlar políticas e regras de firewall, baseado no pacote ipchains.
36
37 %prep
38 %setup -q
39 %patch0 -p0
40 %patch1 -p0
41
42 %build
43 rm -f missing
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure \
49         --with-ipfwc=/usr/lib
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_applnkdir}/System/Administration,%{_pixmapsdir}}
55
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/System/Administration
59 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc README
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/gfcc
69 %{_applnkdir}/System/Administration/gfcc.desktop
70 %{_pixmapsdir}/*
This page took 0.082824 seconds and 2 git commands to generate.