]> git.pld-linux.org Git - packages/gfcc.git/blob - gfcc.spec
- added regenerate ac/am/lt files,
[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:        4
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Source0:        http://icarus.autostock.co.kr/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 Patch0:         %{name}-inc.patch
12 Patch1:         %{name}-gtkrc.patch
13 Icon:           gfcc.xpm
14 URL:            http://account.joayo.net/~tri/index.html
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gtk+-devel >= 1.2.0
18 BuildRequires:  libipfwc
19 BuildRequires:  libtool
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23
24 %description
25 gfcc (GTK+ Firewall Control Center) is a GTK+ application which can
26 control Linux firewall policies and rules, based on ipchains package.
27
28 %description -l pl
29 gfcc jest aplikacj± opart± na ipchains i wykorzystuj±c± bibliotekê
30 GTK+, która umo¿liwia zarz±dzanie filtrowaniem pakietów IP.
31
32 %prep
33 %setup -q
34 %patch0 -p0
35 %patch1 -p0
36
37 %build
38 rm -f missing
39 libtoolize --copy --force
40 aclocal
41 autoconf
42 automake -a -c -f
43 %configure \
44         --with-ipfwc=/usr/lib
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_applnkdir}/System/Administration,%{_pixmapsdir}}
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/System/Administration
54 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56 gzip -9nf README
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc *.gz
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/gfcc
66 %{_applnkdir}/System/Administration/gfcc.desktop
67 %{_pixmapsdir}/*
This page took 0.74559 seconds and 4 git commands to generate.