[Jpackage-commits] dist/saxpath/JPP-6 Makefile, NONE, 1.1 branch, NONE, 1.1 build.out, NONE, 1.1 saxpath-1.0-FCS.pom, NONE, 1.1 saxpath.spec, NONE, 1.1 sources, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Wed Dec 15 11:43:02 CET 2010


Update of /home/projects/jpackage/cvs/dist/saxpath/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv22802

Added Files:
	Makefile branch build.out saxpath-1.0-FCS.pom saxpath.spec 
	sources 
Log Message:
1.0-4

--- NEW FILE: build.out ---
saxpath.spec not tagged with tag saxpath-1_0-4_jpp6
make: *** [build-check] Error 1

--- NEW FILE: Makefile ---
# Makefile for source rpm: saxpath
# $Id: Makefile,v 1.1 2010/12/15 10:43:00 jpackage Exp $
NAME := saxpath
SPECFILE = $(firstword $(wildcard *.spec))

include ../common/Makefile.common

--- NEW FILE: saxpath-1.0-FCS.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>saxpath</groupId>
  <artifactId>saxpath</artifactId>
  <version>1.0-FCS</version>
</project>
--- NEW FILE: sources ---
cc95ecc7dfb689a29bd42323490ee702  saxpath-1.0.tar.gz

--- NEW FILE: branch ---
JPP-5

--- NEW FILE: saxpath.spec ---
# Copyright (c) 2000-2010, 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.
#

%define section free

Name:           saxpath
Version:        1.0
Release:        4%{?dist}
Epoch:          0
Summary:        Java XPath engine for use on a variety of XML object models
License:        Open Source
URL:            http://sourceforge.net/projects/saxpath/
Group:          Development/Libraries/Java
Source0:        http://downloads.sourceforge.net/saxpath/saxpath-%{version}.tar.gz
Source1:        http://mirrors.ibiblio.org/pub/mirrors/maven2/saxpath/saxpath/1.0-FCS/saxpath-1.0-FCS.pom
Requires:  java >= 0:1.6.0
#Requires:  xalan-j2
#Requires:  xerces-j2
BuildRequires:  ant
BuildRequires:  ant-trax
BuildRequires:  java-devel >= 0:1.6.0
BuildRequires:  jpackage-utils >= 0:1.7.5
#BuildRequires: xalan-j2
#BuildRequires: xerces-j2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
SAXPath is a Java XPath engine for use on a variety of XML object models
including dom4j, DOM and JavaBeans.

%package manual
Summary:        Manual for %{name}
Group:          Development/Java

%description manual
Documentation for %{name}.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description javadoc
Javadoc for %{name}.

%prep
%setup -q -n %{name}-%{version}-FCS
mkdir -p src/conf
cat >> src/conf/MANIFEST.MF << EOF
Manifest-Version: 1.0
Extension-Name: org.saxpath
Specification-Title: saxpth
Specification-Version: 1.0 FCS
Specification-Vendor: werken digital.
Created-By: Ant 1.4.1
Implementation-Vendor:  werken digital.
Implementation-Version: 1.0
Implementation-Title: saxpath
EOF
find . -name "*.jar" | xargs rm

%build
#export CLASSPATH=$(build-classpath xalan-j2 xerces-j2)
#export OPT_JAR_LIST="jaxp_transform_impl ant/ant-trax xalan-j2-serializer"
%{ant} all

%install
rm -rf $RPM_BUILD_ROOT

install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -p -m 644 build/%{name}.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do \
ln -sf ${jar} ${jar/-%{version}/}; done)

install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build/doc/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}

install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
%add_to_maven_depmap saxpath %{name} %{version} JPP %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%doc build/doc/{*.css,*.html,images,style}
%{_javadir}/*
%{_datadir}/maven2/*
%{_mavendepmapfragdir}/*

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}

%changelog
* Wed Dec 15 2010 Ralph Apel <r.apel at r-apel.de> 0:1.0-4
- First JPP-6 release
- xerces, xalan (B)R dropped

* Wed Aug 06 2008 David Walluck <dwalluck at redhat.com> 0:1.0-3
- add .pom file

* Tue Aug 05 2008 David Walluck <dwalluck at redhat.com> 0:1.0-2
- build for JPackage 5

* Sun May 04 2003 David Walluck <david at anti-microsoft.org> 0:1.0-1jpp
- release




More information about the JPackage-commits mailing list