]> git.pld-linux.org Git - packages/firestarter.git/commitdiff
- completly rewrited in PLD style.
authorkloczek <kloczek@pld-linux.org>
Thu, 1 Jun 2000 00:32:02 +0000 (00:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    firestarter.spec -> 1.2

firestarter.spec

index e6215e82055e8bafd1bf6ba73bc9f18d4f78440f..7dc8afe67870801edc87c2614bdd967c65a73dc3 100644 (file)
@@ -1,60 +1,50 @@
-%define name   firestarter
-%define version 0.2.2
-%define release 1
-%define prefix  /usr
-
-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
+Summary:       A GNOME firewall tool
+Name:          firestarter
+Version:       0.2.2
+Release:       1
+License:       GPL
+Group:         Applications/Internet
+Source0:       http://download.sourceforge.com/firestarter/firestarter-%{version}.tar.gz
+URL:           http://firestarter.sourceforge.net/
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.5
+BuildRequires: gnome-core-devel
+BuildRequires: gnome-libs-devel >= 1.0.55
+Requires:      ipchains >= 1.3.9
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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
-
-%setup
+%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
+gettextize --copy --force
+LDFLAGS="-s"; export LDFLAGS
+%configure
 
 %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 \
+       Productivitydir=%{_applnkdir}/System
+
+gzip -9nf README ChangeLog AUTHORS TODO CREDITS
+
+#%find_lang %{name}
 
 %clean
 rm -r $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/firestarter.desktop
+%{_datadir}/pixmaps/*
This page took 0.084233 seconds and 4 git commands to generate.