Projects
openEuler:24.03:SP1:Everything
apache-commons-daemon
_service:tar_scm:apache-commons-daemon.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:apache-commons-daemon.spec of Package apache-commons-daemon
Name: apache-commons-daemon Version: 1.3.3 Release: 2 Summary: Defines API to support an alternative invocation mechanism License: ASL 2.0 URL: http://commons.apache.org/daemon Source0: http://archive.apache.org/dist/commons/daemon/source/commons-daemon-%{version}-src.tar.gz BuildRequires: maven-local java-devel >= 1:1.6.0 jpackage-utils apache-commons-parent BuildRequires: maven-surefire-provider-junit5 xmlto gcc make Provides: apache-commons-daemon-jsvc = %{version}-%{release} jsvc = 1:%{version}-%{release} Obsoletes: apache-commons-daemon-jsvc < %{version}-%{release} Patch0001: apache-commons-daemon-JAVA_OS.patch Patch0002: apache-commons-daemon-secondary.patch Patch0003: apache-commons-daemon-aarch64.patch Patch0004: 0001-Fix-build-failed-on-openEuler-RISC-V.patch Patch0005: 0001-fix-build-error-for-loongarch64.patch %description The scope of this package is to define an API in line with the current Java Platform APIs to support an alternative invocation mechanism which could be used instead of the public static void main(String[]) method. This specification covers the behavior and life cycle of what we define as Java daemons, or, in other words, non interactive Java applications. %package help Requires: jpackage-utils BuildArch: noarch Summary: Help documents for apache-commons-daemon Provides: apache-commons-daemon-javadoc = %{version}-%{release} Obsoletes: apache-commons-daemon-javadoc < %{version}-%{release} %description help The apache-commons-daemon-help package conatins manual pages and API documents for apache-commons-daemon. %prep %autosetup -n commons-daemon-%{version}-src -p1 rm -rf src/samples/build/* cd src/native/unix xmlto man man/jsvc.1.xml %build cd src/native/unix %configure --with-java=%{java_home} make clean %make_build cd - %mvn_file : commons-daemon apache-commons-daemon %mvn_alias : org.apache.commons:commons-daemon %mvn_build -f %install install -Dpm 755 src/native/unix/jsvc $RPM_BUILD_ROOT%{_bindir}/jsvc install -Dpm 644 src/native/unix/jsvc.1 $RPM_BUILD_ROOT%{_mandir}/man1/jsvc.1 %mvn_install %files -f .mfiles %doc LICENSE.txt %{_bindir}/jsvc %files help -f .mfiles-javadoc %doc PROPOSAL.html NOTICE.txt RELEASE-NOTES.txt src/samples src/docs/* %{_mandir}/man1/jsvc.1* %changelog * Tue Jun 04 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.3.3-2 - fix build error for loongarch64 * Tue May 09 2023 Ge Wang <wang__ge@126.com> - 1.3.3-1 - Update to version 1.3.3 * Wed Mar 22 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.3.2-2 - Fix build failed on openEuler RISC-V * Sat Nov 12 2022 hua <dchang@zhixundn.com> 1.3.2-1 - update to 1.3.2 * Mon Dec 2 2019 liujing<liujing144@huawei.com> - 1.0.15-19 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2