]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
- removed %%{name} from Icon (builder must be fixed).
[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:        3
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 Source2:        %{name}.png
13 Patch0:         %{name}-inc.patch
14 Patch1:         %{name}-gtkrc.patch
15 Icon:           gfcc.xpm
16 URL:            http://account.joayo.net/~tri/index.html
17 BuildRequires:  gtk+-devel >= 1.2.0
18 BuildRequires:  libipfwc
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
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ê
29 GTK+, 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 %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,%{_datadir}/pixmaps}
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Administration
48 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
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 %{_applnkdir}/Administration/gfcc.desktop
61 %{_datadir}/pixmaps/*
This page took 0.050493 seconds and 3 git commands to generate.