Author: megabajt                     Date: Thu Sep 18 17:15:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated -destdir.patch and -path.patch
- updated urls
- added -ldflags.patch, -new-homepage.patch and -system-pcre.patch

---- Files affected:
SPECS:
   amap.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/amap.spec
diff -u SPECS/amap.spec:1.7 SPECS/amap.spec:1.8
--- SPECS/amap.spec:1.7 Mon Feb 12 22:23:46 2007
+++ SPECS/amap.spec     Thu Sep 18 19:14:57 2008
@@ -6,11 +6,15 @@
 Release:       1
 License:       GPL
 Group:         Networking
-Source0:       http://thc.segfault.net/releases/%{name}-%{version}.tar.gz
+Source0:       http://freeworld.thc.org/releases/%{name}-%{version}.tar.gz
 # Source0-md5: e3b1f5ebd24aac03aacb38ec183eb426
 Patch0:                %{name}-destdir.patch
 Patch1:                %{name}-path.patch
-URL:           http://thc.segfault.net/thc-amap/
+Patch2:                %{name}-ldflags.patch
+Patch3:                %{name}-new-homepage.patch
+Patch4:                %{name}-system-pcre.patch
+URL:           http://www.thc.org/thc-amap/
+BuildRequires: openssl-devel
 BuildRequires: pcre-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,20 +32,24 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 ./configure \
        --prefix=%{_prefix}
-%{__make} strip
+
+%{__make} \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       DATADIR=%{_datadir}/%{name} \
-       PREFIX=%{_prefix} \
-       MANDIR=%{_mandir}/man1
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,6 +67,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/09/18 17:14:57  megabajt
+- updated -destdir.patch and -path.patch
+- updated urls
+- added -ldflags.patch, -new-homepage.patch and -system-pcre.patch
+
 Revision 1.7  2007/02/12 21:23:46  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amap.spec?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to