Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.1:Update
tanukiwrapper
tanukiwrapper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tanukiwrapper.spec of Package tanukiwrapper
# # spec file for package tanukiwrapper # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2000-2006, JPackage Project # # 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: tanukiwrapper Version: 3.5.25 Release: 0 Summary: Java Service Wrapper License: MIT Group: Development/Libraries/Java Url: http://wrapper.tanukisoftware.org/ Source0: http://download.sourceforge.net/wrapper/wrapper_%{version}_src.tar.gz Patch1: %{name}-build.patch Patch3: %{name}-Makefiles.patch Patch7: tanukiwrapper-ppc64le.patch BuildRequires: ant >= 1.6.1 BuildRequires: ant-junit BuildRequires: cunit-devel BuildRequires: glibc-devel BuildRequires: java-devel BuildRequires: javapackages-tools BuildRequires: junit BuildRequires: perl BuildRequires: unzip BuildRequires: xerces-j2 BuildRequires: xml-commons-apis Requires: javapackages-tools BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Java Service Wrapper is an application which has evolved out of a desire to solve a number of problems common to many Java applications: - Run as a Windows Service or Unix Daemon - Application Reliability - Standard, Out of the Box Scripting - On Demand Restarts - Flexible Configuration - Ease Application installations - Logging %package manual Summary: Documents for %{name} Group: Documentation/Other %description manual The Java Service Wrapper is an application which has evolved out of a desire to solve a number of problems common to many Java applications: - Run as a Windows Service or Unix Daemon - Application Reliability - Standard, Out of the Box Scripting - On Demand Restarts - Flexible Configuration - Ease Application installations - Logging %prep %setup -q -n wrapper_%{version}_src %patch1 %patch3 -p1 %patch7 -p1 find . -name "*.jar" -exec rm -f {} \; perl -p -i -e 's/\r//' doc/AUTHORS perl -p -i -e 's|-O3|%{optflags}|' src/c/Makefile* perl -p -e \ 's|=\.\./lib/wrapper\.jar$|=%{_javadir}/%{name}.jar| ; s|=\.\./lib$|=%{_libdir}|' \ src/conf/wrapper.conf.in > wrapper.conf.sample perl -p -e \ 's|"\./wrapper"|"%{_sbindir}/%{name}"| ; s|"\.\./conf/wrapper\.conf"|"/path/to/wrapper.conf"|' \ src/bin/sh.script.in > script.sh.sample %build export CLASSPATH=$(build-classpath ant junit xerces-j2 xml-commons-apis) %ifarch x86_64 ia64 ppc64 ppc64le sparc64 s390x aarch64 bits=64 %else bits=32 %endif ant -Dbuild.sysclasspath=first -Djdk.api=%{_javadocdir}/java -Dbits=$bits \ main %install # jar mkdir -p %{buildroot}%{_javadir} install -p -m 0644 lib/wrapper.jar %{buildroot}%{_javadir}/%{name}.jar # jni install -d -m 755 %{buildroot}%{_libdir} install -p -m 755 lib/libwrapper.so %{buildroot}%{_libdir} # commands install -d -m 755 %{buildroot}%{_sbindir} install -p -m 755 bin/wrapper %{buildroot}%{_sbindir}/%{name} %files %defattr(-,root,root,-) %doc doc/wrapper-community-license-1.1.txt %{_sbindir}/%{name} %{_libdir}/libwrapper.so %{_javadir}/%{name}.jar %files manual %defattr(0644,root,root,0755) %doc doc/wrapper-community-license-1.1.txt *.sample %doc doc/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor