]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
- changed all BuildRoot definitons
[packages/gfcc.git] / gfcc.spec
1 Summary:        GTK firewall control center
2 Summary(pl):    Centrum kontroli firewalla
3 Name:           gfcc
4 Version:        0.7.4
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Group(pl):      X11/Aplikacje/Sieciowe
9 Source0:        http://icarus.autostock.co.kr/%{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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21
22 %description
23 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can control
24 Linux firewall policies and rules, based on ipchains package.
25
26 %description -l pl
27 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê GTK+,
28 która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
29
30 %prep
31 %setup -q
32 %patch0 -p0
33 %patch1 -p0
34
35 %build
36 LDFLAGS="-s"; export LDFLAGS
37 %configure \
38         --with-ipfwc=/usr/lib
39 make
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_applnkdir}/Administration
44
45 make install DESTDIR=$RPM_BUILD_ROOT
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration
48
49 gzip -9nf README
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README.gz
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/gfcc
59
60 %{_applnkdir}/Administration/gfcc.desktop
This page took 0.43831 seconds and 4 git commands to generate.