LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File jboss-logging.spec of Package jboss-logging (Project home:SilvioMoioli:spacewalk-java)

# spec file for "jboss-logging"
# Copyright (c) 2014 silvio
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           jboss-logging
Version:        3.1.4.GA
Release:        1
License:        Apache-2.0
Summary:        The JBoss Logging framework
Url:            http://www.jboss.org
Group:          Development/Libraries/Java
Source0:        %{name}.tar.xz
Source1:        build.sh
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  xz
BuildRequires:  java-devel
BuildRequires:  jboss-logging-kit == 1
BuildArch:      noarch
Provides:       mvn(org.jboss.logging:jboss-logging) == 3.1.4.GA
Requires:       java

The JBoss Logging framework.

%setup -q -c -n src
cp -f %{SOURCE1} .
cp -Rf %{_datadir}/tetra ../kit

cd ..
sh src/build.sh

mkdir -p %{buildroot}%{_javadir}
cp -a jboss-logging-3.1.4.GA/target/jboss-logging-3.1.4.GA.jar %{buildroot}%{_javadir}/jboss-logging-3.1.4.GA.jar