SPECS: fakepop.spec - optflags

adamg adamg at pld-linux.org
Sun Jun 25 21:47:51 CEST 2006


Author: adamg                        Date: Sun Jun 25 19:47:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- optflags

---- Files affected:
SPECS:
   fakepop.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/fakepop.spec
diff -u SPECS/fakepop.spec:1.2 SPECS/fakepop.spec:1.3
--- SPECS/fakepop.spec:1.2	Sun Jun 25 21:33:04 2006
+++ SPECS/fakepop.spec	Sun Jun 25 21:47:45 2006
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: optflags
 Summary:	Fake POP3 daemon, delivers same messages to all users
 Summary(pl):	Fałszywy demon POP3, dostarczający te same wiadomości do wszystkich
 Name:		fakepop
@@ -10,6 +9,7 @@
 Source0:	http://vztech.com.br/public/software/fakepop/%{name}-src-%{version}.tar.gz
 # Source0-md5:	9872ab86c626e44486ffd6016176713c
 URL:		http://vztech.com.br/public/software/fakepop/
+BuildRequires:	glib2-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,7 +39,8 @@
 
 %build
 %{__make} \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -D_GNU_SOURCE `pkg-config --cflags glib-2.0`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,6 +65,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/06/25 19:47:45  adamg
+- optflags
+
 Revision 1.2  2006/06/25 19:33:04  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fakepop.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list