2 # Licensed to the Apache Software Foundation (ASF) under one or more
3 # contributor license agreements. See the NOTICE file distributed with
4 # this work for additional information regarding copyright ownership.
5 # The ASF licenses this file to You under the Apache License, Version 2.0
6 # (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 %global package_version @PACKAGE_VERSION@
19 %global package_name @PACKAGE_NAME@
21 Summary: Image Uploader for oVirt Engine
23 Version: @PACKAGE_RPM_VERSION@
24 Release: @PACKAGE_RPM_RELEASE@%{?release_suffix}%{?dist}
26 URL: http://www.ovirt.org
27 Source: http://resources.ovirt.org/releases/3.2/src/%{package_name}-%{package_version}.tar.gz
29 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
32 Requires: ovirt-engine-sdk
33 BuildRequires: python2-devel
34 BuildRequires: gettext
37 Image Uploader tool for oVirt Engine
40 %setup -q -n %{package_name}-%{package_version}
44 --docdir="%{_docdir}/%{package_name}-%{version}" \
45 --disable-python-syntax-check
50 make %{?_smp_mflags} install DESTDIR="%{buildroot}"
55 %config(noreplace) %{_sysconfdir}/ovirt-engine/imageuploader.conf
56 %{_sysconfdir}/ovirt-engine/imageuploader.conf.d/.keep
57 %{python_sitelib}/ovirt_image_uploader/*.py*
58 %{python_sitelib}/ovirt_image_uploader/ovf/*.py*
59 %{_bindir}/engine-image-uploader
63 * Thu Feb 14 2013 Kiril Nesenko <knesenko@redhat.com> - 3.2.0-1
66 * Tue Feb 5 2013 Kiril Nesenko <knesenko@redhat.com> - 3.2.0-0.1.beta
69 * Thu Jan 17 2013 Kiril Nesenko <knesenko@redhat.com> - 1.0.0-0
72 * Thu Mar 8 2012 Keith Robertson <kroberts@redhat.com> - 1.0.0-0