adding script to make this easier to consume

This commit is contained in:
David Nalley 2012-09-09 16:44:44 -04:00 committed by Alex Huang
parent aa9174a05f
commit e21c36ec0e
2 changed files with 24 additions and 2 deletions

View 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

View File

@ -2,13 +2,13 @@
Name: publican-cloudstack
Summary: Common documentation files for Apache %{brand}
Version: 0.3
Version: 0.4
Release: 1%{?dist}
License: ASLv2
Group: Applications/Text
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Buildarch: noarch
Source: %{name}-%{version}.tgz
Source: %{name}.tgz
Requires: publican >= 1.99
BuildRequires: publican >= 1.99
URL: http://cloudstack.org