SPECS: postgresql.spec - add pg_trgm module

arekm arekm at pld-linux.org
Mon Oct 2 09:38:12 CEST 2006


Author: arekm                        Date: Mon Oct  2 07:38:12 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add pg_trgm module

---- Files affected:
SPECS:
   postgresql.spec (1.358 -> 1.359) 

---- Diffs:

================================================================
Index: SPECS/postgresql.spec
diff -u SPECS/postgresql.spec:1.358 SPECS/postgresql.spec:1.359
--- SPECS/postgresql.spec:1.358	Sun Aug  6 19:07:33 2006
+++ SPECS/postgresql.spec	Mon Oct  2 09:38:06 2006
@@ -27,7 +27,7 @@
 Summary(zh_CN):	PostgreSQL żÍť§śËłĚĐňşÍżâÎÄźţ
 Name:		postgresql
 Version:	8.1.4
-Release:	2
+Release:	3
 License:	BSD
 Group:		Applications/Databases
 Source0:	ftp://ftp6.pl.postgresql.org/pub/postgresql/source/v%{version}/%{name}-%{version}.tar.bz2
@@ -608,8 +608,8 @@
 programming language function compiled into a shared object and loaded
 on demand.
 
-To enable PL/PHP procedural language for your database you have to
-run createlang command.
+To enable PL/PHP procedural language for your database you have to run
+createlang command.
 
 %description module-plphp -l pl
 Z dokumentacji PostgreSQL:
@@ -737,6 +737,20 @@
 przeszukiwaniu z dostępem poprzez indeksy:
 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
 
+%package module-pg_trgm
+Summary:	Trigram matching for PostgreSQL
+Summary(pl):	Dopasowanie trigram dla PostgreSQL-a
+Group:		Applications/Databases
+Requires:	%{name} = %{version}-%{release}
+
+%description module-pg_trgm
+Provides functions and index classes for determining the similarity of
+text based on trigram matching.
+
+%description module-pg_trgm -l pl
+Dostarcza funkcje i klasy do rozpoznawania podobnych tekstów bazując
+na ,,trigram matching''.
+
 %prep
 %setup -q -a8
 %patch0 -p1
@@ -789,6 +803,7 @@
 %{__make} -C contrib/lo
 %{__make} -C contrib/pgcrypto
 %{__make} -C contrib/tsearch2
+%{__make} -C contrib/pg_trgm
 %{__make} -C src/tutorial \
 	NO_PGXS=1
 
@@ -831,6 +846,9 @@
 %{__make} -C contrib/tsearch2 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__make} -C contrib/pg_trgm install \
+	DESTDIR=$RPM_BUILD_ROOT
+
 %if %{with php}
 cd src/pl/plphp
 %{__make} install \
@@ -1097,12 +1115,21 @@
 %{_pgsqldir}/untsearch2.sql
 %{_pgsqldir}/*.stop
 
+%files module-pg_trgm
+%defattr(644,root,root,755)
+%doc contrib/pg_trgm/README*
+%attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
+%{_pgsqldir}/pg_trgm.sql
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.359  2006/10/02 07:38:06  arekm
+- add pg_trgm module
+
 Revision 1.358  2006/08/06 17:07:33  wolf
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/postgresql.spec?r1=1.358&r2=1.359&f=u



More information about the pld-cvs-commit mailing list