]> git.pld-linux.org Git - packages/gfcc.git/blobdiff - gfcc.spec
- lib64 fix, switched to vfolders
[packages/gfcc.git] / gfcc.spec
index 2cd992be1b3fde191a9b3520773cc712fabb004b..bbf694668b4d885689c2df71a7a14f86449cefa1 100644 (file)
--- a/gfcc.spec
+++ b/gfcc.spec
@@ -1,17 +1,19 @@
 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:       4
+Release:       6
 License:       GPL
 Group:         X11/Applications/Networking
-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
 Icon:          gfcc.xpm
-URL:           http://account.joayo.net/~tri/index.html
+#URL:          http://account.joayo.net/~tri/index.html
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gtk+-devel >= 1.2.0
@@ -19,8 +21,6 @@ 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.
@@ -29,39 +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
-rm -f missing
-libtoolize --copy --force
-aclocal
-autoconf
-automake -a -c -f
+%{__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}/System/Administration,%{_pixmapsdir}}
+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}/System/Administration
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-gzip -9nf README
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/gfcc
-%{_applnkdir}/System/Administration/gfcc.desktop
+%{_desktopdir}/gfcc.desktop
 %{_pixmapsdir}/*
This page took 0.064995 seconds and 4 git commands to generate.