File jsvc.spec of Package jsvc

#
# spec file for package jsvc
#
# Copyright (c) 2024 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:           jsvc
Version:        1.4.0
Release:        %mkrel 1
Summary:        Jsvc makes Java apps run on UNIX more easily.
License:        GPL-3.0+
Group:          System/Servers
Url:            https://commons.apache.org/proper/commons-daemon/jsvc.html
Source0:        %{name}-%{version}.tar.gz
BuildRequires:	java-1.8.0-openjdk-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Jsvc is a set of libraries and applications for
making Java applications run on UNIX more easily.

%global debug_package %{nil}

%prep
%setup -q

%build
./configure --with-java=/usr/lib/jvm/java/
%{__make}

%install
install -D -s -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}

%files
%defattr(-,root,root)
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by