]>
Commit | Line | Data |
---|---|---|
ec6c8d00 | 1 | %define name firestarter |
2 | %define version 0.2.2 | |
3 | %define release 1 | |
4 | %define prefix /usr | |
5 | ||
6 | Summary: A firewall tool GNOME | |
7 | Name: %{name} | |
8 | Version: %{version} | |
9 | Release: %{release} | |
10 | Copyright: GPL | |
11 | Group: Applications/Internet | |
12 | URL: http://firestarter.sourceforge.net | |
13 | ||
14 | Source: http://download.sourceforge.com/firestarter/firestarter-%{version}.tar.gz | |
15 | BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root | |
16 | ||
17 | Docdir: %{prefix}/doc | |
18 | ||
19 | Requires: gtk+ >= 1.2.5 | |
20 | Requires: gnome-libs >= 1.0.55 | |
21 | Requires: ipchains >= 1.3.9 | |
22 | ||
23 | %description | |
24 | FireStarter is an easy-to-use, yet powerful, Linux firewall tool for GNOME. | |
25 | Use it to quickly set up a secure environment using the firewall creation | |
26 | wizard, or use it's monitoring and administrating features with your old | |
27 | firewall scripts. | |
28 | ||
29 | %prep | |
30 | ||
31 | %setup | |
32 | ||
33 | %build | |
34 | CFLAGS="-O2" | |
35 | %ifarch i586 | |
36 | CFLAGS="-O2 -mpentium -march=pentium" | |
37 | %endif | |
38 | %ifarch i686 | |
39 | CFLAGS="-O2 -mpentiumpro -march=pentiumpro" | |
40 | %endif | |
41 | ./configure --prefix=%{prefix} | |
42 | make | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | make prefix=$RPM_BUILD_ROOT%{prefix} install | |
47 | ||
48 | %files | |
49 | %defattr(-,root,root) | |
50 | %doc README ChangeLog AUTHORS TODO COPYING CREDITS | |
51 | %attr(755,root,root) %{prefix}/bin/firestarter | |
52 | %{prefix}/share/gnome/apps/Internet/firestarter.desktop | |
53 | %{prefix}/share/pixmaps/* | |
54 | ||
55 | %clean | |
56 | rm -r $RPM_BUILD_ROOT | |
57 | ||
58 | %changelog | |
59 | * Mon May 29 2000 Tomas Junnonen | |
60 | - First spec file |