SPECS: libxslt-plugin-regexp.spec (NEW) - new

glen glen at pld-linux.org
Thu Jan 24 18:53:34 CET 2008


Author: glen                         Date: Thu Jan 24 17:53:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   libxslt-plugin-regexp.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libxslt-plugin-regexp.spec
diff -u /dev/null SPECS/libxslt-plugin-regexp.spec:1.1
--- /dev/null	Thu Jan 24 18:53:34 2008
+++ SPECS/libxslt-plugin-regexp.spec	Thu Jan 24 18:53:29 2008
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	A libxslt plugin providing regexp extension functions
+Name:		libxslt-plugin-regexp
+Version:	0.3
+Release:	0.2
+License:	MIT
+Group:		Development/Libraries
+Source0:	ftp://xmlsoft.org/libxml2/plugins/%{name}-%{version}.tar.gz
+# Source0-md5:	7e394d4b6cb1d51d91e14d3fbac78cb7
+BuildRequires:	libxslt-devel >= 1.1.13
+BuildRequires:	pcre-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		plugindir	%(xslt-config --plugins 2>/dev/null)
+
+%description
+A libxslt plugin providing the extension functions regexp:test,
+regexp.match, and regexp:replace. This plugin uses PCRE
+<http://www.pcre.org>.
+
+These functions are documented at <http://www.exslt.org/regexp/>.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	pkglibdir=%{plugindir} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{plugindir}/exslt_org_regular_expressions.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{plugindir}/exslt_org_regular_expressions.so
+
+%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.1  2008-01-24 17:53:29  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list