mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
adding script to make this easier to consume
This commit is contained in:
parent
aa9174a05f
commit
e21c36ec0e
22
docs/publican-cloudstack/gen_rpm.sh
Executable file
22
docs/publican-cloudstack/gen_rpm.sh
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information#
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
cd ../
|
||||||
|
tar -czf ~/rpmbuild/SOURCES/publican-cloudstack.tgz publican-cloudstack
|
||||||
|
cp -a publican-cloudstack/publican-cloudstack.spec ~/rpmbuild/SPECS/
|
||||||
|
rpmbuild -ba ~/rpmbuild/SPECS/publican-cloudstack.spec
|
||||||
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
Name: publican-cloudstack
|
Name: publican-cloudstack
|
||||||
Summary: Common documentation files for Apache %{brand}
|
Summary: Common documentation files for Apache %{brand}
|
||||||
Version: 0.3
|
Version: 0.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: ASLv2
|
License: ASLv2
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Buildarch: noarch
|
Buildarch: noarch
|
||||||
Source: %{name}-%{version}.tgz
|
Source: %{name}.tgz
|
||||||
Requires: publican >= 1.99
|
Requires: publican >= 1.99
|
||||||
BuildRequires: publican >= 1.99
|
BuildRequires: publican >= 1.99
|
||||||
URL: http://cloudstack.org
|
URL: http://cloudstack.org
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user