Sandro Bonazzola has uploaded a new change for review.

Change subject: build: ovirt-release35-1.0.0_alpha1.tar.gz
......................................................................

build: ovirt-release35-1.0.0_alpha1.tar.gz

Provide oVirt pre release repository for oVirt 3.5.0 alpha1

Change-Id: If75f973c737818a113a6e79a641c12773419af45
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M .gitignore
A ovirt-release-3.5/Makefile.am
A ovirt-release-3.5/RPM-GPG-ovirt
A ovirt-release-3.5/autogen.sh
A ovirt-release-3.5/configure.ac
A ovirt-release-3.5/ovirt-el-deps.repo.in
A ovirt-release-3.5/ovirt-f19-deps.repo.in
A ovirt-release-3.5/ovirt-release35.spec.in
A ovirt-release-3.5/ovirt.repo.in
9 files changed, 264 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-release refs/changes/55/27755/1

diff --git a/.gitignore b/.gitignore
index dcb7553..fed004a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,8 +7,8 @@
 configure
 install-sh
 missing
-ovirt-release.spec
 ovirt-release34.spec
+ovirt-release35.spec
 *.tar.gz
 *.repo
 rpmbuild
diff --git a/ovirt-release-3.5/Makefile.am b/ovirt-release-3.5/Makefile.am
new file mode 100644
index 0000000..56a9a65
--- /dev/null
+++ b/ovirt-release-3.5/Makefile.am
@@ -0,0 +1,35 @@
+#
+# ovirt-release -- repo files for oVirt projects
+# Copyright (C) 2012-2014 Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+AUTOMAKE_OPTIONS = foreign 1.9
+
+EXTRA_DIST = \
+       autogen.sh \
+       ovirt-release35.spec \
+       ovirt-release35.spec.in \
+       $(NULL)
+
+pkgdata_DATA = \
+       $(srcdir)/ovirt-el-deps.repo \
+       $(srcdir)/ovirt-f19-deps.repo \
+       $(srcdir)/ovirt.repo \
+       $(NULL)
+
+
+# vim: ts=2
diff --git a/ovirt-release-3.5/RPM-GPG-ovirt b/ovirt-release-3.5/RPM-GPG-ovirt
new file mode 100644
index 0000000..790ecf5
--- /dev/null
+++ b/ovirt-release-3.5/RPM-GPG-ovirt
@@ -0,0 +1,30 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.13 (GNU/Linux)
+
+mQENBFM3+3YBCADTLqGw5hI0whRPeN0hSjpaZ2yNNtVzgqj8/EFQ9IfR7GasHz/4
+kkT3cpKXZygo0AIVEe5dkrcYXF+9C6bowiuGZG+9G6j8MXneunRv7S0mv1mnx7MW
+7S1A6MUJ9tyW+4SukDfXYuhTB4o+GrrXJFfZNZza9LoZ7JLVQiqbZFH8qGfnCKuH
+0c8u8LOnmYIgzPIlFlYpCOSu6TmETjcif+YLWzJlgrg3DMpnxVLQGDYFlAcxKw1g
+MB3IV4s3cYtyAPcH5alKa4VKZ0SZgjvZQb7zs7dm6z2EVUcAyz7Yb6lQpvAM4vKj
+blwjwhOTd0WFpTWhNHLG9cev/aQein+hT2NvABEBAAG0F29WaXJ0IDxpbmZyYUBv
+dmlydC5vcmc+iQE+BBMBAgAoAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUC
+Uz137gUJA8fjWQAKCRCrjE+d/lkMt9W1CAC4rTJ+ExFeFSSzd/CatyCF+ldcmY1x
+VRGzuzgVunOiXEwNLu79gCe1lE6GKElv2IWkZovCWCi8ne4dldDNaZuUw4ihqHeY
+yeRqcMBnlPoFHAW5dOM+YZlPlwb7UDFWVU7silC5DaKeAhVYNYdgHXgTRDdFq9sh
+Sx+6dd4qc1uNajMebTF0TlY8wwhGewkJNBotEYm9ry3a5RgvV1k+JNtQDDC6sgRO
+qBheEAoh/nwMETNhaupXbYtoErB+hSY+FO7VLLpnVCNnnU7VZsiCWSUslHCXAiRt
+tVtSa3G7pSPOBg071h4U7ZHUa4N2LMW/O+rmzWeqTBY9a5rGJMr6B2KxuQENBFM3
++3YBCADW+3urGrfjX7PKteKlaHZxQdg4t2XEyB3u/HG9W/yCwqxE2zc7m+DymIyi
+jOEHattXBMSgp1CXvJICMhqJDCCtqe3EhHfVAUgJOij/vAX6EAU+vi7j/b6OQyuj
+qzSyfZineQLswpuO3nGqH0dXzlQR5DmK+Pkqxi1VQUJWrY/+JvmZ1lhfBdV2NxKY
+UMmbBpD1huh/Y/Qm+7zjUm76Z86NdIWBGYTJlqo7znqusInH2/Ar3z4ie6Rhh6e0
+I2BI7PpL/VWhrL2TKOQrU1XUK3JbEun9iYEX2sTBg88AiYfs+dxI6Gv6oYO2pLsv
+WiJa3kWBBh8g0tG3V59RL5qQY1bbABEBAAGJAR8EGAECAAkFAlM3+3YCGwwACgkQ
+q4xPnf5ZDLe5OAgAqcxzuu6MmEz6HoDZsj57mLoellmGjr6qnCovjzJ8FVPD73z0
+GARPjMeYVGtXB0eZ7WxnpMKroXyrSpHRYky4XYhx73J9iDbZRdO7UUjpQarIRl24
+bW61cMmK7uAxVadpDkJlxlncuukCk7VS3l+3EUK3sus9ChpubPTCWIoyI1/zkNXx
+8C964Rih3DcVHIbApaapqKA1C2pyTsWi6mUBVConpDw3wwfiwmj/Kx7yzaK+mmPh
++GVHu66abA6y9KoRhPboJWg4zReZVpQS5JOoy7bEoOuSIu8TRsmB40dVtI5int5z
+5cIS/KrfrABkIuGOKpTqnRTsMuSlZSsPwcms6Q==
+=EjRa
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/ovirt-release-3.5/autogen.sh b/ovirt-release-3.5/autogen.sh
new file mode 100755
index 0000000..cc5a567
--- /dev/null
+++ b/ovirt-release-3.5/autogen.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# you probably need:
+# - autoconf
+# - automake
+
+autoreconf -ivf
diff --git a/ovirt-release-3.5/configure.ac b/ovirt-release-3.5/configure.ac
new file mode 100644
index 0000000..7b5565d
--- /dev/null
+++ b/ovirt-release-3.5/configure.ac
@@ -0,0 +1,47 @@
+dnl
+dnl ovirt-release -- repo files for oVirt projects
+dnl Copyright (C) 2012-2014 Red Hat, Inc.
+dnl
+dnl This library is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Lesser General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2.1 of the License, or (at your option) any later version.
+dnl
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl Lesser General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with this library; if not, write to the Free Software
+dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 
USA
+dnl
+
+define([VERSION_MAJOR], [1])
+define([VERSION_MINOR], [0])
+define([VERSION_FIX], [0])
+define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX)
+define([VERSION_SUFFIX], [_alpha1])
+define([OVIRT_VERSION_MAJOR], [3])
+define([OVIRT_VERSION_MINOR], [5])
+
+AC_INIT([ovirt-release][]OVIRT_VERSION_MAJOR[]OVIRT_VERSION_MINOR, 
VERSION_NUMBER[]VERSION_SUFFIX, [[email protected]])
+
+PACKAGE_RPM_VERSION="VERSION_NUMBER"
+PACKAGE_RPM_RELEASE="0.0.$(echo VERSION_SUFFIX | sed 's/^_//')"
+OVIRT_SLOT="OVIRT_VERSION_MAJOR.OVIRT_VERSION_MINOR"
+AC_SUBST([PACKAGE_RPM_VERSION])
+AC_SUBST([PACKAGE_RPM_RELEASE])
+AC_SUBST([OVIRT_SLOT])
+
+AC_CONFIG_AUX_DIR([.])
+AM_INIT_AUTOMAKE
+
+AC_CONFIG_FILES([
+       Makefile
+       ovirt-el-deps.repo
+       ovirt-f19-deps.repo
+       ovirt-release35.spec
+       ovirt.repo
+])
+AC_OUTPUT
diff --git a/ovirt-release-3.5/ovirt-el-deps.repo.in 
b/ovirt-release-3.5/ovirt-el-deps.repo.in
new file mode 100644
index 0000000..0b4e5a0
--- /dev/null
+++ b/ovirt-release-3.5/ovirt-el-deps.repo.in
@@ -0,0 +1,31 @@
+[ovirt-@OVIRT_SLOT@-epel]
+name=Extra Packages for Enterprise Linux 6 - $basearch
+#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
+failovermethod=priority
+enabled=1
+includepkgs=epel-release,python-uinput,puppet,python-lockfile,python-cpopen,python-ordereddict,python-pthreading,python-inotify,python-argparse,novnc,python-ply,python-kitchen,python-daemon,python-websockify,livecd-tools,spice-html5,mom
+gpgcheck=1
+gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
+
+[ovirt-@[email protected]]
+name=JPackage 6.0, for generic
+mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=6.0
+enabled=1
+gpgcheck=1
+includepkgs=dom4j,isorelax,jaxen,jdom,msv,msv-xsdlib,relaxngDatatype,servicemix-specs,tomcat5-servlet-2.4-api,ws-jaxme,xalan-j2,xml-commons,xml-commons-jaxp-1.2-apis,xml-commons-resolver11,xom,xpp2,xpp3
+gpgkey=http://www.jpackage.org/jpackage.asc
+
+[ovirt-@OVIRT_SLOT@-glusterfs-epel]
+name=GlusterFS is a clustered file-system capable of scaling to several 
petabytes.
+baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/
+enabled=1
+skip_if_unavailable=1
+gpgcheck=0
+
+[ovirt-@OVIRT_SLOT@-glusterfs-noarch-epel]
+name=GlusterFS is a clustered file-system capable of scaling to several 
petabytes.
+baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch
+enabled=1
+skip_if_unavailable=1
+gpgcheck=0
diff --git a/ovirt-release-3.5/ovirt-f19-deps.repo.in 
b/ovirt-release-3.5/ovirt-f19-deps.repo.in
new file mode 100644
index 0000000..988cdbe
--- /dev/null
+++ b/ovirt-release-3.5/ovirt-f19-deps.repo.in
@@ -0,0 +1,7 @@
+[ovirt-@OVIRT_SLOT@-fedora-virt-preview]
+name=Virtualization packages from Rawhide built for latest Fedora
+baseurl=http://fedorapeople.org/groups/virt/virt-preview/fedora-$releasever/$basearch
+enabled=1
+skip_if_unavailable=1
+gpgcheck=0
+includepkgs=libvirt*
diff --git a/ovirt-release-3.5/ovirt-release35.spec.in 
b/ovirt-release-3.5/ovirt-release35.spec.in
new file mode 100644
index 0000000..15258c1
--- /dev/null
+++ b/ovirt-release-3.5/ovirt-release35.spec.in
@@ -0,0 +1,98 @@
+#
+# ovirt-release -- repo files for oVirt projects
+# Copyright (C) 2012-2014 Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+%global        package_version @PACKAGE_VERSION@
+%global        package_name @PACKAGE_NAME@
+%global        ovirt_version @OVIRT_SLOT@
+
+Name:          %{package_name}
+Version:       @PACKAGE_RPM_VERSION@
+Release:       @PACKAGE_RPM_RELEASE@%{?release_suffix}
+Summary:       oVirt repository configuration
+Group:         System Environment/Base
+
+License:       ASL 2.0
+URL:           http://www.ovirt.org
+Source0:       
http://resources.ovirt.org/pub/src/%{package_name}/%{package_name}-%{package_version}.tar.gz
+Source1:       http://resources.ovirt.org/pub/keys/RPM-GPG-ovirt
+
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}
+BuildArch:     noarch
+
+BuildRequires: automake
+BuildRequires: autoconf
+Requires:              system-release
+Requires:              tar
+
+%description
+This package contains the yum configuration for oVirt repositories
+
+
+%prep
+%setup -q -n "%{package_name}-%{package_version}"
+
+%build
+%configure
+make "%{?_smp_mflags}"
+
+
+%install
+rm -rf "%{buildroot}"
+%make_install
+#Allow ghost files
+install -d 755 "%{buildroot}%{_sysconfdir}/yum.repos.d"
+install -d "%{buildroot}%{_sysconfdir}/pki/rpm-gpg"
+install -m 644 "%{SOURCE1}" 
"%{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-ovirt"
+touch "%{buildroot}%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}.repo"
+touch 
"%{buildroot}%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}-dependencies.repo"
+
+%post
+
+# Adjust repos as per dist and version
+DIST=fc
+#Fedora is good for both Fedora and Generic (and probably other based on 
Fedora)
+#Handling EL exception only (for now)
+DISTVER="$(rpm --eval "%%dist"|cut -c2-)"
+if rpm --eval "%%dist" | grep -qFi 'el'; then
+    DIST=el
+fi
+
+sed \
+    -e "s/@DIST@/${DIST}/g" \
+    <"%{_datadir}/%{package_name}/ovirt.repo" > 
"%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}.repo"
+
+if [ "${DIST}" == "el" ] ; then
+    install -m 644 "%{_datadir}/%{package_name}/ovirt-el-deps.repo" 
"%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}-dependencies.repo"
+elif [ "${DISTVER}" == "fc19" ]; then
+    install -m 644 "%{_datadir}/%{package_name}/ovirt-f19-deps.repo" 
"%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}-dependencies.repo"
+fi
+
+%files
+%defattr(-,root,root,-)
+%{_datadir}/%{package_name}/
+%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-ovirt
+# We do not know what distribution we are installed at,
+# we copy the actual files at %post, but still wants this package to own them.
+# %ghost in this case solves that issue
+%ghost %config(noreplace) 
%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}.repo
+%ghost %config(noreplace) 
%{_sysconfdir}/yum.repos.d/ovirt-%{ovirt_version}-dependencies.repo
+
+%changelog
+* Fri May 16 2014 Sandro Bonazzola <[email protected]> - 
+- Provide oVirt 3.5.0 alpha1 repositories
diff --git a/ovirt-release-3.5/ovirt.repo.in b/ovirt-release-3.5/ovirt.repo.in
new file mode 100644
index 0000000..16dc11a
--- /dev/null
+++ b/ovirt-release-3.5/ovirt.repo.in
@@ -0,0 +1,8 @@
+[ovirt-@OVIRT_SLOT@-pre]
+name=Latest oVirt @OVIRT_SLOT@ Pre Release
+#baseurl=http://resources.ovirt.org/pub/ovirt-@OVIRT_SLOT@_pre/rpm/@DIST@$releasever/
+mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-@OVIRT_SLOT@_pre-@DIST@$releasever
+enabled=1
+skip_if_unavailable=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt


-- 
To view, visit http://gerrit.ovirt.org/27755
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If75f973c737818a113a6e79a641c12773419af45
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-release
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to