SPECS (JSW_3_2): java-service-wrapper.spec - JSW v. 3.2.3 for use with nexus.
pawelz
pawelz at pld-linux.org
Fri Oct 24 10:41:48 CEST 2008
Author: pawelz Date: Fri Oct 24 08:41:47 2008 GMT
Module: SPECS Tag: JSW_3_2
---- Log message:
- JSW v. 3.2.3 for use with nexus.
---- Files affected:
SPECS:
java-service-wrapper.spec (1.3 -> 1.3.2.1)
---- Diffs:
================================================================
Index: SPECS/java-service-wrapper.spec
diff -u SPECS/java-service-wrapper.spec:1.3 SPECS/java-service-wrapper.spec:1.3.2.1
--- SPECS/java-service-wrapper.spec:1.3 Thu Oct 23 10:23:35 2008
+++ SPECS/java-service-wrapper.spec Fri Oct 24 10:41:42 2008
@@ -4,18 +4,15 @@
# - Is it possible to build it for other archs?
# - BRs
-%define ver 3.3.2
-%define ver_patch b
-
%include /usr/lib/rpm/macros.java
Summary: Java Service Wrapper
Name: java-service-wrapper
-Version: %{ver}_%{ver_patch}
+Version: 3.2.3
Release: 0.1
License: GPL v2
Group: Development/Languages/Java
-Source0: http://wrapper.tanukisoftware.org/download/%{ver}-%{ver_patch}/wrapper_%{ver}-%{ver_patch}_src.tar.gz
-# Source0-md5: 20529639806b9ccba33281152073e3cb
+Source0: http://wrapper.tanukisoftware.org/download/%{version}/wrapper_%{version}_src.tar.gz
+# Source0-md5: 1b5eb59f223a58d3b385d555e9cf33fa
URL: http://wrapper.tanukisoftware.org/
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
@@ -36,7 +33,11 @@
Java Service Wrapper helps to run java daemon as System V services.
%prep
-%setup -q -n wrapper_%{ver}-%{ver_patch}_src
+%setup -q -n wrapper_%{version}_src
+
+sed -i 's/gcc/gcc -lm/1' src/c/Makefile-linux-x86-32
+sed -i 's/gcc/gcc -lm/1' src/c/Makefile-linux-x86-64
+# sed -i 's/gcc/gcc -lm/1' src/c/Makefile-linux-ppc
%build
export JAVA_HOME="%{java_home}"
@@ -63,7 +64,7 @@
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/libwrapper.so
+%attr(755,root,root) %{_libdir}/%{name}/libwrapper.so
%doc doc/* conf/wrapper.conf
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -72,6 +73,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3.2.1 2008/10/24 08:41:42 pawelz
+- JSW v. 3.2.3 for use with nexus.
+
Revision 1.3 2008/10/23 08:23:35 pawelz
- added %{_libdir}/%{name}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-service-wrapper.spec?r1=1.3&r2=1.3.2.1&f=u
More information about the pld-cvs-commit
mailing list