]> git.pld-linux.org Git - packages/gfcc.git/blobdiff - gfcc.spec
- lib64 fix, switched to vfolders
[packages/gfcc.git] / gfcc.spec
index 3736ec0cad4e847cb18603e78f49b3ec359bcdfd..bbf694668b4d885689c2df71a7a14f86449cefa1 100644 (file)
--- a/gfcc.spec
+++ b/gfcc.spec
@@ -1,23 +1,26 @@
 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:       2
+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
+Source0:       %{name}-%{version}.tar.gz
+# Source0-md5: 37644150506d6a76d4b0ec3f0e5a14aa
 Source1:       %{name}.desktop
+Source2:       %{name}.png
 Patch0:                %{name}-inc.patch
 Patch1:                %{name}-gtkrc.patch
-URL:           http://account.joayo.net/~tri/index.html
+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.
@@ -26,33 +29,41 @@ 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
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
-       --with-ipfwc=/usr/lib
+       --with-ipfwc=/usr/%{_lib}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Administration
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration
-
-gzip -9nf README
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz
+%doc README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/gfcc
-
-%{_applnkdir}/Administration/gfcc.desktop
+%{_desktopdir}/gfcc.desktop
+%{_pixmapsdir}/*
This page took 0.154091 seconds and 4 git commands to generate.