]> git.pld-linux.org Git - packages/amap.git/commitdiff
- updated -destdir.patch and -path.patch auto/th/amap-5_2-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 18 Sep 2008 17:14:57 +0000 (17:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated urls
- added -ldflags.patch, -new-homepage.patch and -system-pcre.patch

Changed files:
    amap.spec -> 1.8

amap.spec

index 2d1bbdd6e4e232ea430b7bf176e21aa6c051b55c..c368948bd00e31162bfcd44f8592283851e633b1 100644 (file)
--- a/amap.spec
+++ b/amap.spec
@@ -5,11 +5,15 @@ Version:      5.2
 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)
 
@@ -27,20 +31,24 @@ tworzenie pseudo komunikacji i analizie odpowiedzi.
 %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
This page took 0.107426 seconds and 4 git commands to generate.