File idm-console-framework.spec of Package idm-console-framework

#
# spec file for package idm-console-framework
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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:           idm-console-framework
Version:        1.1.17
Release:        0
Summary:        Identity Management Console Framework
Group:          System/Libraries
License:        LGPL-2.0
Url:            http://port389.org

Source:         http://www.port389.org/binaries/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  ant >= 1.6.2
BuildRequires:  java-devel >= 1.6.0
BuildRequires:  ldapjdk
BuildRequires:  mozilla-jss >= 4.3.2
# Urge use of OpenJDK for runtime
Requires:       java >= 1.6.0
Requires:       ldapjdk
Requires:       mozilla-jss >= 4.3.2

%description
A Java Management Console framework used for remote server management.

%prep
%setup -q

%build
%ant \
    -Dlib.dir=%{_libdir} \
    -Djss.local.location=%{_libdir}/java \
    -Dbuilt.dir=`pwd`/built \
    -Dclassdest=%{_javadir} 

%install
export NO_BRP_CHECK_BYTECODE_VERSION=true
install -d %{buildroot}%{_javadir}
install -m644 built/release/jars/idm-console-* %{buildroot}%{_javadir}

%files
%defattr(-,root,root)
%doc LICENSE
%{_javadir}/idm-console-base.jar
%{_javadir}/idm-console-mcc.jar
%{_javadir}/idm-console-mcc_en.jar
%{_javadir}/idm-console-nmclf.jar
%{_javadir}/idm-console-nmclf_en.jar

%changelog
openSUSE Build Service is sponsored by