[packages/swish-e] Rel 20

arekm arekm at pld-linux.org
Sat Aug 22 16:30:44 CEST 2026


commit 9ace81ea6459992ac91595468fd467b0370fbaa5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Aug 22 16:30:13 2026 +0200

    Rel 20

 swish-e.spec | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/swish-e.spec b/swish-e.spec
index 6275650..0a4cbe4 100644
--- a/swish-e.spec
+++ b/swish-e.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_with	tests		# do not perform "make test"
 
-%define		rel	19
+%define		rel	20
 %define		snap	2014-09-14
 %define		snapver	%(echo %{snap} | tr -d '-')
 Summary:	Simple Web Indexing System for Humans - Enhanced
@@ -12,13 +12,16 @@ Version:	2.7.0
 Release:	0.%{snapver}.%{rel}
 License:	GPL/LGPL
 Group:		Applications/Text
-#Source0:	http://swish-e.org/distribution/%{name}-%{version}.tar.gz
 Source0:	http://swish-e.org/swish-daily/%{name}-%{version}-%{snap}.tar.gz
 # Source0-md5:	c6b918413382ff61eb5e224c8b4c6f7d
 Patch0:		format-security.patch
 Patch1:		namespace.patch
 Patch2:		zlib-clash.patch
-URL:		http://swish-e.org/
+URL:		https://github.com/swish-e/swish-e
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	db-devel
+BuildRequires:	libtool
 BuildRequires:	libxml2-devel
 BuildRequires:	pcre-devel
 BuildRequires:	rpm-perlprov
@@ -127,6 +130,8 @@ Summary:	Header files for swish-e
 Summary(pl.UTF-8):	Pliki nagłówkowe dla swish-e
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	db-devel
+Requires:	zlib-devel
 
 %description devel
 Header files for swish-e.
@@ -153,6 +158,11 @@ Biblioteka statyczna dla swish-e.
 %patch -P2 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I config
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--with-pcre
 %{__make}
@@ -162,7 +172,7 @@ cd perl
 echo skip | \
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor \
-	CCFLAGS="%{rpmcflags} -I../src" \
+	CCFLAGS="%{rpmcflags} %{rpmcppflags} -I../src" \
 	LIBS="%{rpmldflags} -L../src/.libs -lswish-e" \
 	SWISHINC=../src \
 	SWISHLIBS=-L../src/.libs \
@@ -185,6 +195,9 @@ mv $RPM_BUILD_ROOT%{_docdir}/%{name} %{name}-doc
 	DESTDIR=$RPM_BUILD_ROOT \
 	PREFIX=%{_prefix}
 
+rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SWISH/API/.packlist
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/swish-e.git/commitdiff/9ace81ea6459992ac91595468fd467b0370fbaa5



More information about the pld-cvs-commit mailing list