Cleanup spec file
This commit is contained in:
parent
180ab4f2d8
commit
38bf950831
@ -1,64 +1,21 @@
|
||||
# Copyright (c) 2000-2005, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name of the JPackage Project nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
%global parent plexus
|
||||
%global subname resources
|
||||
%global namedversion 1.0-alpha-7
|
||||
|
||||
Name: %{parent}-%{subname}
|
||||
Name: plexus-resources
|
||||
Version: 1.0
|
||||
Release: 0.17.a7%{?dist}
|
||||
Release: 0.18.a7%{?dist}
|
||||
Summary: Plexus Resource Manager
|
||||
License: MIT
|
||||
Group: Development/Tools
|
||||
URL: https://github.com/codehaus-plexus/plexus-resources
|
||||
BuildArch: noarch
|
||||
|
||||
# svn export http://svn.codehaus.org/plexus/plexus-components/tags/plexus-resources-1.0-alpha-7/
|
||||
# tar caf plexus-resources-1.0-alpha-7-src.tar.xz plexus-resources-1.0-alpha-7
|
||||
Source0: %{name}-%{version}-alpha-7-src.tar.xz
|
||||
|
||||
BuildRequires: jpackage-utils >= 0:1.7.3
|
||||
BuildRequires: java-devel >= 0:1.5.0
|
||||
BuildRequires: ant >= 0:1.6
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: maven-compiler-plugin
|
||||
BuildRequires: maven-install-plugin
|
||||
BuildRequires: maven-jar-plugin
|
||||
BuildRequires: maven-javadoc-plugin
|
||||
BuildRequires: maven-release-plugin
|
||||
BuildRequires: maven-resources-plugin
|
||||
BuildRequires: maven-surefire-plugin
|
||||
BuildRequires: maven-surefire-provider-junit
|
||||
BuildRequires: plexus-containers-container-default
|
||||
BuildRequires: plexus-utils
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
|
||||
%description
|
||||
The Plexus project seeks to create end-to-end developer tools for
|
||||
@ -70,7 +27,6 @@ is like a J2EE application server, without all the baggage.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
@ -79,7 +35,7 @@ API documentation for %{name}.
|
||||
%setup -q -n %{name}-%{namedversion}
|
||||
|
||||
%build
|
||||
%mvn_file : %{parent}/%{subname}
|
||||
%mvn_file : plexus/resources
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
@ -90,6 +46,9 @@ API documentation for %{name}.
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.18.a7
|
||||
- Cleanup spec file
|
||||
|
||||
* Wed Apr 1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.17.a7
|
||||
- Update upstream URL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user