]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
- release 2: use new rpm automation.
[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:        2
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Group(de):      X11/Applikationen/Netzwerkwesen
9 Group(pl):      X11/Aplikacje/Sieciowe
10 Source0:        http://icarus.autostock.co.kr/%{name}-%{version}.tar.gz
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-inc.patch
13 Patch1:         %{name}-gtkrc.patch
14 URL:            http://account.joayo.net/~tri/index.html
15 BuildRequires:  gtk+-devel >= 1.2.0
16 BuildRequires:  libipfwc
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20
21 %description
22 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can
23 control Linux firewall policies and rules, based on ipchains package.
24
25 %description -l pl
26 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê
27 GTK+, która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
28
29 %prep
30 %setup -q
31 %patch0 -p0
32 %patch1 -p0
33
34 %build
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.035235 seconds and 4 git commands to generate.