SPECS: libapreq2.spec - version 2.0.9 rc1, killed glue/perl hack

radek radek at pld-linux.org
Fri Sep 8 12:55:39 CEST 2006


Author: radek                        Date: Fri Sep  8 10:55:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- version 2.0.9 rc1, killed glue/perl hack

---- Files affected:
SPECS:
   libapreq2.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/libapreq2.spec
diff -u SPECS/libapreq2.spec:1.32 SPECS/libapreq2.spec:1.33
--- SPECS/libapreq2.spec:1.32	Thu Aug 17 16:01:08 2006
+++ SPECS/libapreq2.spec	Fri Sep  8 12:55:33 2006
@@ -9,12 +9,14 @@
 Summary:	Apache Request Library
 Summary(pl):	Biblioteka żądań Apache
 Name:		libapreq2
-Version:	2.08
-Release:	1
+%define	_rc	-rc1
+Version:	2.09
+Release:	0.%(echo %{_rc} | sed -e s/-//).1
 License:	Apache Group
 Group:		Libraries
-Source0:	http://www.apache.org/dist/httpd/libapreq/%{name}-%{version}.tar.gz
-# Source0-md5:	9fb3deec448f74c455d4ffc13846ea9f
+#Source0:	http://www.apache.org/dist/httpd/libapreq/%{name}-%{version}%{_rc}.tar.gz
+Source0:	http://people.apache.org/~pgollucci/apreq2/%{name}-%{version}%{_rc}.tar.gz
+# Source0-md5:	fe69ccbd7198b0f7b4d6436c4d2cea12
 Source1:	apache-mod_apreq2.conf
 URL:		http://httpd.apache.org/apreq/
 BuildRequires:	%{apxs}
@@ -95,7 +97,7 @@
 Moduł mod_apreq2 do serwera Apache.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_rc}
 
 %build
 %{__libtoolize}
@@ -104,29 +106,19 @@
 %{__autoconf}
 %{__automake}
 %configure \
+	--with-mm-opts="INSTALLDIRS=vendor" \
 	--enable-perl-glue \
 	--with-apache2-apxs=%{apxs} \
 	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
-cd glue/perl
-%{__perl} Makefile.PL \
-	INSTALLDIRS=vendor
-%{__make} \
-	OPTIMIZE="%{rpmcflags}"
-cd ../..
-# TODO: mod_apreq
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__make} -C glue/perl install \
-	DESTDIR=$RPM_BUILD_ROOT
-
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/APR/{Request.pod,Request/*.pod}
 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/mod_apreq2.{a,la}
 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/76_mod_apreq2.conf
@@ -191,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2006/09/08 10:55:33  radek
+- version 2.0.9 rc1, killed glue/perl hack
+
 Revision 1.32  2006/08/17 14:01:08  radek
 - version 2.08
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libapreq2.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list