]> git.pld-linux.org Git - packages/gfcc.git/blobdiff - gfcc.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/gfcc.git] / gfcc.spec
index ef14f918419bcfc5b925056cfabe008e81cae878..70b66691ab94460d2d212daa33c6d447a24cb954 100644 (file)
--- a/gfcc.spec
+++ b/gfcc.spec
@@ -1,12 +1,11 @@
 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:       3
+Release:       6
 License:       GPL
 Group:         X11/Applications/Networking
-Group(de):     X11/Applikationen/Netzwerkwesen
-Group(pl):     X11/Aplikacje/Sieciowe
 Source0:       http://icarus.autostock.co.kr/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
 Source2:       %{name}.png
@@ -14,8 +13,11 @@ 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
@@ -28,24 +30,33 @@ control Linux firewall policies and rules, based on ipchains package.
 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
 %patch0 -p0
 %patch1 -p0
 
 %build
+rm -f missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --with-ipfwc=/usr/lib
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Administration,%{_datadir}/pixmaps}
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/System/Administration,%{_pixmapsdir}}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration
-install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/System/Administration
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 gzip -9nf README
 
@@ -54,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
-%{_datadir}/pixmaps/*
+%{_applnkdir}/System/Administration/gfcc.desktop
+%{_pixmapsdir}/*
This page took 0.085518 seconds and 4 git commands to generate.