- fix a license Tag (MIT), use non-versioned jar and javadoc dir
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tanukiwrapper?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 09:17:13 UTC 2012 - mvyskocil@suse.cz
|
||||
|
||||
- fix a license Tag (MIT), use non-versioned jar and javadoc dir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 29 12:39:17 UTC 2009 - mvyskocil@suse.cz
|
||||
|
||||
|
@@ -1,71 +1,53 @@
|
||||
#
|
||||
# spec file for package tanukiwrapper
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2000-2006, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name of the JPackage Project nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define section free
|
||||
|
||||
Name: tanukiwrapper
|
||||
Version: 3.2.3
|
||||
Release: 1jpp
|
||||
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.bz2
|
||||
Patch1: %{name}-build.patch
|
||||
Patch2: %{name}-crosslink.patch
|
||||
Patch3: %{name}-makefile-linux-x86-32.patch
|
||||
Name: tanukiwrapper
|
||||
Version: 3.2.3
|
||||
Release: 1jpp
|
||||
Summary: Java Service Wrapper
|
||||
License: MIT
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://wrapper.tanukisoftware.org/
|
||||
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
|
||||
Patch4: %{name}-Makefile-s390-s390x-ppc.patch
|
||||
# The following patch is only needed for GCJ.
|
||||
#Patch5: %{name}-nosun-jvm-64.patch
|
||||
Group: Development/Java
|
||||
Vendor: JPackage Project
|
||||
Distribution: JPackage
|
||||
BuildRequires: jpackage-utils >= 0:1.6
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ant >= 0:1.6.1
|
||||
BuildRequires: ant-nodeps >= 0:1.6.1
|
||||
BuildRequires: ant-junit
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xml-commons-apis
|
||||
%if %defined suse_version
|
||||
BuildRequires: perl
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: unzip
|
||||
%else
|
||||
BuildRequires: %{__perl}
|
||||
BuildRequires: java-javadoc
|
||||
%endif
|
||||
Requires: jpackage-utils >= 0:1.6
|
||||
Obsoletes: %{name}-demo < 0:3.1.2-2jpp
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildRequires: ant >= 1.6.1
|
||||
BuildRequires: ant-junit
|
||||
BuildRequires: ant-nodeps >= 1.6.1
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: jpackage-utils >= 1.6
|
||||
BuildRequires: perl
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xml-commons-apis
|
||||
Requires: jpackage-utils >= 1.6
|
||||
Obsoletes: %{name}-demo < 3.1.2-2jpp
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The Java Service Wrapper is an application which has
|
||||
@@ -144,8 +126,7 @@ bits=32
|
||||
|
||||
# jar
|
||||
%__mkdir_p %{buildroot}%{_javadir}
|
||||
%__install -p -m 0644 lib/wrapper.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do %{__ln_s}f ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
%__install -p -m 0644 lib/wrapper.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
# jni
|
||||
%__install -d -m 755 %{buildroot}%{_libdir}
|
||||
@@ -156,87 +137,27 @@ bits=32
|
||||
%__install -p -m 755 bin/wrapper %{buildroot}%{_sbindir}/%{name}
|
||||
|
||||
# javadoc
|
||||
%__install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
%__cp -a jdoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
%__install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
%__cp -a jdoc/* %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/license.txt *.sample
|
||||
%doc doc/license.txt
|
||||
%{_sbindir}/%{name}
|
||||
%{_libdir}/libwrapper.so
|
||||
%{_javadir}/%{name}*.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%doc doc/license.txt
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%files manual
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc doc/license.txt *.sample
|
||||
%doc doc/*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 17 2006 Ville Skyttä <scop at jpackage.org> - 0:3.2.3-1jpp
|
||||
- 3.2.3.
|
||||
- Drop unneeded xml-commons-apis and xerces-j2 dependencies.
|
||||
- Fix gcj lib name.
|
||||
|
||||
* Fri Oct 13 2006 Ville Skyttä <scop at jpackage.org> - 0:3.2.2-1jpp
|
||||
- 3.2.2.
|
||||
|
||||
* Fri Aug 04 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:3.2.1-2jpp
|
||||
- Add conditional AOT compilation with GCJ.
|
||||
- Add Requires(X) where appropriate.
|
||||
- Add patch to add -lm in x86-32 Makefile.
|
||||
- Conditionally apply patch to avoid use of obscure property
|
||||
not supported on GCJ.
|
||||
- Add missing makefiles for architectures pertinent to FC.
|
||||
|
||||
* Tue Jul 11 2006 Ville Skyttä <scop at jpackage.org> - 0:3.2.1-1jpp
|
||||
- 3.2.1.
|
||||
|
||||
* Mon May 29 2006 Ralph Apel <r.apel at r-apel.de> - 0:3.2.0-2jpp
|
||||
- Bring to JPP-1.7
|
||||
|
||||
* Tue May 9 2006 Ville Skyttä <scop at jpackage.org> - 0:3.2.0-1jpp
|
||||
- 3.2.0.
|
||||
|
||||
* Fri Apr 28 2006 Fernando Nasser <fnasser@redhat.com> - 0:3.1.2-5jpp
|
||||
- First JPP 1.7 build
|
||||
|
||||
* Mon Jul 18 2005 Ville Skyttä <scop at jpackage.org> - 0:3.1.2-4jpp
|
||||
- BuildRequires ant-junit and java-javadoc.
|
||||
- Fix description.
|
||||
|
||||
* Mon Jul 4 2005 Ville Skyttä <scop at jpackage.org> - 0:3.1.2-3jpp
|
||||
- Fix bogus versioned jpackage-utils build dependency.
|
||||
|
||||
* Tue Jun 28 2005 Ville Skyttä <scop at jpackage.org> - 0:3.1.2-2jpp
|
||||
- Fix install locations and build dependencies.
|
||||
- Drop -demo subpackage and test jars, include samples in main package's docs.
|
||||
- Fix build with newer Java/Ant and ant-nodeps not built with Sun's JDK.
|
||||
- Crosslink with local JDK javadocs.
|
||||
|
||||
* Wed Apr 14 2005 David Walluck <david@jpackage.org> 0:3.1.2-1jpp
|
||||
- 3.1.2
|
||||
- fix ant dependencies
|
||||
- change %%section to free
|
||||
- macros
|
||||
|
||||
* Tue Mar 29 2005 David Walluck <david@jpackage.org> 0:3.1.1-5jpp
|
||||
- remove BuildArch
|
||||
|
||||
* Sat Nov 27 2004 Ville Skyttä <scop at jpackage.org> - 0:3.1.1-4jpp
|
||||
- Fix libwrapper.so permissions.
|
||||
|
||||
* Sat Nov 27 2004 Ville Skyttä <scop at jpackage.org> - 0:3.1.1-3jpp
|
||||
- Fix build when no $JAVA_HOME is set.
|
||||
- Honor $RPM_OPT_FLAGS.
|
||||
|
||||
* Fri Sep 03 2004 Fernando Nasser <fnasser@redhat.com> 0:3.1.1-2jpp
|
||||
- Rebuilt with Ant 1.6.2
|
||||
|
||||
* Fri Jul 30 2004 Ralph Apel <r.apel at r-apel.de> 0:3.1.1-1jpp
|
||||
- First JPackage release
|
||||
|
Reference in New Issue
Block a user