- Initial packaging from jpackage-1.7
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tanukiwrapper?expand=0&rev=2
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
--- ./src/c/Makefile-linux-x86-32.orig 2006-08-04 01:07:48.000000000 -0400
|
||||
+++ ./src/c/Makefile-linux-x86-32 2006-08-04 01:09:35.000000000 -0400
|
||||
Index: src/c/Makefile-linux-x86-32
|
||||
===================================================================
|
||||
--- src/c/Makefile-linux-x86-32.orig 2006-10-17 16:21:14.000000000 +0200
|
||||
+++ src/c/Makefile-linux-x86-32 2009-09-29 14:46:51.250646072 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
if test ! -d .deps; then mkdir .deps; fi
|
||||
|
||||
@@ -9,3 +11,16 @@
|
||||
|
||||
libwrapper.so: $(libwrapper_so_OBJECTS)
|
||||
${COMPILE} -shared -fPIC $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
|
||||
Index: src/c/Makefile-linux-x86-64
|
||||
===================================================================
|
||||
--- src/c/Makefile-linux-x86-64.orig 2006-10-17 16:21:14.000000000 +0200
|
||||
+++ src/c/Makefile-linux-x86-64 2009-09-29 14:55:13.530644493 +0200
|
||||
@@ -26,7 +26,7 @@
|
||||
if test ! -d .deps; then mkdir .deps; fi
|
||||
|
||||
wrapper: $(wrapper_SOURCE)
|
||||
- $(COMPILE) -pthread -lm $(wrapper_SOURCE) -o $(BIN)/wrapper
|
||||
+ $(COMPILE) -pthread -lm $(wrapper_SOURCE) -o $(BIN)/wrapper -lm
|
||||
|
||||
libwrapper.so: $(libwrapper_so_OBJECTS)
|
||||
${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
|
||||
|
@@ -1,25 +0,0 @@
|
||||
--- ./build.xml.old 2006-08-04 02:49:07.000000000 -0400
|
||||
+++ ./build.xml 2006-08-04 02:50:25.000000000 -0400
|
||||
@@ -65,6 +65,7 @@
|
||||
<equals arg1="${os.arch}" arg2="IA32"/>
|
||||
<equals arg1="${os.arch}" arg2="ia64"/>
|
||||
<equals arg1="${os.arch}" arg2="x86"/>
|
||||
+ <equals arg1="${os.arch}" arg2="x86_64"/>
|
||||
<equals arg1="${os.arch}" arg2="i686"/>
|
||||
<equals arg1="${os.arch}" arg2="i586"/>
|
||||
<equals arg1="${os.arch}" arg2="i486"/>
|
||||
@@ -168,12 +169,14 @@
|
||||
</condition>
|
||||
|
||||
<!-- Not all JVMs support the sun.arch.data.model property. Default to 32-bit. -->
|
||||
+ <!--
|
||||
<property name="sun.arch.data.model" value="32"/>
|
||||
<condition property="bits-mismatch" value="true">
|
||||
<not>
|
||||
<equals arg1="${sun.arch.data.model}" arg2="${bits}"/>
|
||||
</not>
|
||||
</condition>
|
||||
+ -->
|
||||
|
||||
<condition property="pre-release.disable" value="true">
|
||||
<not>
|
5
tanukiwrapper.changes
Normal file
5
tanukiwrapper.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 29 12:39:17 UTC 2009 - mvyskocil@suse.cz
|
||||
|
||||
- Initial packaging from jpackage-1.7
|
||||
|
@@ -28,8 +28,6 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
|
||||
|
||||
%define section free
|
||||
|
||||
Name: tanukiwrapper
|
||||
@@ -39,14 +37,14 @@ Summary: Java Service Wrapper
|
||||
Epoch: 0
|
||||
License: BSD
|
||||
URL: http://wrapper.tanukisoftware.org/
|
||||
Source0: http://download.sourceforge.net/wrapper/wrapper_3.2.3_src.tar.gz
|
||||
Source0: http://download.sourceforge.net/wrapper/wrapper_3.2.3_src.tar.bz2
|
||||
Patch1: %{name}-build.patch
|
||||
Patch2: %{name}-crosslink.patch
|
||||
Patch3: %{name}-makefile-linux-x86-32.patch
|
||||
#Add Makefiles so package builds for all FC architectures.
|
||||
Patch4: %{name}-Makefile-s390-s390x-ppc.patch
|
||||
# The following patch is only needed for GCJ.
|
||||
Patch5: %{name}-nosun-jvm-64.patch
|
||||
#Patch5: %{name}-nosun-jvm-64.patch
|
||||
Group: Development/Java
|
||||
Vendor: JPackage Project
|
||||
Distribution: JPackage
|
||||
@@ -69,12 +67,6 @@ Requires: jpackage-utils >= 0:1.6
|
||||
Obsoletes: %{name}-demo < 0:3.1.2-2jpp
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
|
||||
%if %{gcj_support}
|
||||
BuildRequires: java-gcj-compat-devel
|
||||
Requires(post): java-gcj-compat
|
||||
Requires(postun): java-gcj-compat
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Java Service Wrapper is an application which has
|
||||
evolved out of a desire to solve a number of problems
|
||||
@@ -90,19 +82,34 @@ common to many Java applications:
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Development/Documentation
|
||||
Requires(post): %{__rm}
|
||||
Requires(post): /bin/ln
|
||||
Requires(postun): %{__rm}
|
||||
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
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: Development/Documentation
|
||||
|
||||
%description manual
|
||||
%{summary}.
|
||||
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
|
||||
@@ -110,10 +117,6 @@ Group: Development/Documentation
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
# The following patch is only needed for GCJ.
|
||||
%if %{gcj_support}
|
||||
%patch5
|
||||
%endif
|
||||
find . -name "*.jar" -exec %__rm -f {} \;
|
||||
%__perl -p -i -e 's/\r//' doc/AUTHORS
|
||||
%__perl -p -i -e 's|-O3|%optflags|' src/c/Makefile*
|
||||
@@ -155,40 +158,10 @@ bits=32
|
||||
# javadoc
|
||||
%__install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
%__cp -a jdoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
%__ln_s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink
|
||||
|
||||
%if %{gcj_support}
|
||||
%{_bindir}/aot-compile-rpm
|
||||
%endif
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%post javadoc
|
||||
%__rm -f %{_javadocdir}/%{name}
|
||||
%{__ln_s}f %{name}-%{version} %{_javadocdir}/%{name}
|
||||
|
||||
%postun javadoc
|
||||
if [ "$1" = "0" ]; then
|
||||
%__rm -f %{_javadocdir}/%{name}
|
||||
fi
|
||||
|
||||
%if %{gcj_support}
|
||||
%post
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%if %{gcj_support}
|
||||
%postun
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/license.txt *.sample
|
||||
@@ -196,14 +169,9 @@ fi
|
||||
%{_libdir}/libwrapper.so
|
||||
%{_javadir}/%{name}*.jar
|
||||
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/tanukiwrapper-%{version}.jar.*
|
||||
%endif
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%ghost %doc %{_javadocdir}/%{name}
|
||||
|
||||
%files manual
|
||||
%defattr(0644,root,root,0755)
|
||||
|
3
wrapper_3.2.3_src.tar.bz2
Normal file
3
wrapper_3.2.3_src.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf9e192f5b6462d5fba7d91a64cf24aa8a8fa5ba3819b77612d461ea7babc23d
|
||||
size 3266581
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e57b0103959fe3566def64b1dd3fef6537032a7e4b2a7811594f1db7d9f5859
|
||||
size 3409483
|
Reference in New Issue
Block a user