]> git.pld-linux.org Git - packages/fakepop.git/commitdiff
- optflags
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 25 Jun 2006 19:47:45 +0000 (19:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fakepop.spec -> 1.3

fakepop.spec

index e42e768241bc2766d2d7b41ba1b00b2b05b43018..f9e7043a0b24adaafd50578f4fad37ddcf0117f1 100644 (file)
@@ -1,4 +1,3 @@
-# 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
@@ -9,6 +8,7 @@ Group:          Applications
 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
@@ -38,7 +38,8 @@ swoje programy pocztowe do u
 
 %build
 %{__make} \
-       CC="%{__cc}"
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -D_GNU_SOURCE `pkg-config --cflags glib-2.0`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.065436 seconds and 4 git commands to generate.