X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gfcc.spec;h=b14cbe060c313e4f34717324ed78e5e1de7d7998;hb=6d3a209e94278b04267a2179fd3e5fa3166e7327;hp=163fc815831089c5b58f7410e0f82fc78c908a59;hpb=4afd5505f2930f4a321998d3ccaeb07802667f59;p=packages%2Fgfcc.git diff --git a/gfcc.spec b/gfcc.spec index 163fc81..b14cbe0 100644 --- a/gfcc.spec +++ b/gfcc.spec @@ -1,29 +1,38 @@ Summary: GTK firewall control center Summary(pl): Centrum kontroli firewalla +Summary(pt_BR): Centro de controle de firewall GTK Name: gfcc Version: 0.7.4 -Release: 1 +Release: 6 License: GPL Group: X11/Applications/Networking -Group(pl): X11/Aplikacje/Sieciowe Source0: http://icarus.autostock.co.kr/%{name}-%{version}.tar.gz -Source1: gfcc.desktop -Patch0: gfcc-inc.patch -Patch1: gfcc-gtkrc.patch +Source1: %{name}.desktop +Source2: %{name}.png +Patch0: %{name}-inc.patch +Patch1: %{name}-gtkrc.patch +Icon: gfcc.xpm URL: http://account.joayo.net/~tri/index.html +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gtk+-devel >= 1.2.0 BuildRequires: libipfwc +BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %description -gfcc (GTK+ Firewall Control Center) is a GTK+ application which can control -Linux firewall policies and rules, based on ipchains package. +gfcc (GTK+ Firewall Control Center) is a GTK+ application which can +control Linux firewall policies and rules, based on ipchains package. %description -l pl -gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê GTK+, -która umo¿liwia zarz±dzanie filtrowaniem pakietów IP. +gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê +GTK+, która umo¿liwia zarz±dzanie filtrowaniem pakietów IP. + +%description -l pt_BR +O gfcc (GTK+ Firewall Control Center) é uma aplicação GTK+ que pode +controlar políticas e regras de firewall, baseado no pacote ipchains. %prep %setup -q @@ -31,18 +40,23 @@ kt %patch1 -p0 %build -LDFLAGS="-s"; export LDFLAGS +rm -f missing +libtoolize --copy --force +aclocal +autoconf +automake -a -c -f %configure \ --with-ipfwc=/usr/lib -make +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_applnkdir}/Administration +install -d $RPM_BUILD_ROOT{%{_applnkdir}/System/Administration,%{_pixmapsdir}} -make install DESTDIR=$RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT -install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/System/Administration +install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} gzip -9nf README @@ -51,8 +65,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README.gz +%doc *.gz %attr(755,root,root) %{_bindir}/* %{_datadir}/gfcc - -%{_applnkdir}/Administration/gfcc.desktop +%{_applnkdir}/System/Administration/gfcc.desktop +%{_pixmapsdir}/*