X-Git-Url: http://git.indexdata.com/?p=mp-xquery-moved-to-github.git;a=blobdiff_plain;f=zorba.spec;fp=zorba.spec;h=3f1c503536226a06c9c2a0244ff9514c1a0d85a5;hp=0000000000000000000000000000000000000000;hb=c40c009e50d98dc7ad4bdeb7e68277a271e7f00a;hpb=ddacfd0150fdbd22ac3d49ab39ae681f91f70dec diff --git a/zorba.spec b/zorba.spec new file mode 100644 index 0000000..3f1c503 --- /dev/null +++ b/zorba.spec @@ -0,0 +1,50 @@ +Summary: XQuery Processor +Name: zorba +Version: 3.0 +Release: 1.indexdata +BuildRequires: gcc gcc-c++ pkgconfig +BuildRequires: wget +BuildRequires: xerces-c-devel +BuildRequires: libcurl-devel +BuildRequires: libedit-devel +BuildRequires: libxslt-devel +BuildRequires: bison +License: Apache +Group: Applications/Internet +Vendor: Index Data ApS +Source: zorba-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Packager: Adam Dickmeiss +URL: http://www.indexdata.com/mp-xquery + +%description +Zorba - The XQuery Processor developed by the FLWOR Foundation + +Requires: libcurl +Requires: xerces-c + +%prep +%setup + +%build +mkdir build +cd build +/opt/cmake/bin/cmake \ + -Wno-dev \ + -D CMAKE_INSTALL_PREFIX=/opt/zorba \ + -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ + .. +cd .. + +%install +cd build +rm -fr ${RPM_BUILD_ROOT} +make DESTDIR=${RPM_BUILD_ROOT} install +cd .. + +%clean +rm -fr ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +/opt