X-Git-Url: http://git.indexdata.com/?p=mp-xquery-moved-to-github.git;a=blobdiff_plain;f=mp-xquery.spec;h=6907fa3b154a16570edd3b0ce123d03ddad6a93a;hp=ea70905dc20014b9e8dd584c1ad1147790f1d4d5;hb=4e46a64b2128bac3960501ff202a701558fa1ce1;hpb=1785a5670125b22bd62ede30657f1fcea6b00fb6 diff --git a/mp-xquery.spec b/mp-xquery.spec index ea70905..6907fa3 100644 --- a/mp-xquery.spec +++ b/mp-xquery.spec @@ -8,21 +8,20 @@ BuildRequires: libmetaproxy6-devel >= 1.4.0 BuildRequires: idzorba BuildRequires: libxslt BuildRequires: docbook-style-xsl -License: proprietary +License: GPL Group: Applications/Internet Vendor: Index Data ApS Source: mp-xquery-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Packager: Adam Dickmeiss URL: http://www.indexdata.com/mp-xquery - -%description -Record conversion module using the Zorba XQuery library - Requires: metaproxy6 Requires: libmetaproxy6 Requires: idzorba +%description +Record conversion module using the Zorba XQuery library + %post if [ -d /usr/lib64/metaproxy6/modules ]; then if [ ! -e /usr/lib64/metaproxy6/modules/metaproxy_filter_xquery.so ]; then @@ -53,7 +52,7 @@ make \ MP_CONFIG=/usr/bin/metaproxy-config %install -make DESTDIR=${RPM_BUILD_ROOT} libdir=%{_libdir} install +make DESTDIR=${RPM_BUILD_ROOT} prefix=%{_prefix} libdir=%{_libdir} install %clean rm -fr ${RPM_BUILD_ROOT} @@ -62,3 +61,4 @@ rm -fr ${RPM_BUILD_ROOT} %defattr(-,root,root) %{_libdir}/mp-xquery/* %{_mandir}/man3/xquery.* +%{_datadir}/mp-xquery