From fc5778eec8824ab5d99f7ec2648d700449fab205 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 14 Nov 2014 09:50:49 +0000 Subject: [PATCH] Rename to idzorba --- IDMETA | 2 +- debian/changelog | 2 +- debian/control | 4 ++-- debian/rules | 2 +- idzorba.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ zorba.spec | 56 ------------------------------------------------------ 6 files changed, 61 insertions(+), 61 deletions(-) create mode 100644 idzorba.spec delete mode 100644 zorba.spec diff --git a/IDMETA b/IDMETA index c4ec3ff..acd0d72 100644 --- a/IDMETA +++ b/IDMETA @@ -1,4 +1,4 @@ -NAME=zorba +NAME=idzorba DEBIAN_DIST="jessie wheezy" UBUNTU_DIST="utopic trusty saucy precise" CENTOS_DIST="centos6" diff --git a/debian/changelog b/debian/changelog index 33308ad..259fd65 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -zorba (3.0-1.indexdata) unstable; urgency=low +idzorba (3.0-1.indexdata) unstable; urgency=low * First Zorba package diff --git a/debian/control b/debian/control index 3be3a80..6290a54 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: zorba +Source: idzorba Section: devel Standards-Version: 3.6.2 Maintainer: Adam Dickmeiss @@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 7), libxslt1-dev, uuid-dev -Package: zorba +Package: idzorba Section: libs Architecture: any Depends: ${shlibs:Depends} diff --git a/debian/rules b/debian/rules index e8673ca..3aa11f3 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,7 @@ override_dh_auto_configure: cd tmp; tar zxf zorba-3.0.tar.gz cd tmp/zorba-3.0; mkdir build; cd build; cmake \ -Wno-dev \ - -D CMAKE_INSTALL_PREFIX=/opt/zorba \ + -D CMAKE_INSTALL_PREFIX=/opt/idzorba \ -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ .. diff --git a/idzorba.spec b/idzorba.spec new file mode 100644 index 0000000..b8bdaaa --- /dev/null +++ b/idzorba.spec @@ -0,0 +1,56 @@ +%define idmetaversion %(. ./IDMETA; printf $VERSION ) +Summary: XQuery Processor +Name: idzorba +Version: %{idmetaversion} +Release: 1.indexdata +BuildRequires: cmake +BuildRequires: gcc gcc-c++ pkgconfig +BuildRequires: wget +BuildRequires: xerces-c-devel +BuildRequires: libcurl-devel +BuildRequires: libxslt-devel +BuildRequires: libuuid-devel +License: Apache +Group: Applications/Internet +Vendor: Index Data ApS +Source: idzorba-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Packager: Adam Dickmeiss +URL: http://www.zorba.io/ + +%description +Zorba - The XQuery Processor developed by the FLWOR Foundation + +Requires: libcurl +Requires: xerces-c + +%prep +%setup +rm -fr tmp +mkdir tmp; cd tmp +wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz +tar zxf zorba-3.0.tar.gz + +%build +cd tmp/zorba-3.0 +mkdir build +cd build +cmake \ + -Wno-dev \ + -D CMAKE_INSTALL_PREFIX=/opt/idzorba \ + -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ + .. +cd ../../.. + +%install +cd tmp/zorba-3.0/build +rm -fr ${RPM_BUILD_ROOT} +make DESTDIR=${RPM_BUILD_ROOT} install +cd ../../.. + +%clean +rm -fr ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +/opt/idzorba diff --git a/zorba.spec b/zorba.spec deleted file mode 100644 index 0247910..0000000 --- a/zorba.spec +++ /dev/null @@ -1,56 +0,0 @@ -%define idmetaversion %(. ./IDMETA; printf $VERSION ) -Summary: XQuery Processor -Name: zorba -Version: %{idmetaversion} -Release: 1.indexdata -BuildRequires: cmake -BuildRequires: gcc gcc-c++ pkgconfig -BuildRequires: wget -BuildRequires: xerces-c-devel -BuildRequires: libcurl-devel -BuildRequires: libxslt-devel -BuildRequires: libuuid-devel -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 -rm -fr tmp -mkdir tmp; cd tmp -wget http://ftp.indexdata.dk/pub/support/zorba-3.0.tar.gz -tar zxf zorba-3.0.tar.gz - -%build -cd tmp/zorba-3.0 -mkdir build -cd build -cmake \ - -Wno-dev \ - -D CMAKE_INSTALL_PREFIX=/opt/zorba \ - -D ZORBA_SUPPRESS_SWIG:BOOL=ON \ - .. -cd ../../.. - -%install -cd tmp/zorba-3.0/build -rm -fr ${RPM_BUILD_ROOT} -make DESTDIR=${RPM_BUILD_ROOT} install -cd ../../.. - -%clean -rm -fr ${RPM_BUILD_ROOT} - -%files -%defattr(-,root,root) -/opt/zorba -- 1.7.10.4