]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
- more %%{__make} macros.
[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:  gtk+-devel >= 1.2.0
15 BuildRequires:  libipfwc
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19
20 %description
21 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can control
22 Linux firewall policies and rules, based on ipchains package.
23
24 %description -l pl
25 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê GTK+,
26 która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
27
28 %prep
29 %setup -q
30 %patch0 -p0
31 %patch1 -p0
32
33 %build
34 LDFLAGS="-s"; export LDFLAGS
35 %configure \
36         --with-ipfwc=/usr/lib
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_applnkdir}/Administration
42
43 %{__make} install DESTDIR=$RPM_BUILD_ROOT
44
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration
46
47 gzip -9nf README
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README.gz
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/gfcc
57
58 %{_applnkdir}/Administration/gfcc.desktop
This page took 0.033902 seconds and 4 git commands to generate.