SPECS: gpppkill.spec - fixed build, use optflags
qboosh
qboosh at pld-linux.org
Thu Aug 25 06:55:16 CEST 2005
Author: qboosh Date: Thu Aug 25 04:55:16 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed build, use optflags
---- Files affected:
SPECS:
gpppkill.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/gpppkill.spec
diff -u SPECS/gpppkill.spec:1.18 SPECS/gpppkill.spec:1.19
--- SPECS/gpppkill.spec:1.18 Wed Aug 24 23:07:55 2005
+++ SPECS/gpppkill.spec Thu Aug 25 06:55:11 2005
@@ -8,16 +8,16 @@
License: GPL
Vendor: The gpppkill Team
Group: X11/Applications/Networking
-Patch0: %{name}-warning.patch
# Native URL is http: only, but we prefer ftp:
# Source0: http://www.pla.net.py/home/oliver/gpppkill/archive/%{name}-%{version}.tar.gz
Source0: ftp://metalab.unc.edu/pub/Linux/system/network/serial/ppp/%{name}-%{version}.tar.gz
# Source0-md5: 222279e531a57ff21b918d04561146ba
+Patch0: %{name}-warning.patch
URL: http://www.pla.net.py/home/oliver/gpppkill/
-Provides: gpppkill
+BuildRequires: gtk+-devel
+BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
gpppkill is a X11 program for Linux that finishes the ppp connection
if it not receive a minimal amount of bytes during certain time. It
@@ -27,7 +27,7 @@
%description -l pl
gpppkill to program dla X, który kończy połączenie ppp jeśli w danym
okresie czasu nie otrzyma minimalnej ilości bajtów. Ukazuje on również
-ruch ppp w formie grafu. Konfiguruje się go za pomocą GUI. Wykrywa
+ruch ppp w formie wykresu. Konfiguruje się go za pomocą GUI. Wykrywa
wszystkie pppd i pyta, którego użyć.
%prep
@@ -35,21 +35,22 @@
%patch0 -p1
%build
-%{__make}
+%{__make} \
+ CC="%{__cxx}" \
+ CFLAGS="%{rpmcxxflags} -Wall -Wno-unused -Wno-deprecated -fpermissive -DGTK_DISABLE_COMPAT_H"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/bin
+install -d $RPM_BUILD_ROOT%{_bindir}
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+install gpppkill $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGELOG README
+%doc CHANGELOG CONTRIBUTORS README
%attr(755,root,root) %{_bindir}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -58,6 +59,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2005/08/25 04:55:11 qboosh
+- fixed build, use optflags
+
Revision 1.18 2005/08/24 21:07:55 darekr
- cosmetics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gpppkill.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list