]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
cd2f63302d955a0d5233b36d513f5f24009daa67
[packages/gfcc.git] / gfcc.spec
1 Summary:        GTK firewall control center
2 Summary(pl):    Centrum kontroli firewalla
3 Name:           gfcc
4 Version:        0.7.2.1
5 Release:        1
6 Copyright:      GPL
7 Group:          X11/Networking/Utilities
8 Group(pl):      X11/Sieciowe/Narzêdzia
9 Source0:        http://account.joayo.net/~tri/%{name}-%{version}.tar.gz
10 Source1:        gfcc.desktop
11 Patch0:         gfcc-inc.patch
12 Patch1:         gfcc-gtkrc.patch
13 URL:            http://account.joayo.net/~tri/index.html
14 BuildRequires:  XFree86-devel
15 BuildRequires:  gtk+-devel >= 1.2.0
16 BuildRequires:  glib-devel >= 1.2.0
17 BuildRequires:  libipfwc
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %define         _prefix         /usr/X11R6
21 %define         _applnkdir      %{_datadir}/applnk
22
23 %description
24 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can
25 control Linux firewall policies and rules, based on ipchains package.
26
27 %description -l pl
28 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê GTK+,
29 która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
30
31 %prep
32 %setup -q
33 %patch0 -p0
34 %patch1 -p0
35
36 %build
37 LDFLAGS="-s"; export LDFLAGS
38 %configure \
39         --with-ipfwc=/usr/lib
40 make
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_applnkdir}/Administration
45
46 make install DESTDIR=$RPM_BUILD_ROOT
47
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration
49
50 gzip -9nf README
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README.gz
58 %attr(755,root,root) %{_bindir}/*
59 %{_datadir}/gfcc
60
61 %{_applnkdir}/Administration/gfcc.desktop
This page took 0.063118 seconds and 2 git commands to generate.