]> git.pld-linux.org Git - packages/firestarter.git/blobdiff - firestarter.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[packages/firestarter.git] / firestarter.spec
index e6215e82055e8bafd1bf6ba73bc9f18d4f78440f..aec26f71142af7e258efe4c1353ec63e67c4ce5f 100644 (file)
@@ -1,60 +1,66 @@
-%define name   firestarter
-%define version 0.2.2
-%define release 1
-%define prefix  /usr
+Summary:       A GNOME firewall tool
+Summary(pl):   Narzêdzie do konfiguracji firewalla dzia³aj±ce w ¶rodowisku GNOME
+Name:          firestarter
+Version:       0.8.2
+Release:       1
+License:       GPL
+Group:         X11/Applications/Networking
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/firestarter/%{name}-%{version}.tar.gz
+URL:           http://firestarter.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.5
+BuildRequires: gnome-core-devel
+BuildRequires: gnome-libs-devel >= 1.0.55
+BuildRequires: libtool
+Requires:      ipchains >= 1.3.9
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-Summary: A firewall tool GNOME
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Copyright: GPL
-Group: Applications/Internet
-URL: http://firestarter.sourceforge.net
-
-Source: http://download.sourceforge.com/firestarter/firestarter-%{version}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
-
-Docdir: %{prefix}/doc
-
-Requires: gtk+ >= 1.2.5
-Requires: gnome-libs >= 1.0.55
-Requires: ipchains >= 1.3.9
+%define                _prefix         /usr/X11R6
 
 %description
-FireStarter is an easy-to-use, yet powerful, Linux firewall tool for GNOME.
-Use it to quickly set up a secure environment using the firewall creation
-wizard, or use it's monitoring and administrating features with your old
-firewall scripts.
+FireStarter is an easy-to-use, yet powerful, Linux firewall tool for
+GNOME. Use it to quickly set up a secure environment using the
+firewall creation wizard, or use it's monitoring and administrating
+features with your old firewall scripts.
 
-%prep
+%description -l pl
+FireStarter jest ³atwym w u¿yciu, lecz potê¿nym narzêdziem do
+konfiguracji firewalla dzia³aj±cym w ¶rodowisku GNOME. Mo¿esz go u¿yæ,
+by szybko stworzyæ bezpieczne ¶rodowisko korzystaj±c z kreatora
+tworzenia firewalla, lub skorzystaæ z jego mo¿liwo¶ci monitorowania i
+administrowania wraz z istniej±cymi regu³ami firewalla.
 
-%setup
+%prep
+%setup -q
 
 %build
-CFLAGS="-O2" 
-%ifarch i586
-CFLAGS="-O2 -mpentium -march=pentium" 
-%endif
-%ifarch i686
-CFLAGS="-O2 -mpentiumpro -march=pentiumpro" 
-%endif
-./configure --prefix=%{prefix}
-make
+rm -f missing
+%{__libtoolize}
+aclocal -I macros
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT%{prefix} install
 
-%files
-%defattr(-,root,root)
-%doc README ChangeLog AUTHORS TODO COPYING CREDITS
-%attr(755,root,root) %{prefix}/bin/firestarter
-%{prefix}/share/gnome/apps/Internet/firestarter.desktop
-%{prefix}/share/pixmaps/*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Applicationsdir=%{_applnkdir}/System/Administration
+
+gzip -9nf README ChangeLog AUTHORS TODO CREDITS
+
+%find_lang %{name} --with-gnome
 
 %clean
-rm -r $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
-%changelog
-* Mon May 29 2000 Tomas Junnonen
-- First spec file
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc *gz
+%attr(755,root,root) %{_bindir}/firestarter
+%{_applnkdir}/System/Administration/firestarter.desktop
+%{_pixmapsdir}/*
This page took 0.098827 seconds and 4 git commands to generate.