Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7198dd4790 | ||
|
|
f840d7d7b2 | ||
|
|
1e817ef27c | ||
|
|
88d6bd8587 | ||
|
|
dd19c60bff | ||
|
|
6072be2f7a | ||
|
|
5780b6f772 | ||
|
|
d8a9e11c29 | ||
|
|
f3a9b55348 | ||
|
|
bbb062fca9 | ||
|
|
9892aadf68 | ||
|
|
d516255933 | ||
|
|
6a5f7eab4e |
8 changed files with 1 additions and 288 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
6
Makefile
6
Makefile
|
|
@ -1,6 +0,0 @@
|
|||
# Makefile for source rpm: adaptx
|
||||
# $Id$
|
||||
NAME := adaptx
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
include ../common/Makefile.common
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/build.xml.orig 2007-04-18 17:10:00.000000000 -0400
|
||||
+++ src/build.xml 2007-04-18 17:37:22.000000000 -0400
|
||||
@@ -121,7 +121,7 @@
|
||||
<mkdir dir="${build}/doc/javadoc" />
|
||||
<javadoc sourcepath="${source}/main" destdir="${build}/doc/javadoc"
|
||||
doctitle="Adaptx" public="true" noindex="true" author="true"
|
||||
- packagenames="org.exolab.adaptx.*" />
|
||||
+ packagenames="org.exolab.adaptx.*" source="1.4"/>
|
||||
</target>
|
||||
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
--- ./src/main/org/exolab/adaptx/jaxp/transform/TransformerFactoryImpl.java.sav 2006-07-19 14:06:26.000000000 -0400
|
||||
+++ ./src/main/org/exolab/adaptx/jaxp/transform/TransformerFactoryImpl.java 2006-07-19 14:07:13.000000000 -0400
|
||||
@@ -193,6 +193,13 @@
|
||||
return false;
|
||||
} //-- getFeature
|
||||
|
||||
+ // DOM Level 3 stub
|
||||
+ public void setFeature(String name, boolean value)
|
||||
+ throws TransformerConfigurationException
|
||||
+ {
|
||||
+ throw new RuntimeException("not implemented");
|
||||
+ }
|
||||
+
|
||||
/**
|
||||
* Get the object that is used by default during the transformation
|
||||
* to resolve URIs used in document(), xsl:import, or xsl:include.
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
--- src/doc/style/exolab.xsl.sav 2006-06-19 18:25:07.000000000 +0200
|
||||
+++ src/doc/style/exolab.xsl 2006-06-19 18:28:57.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
-<xsl:stylesheet version="1.0">
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:output method="html" indent="no"/>
|
||||
|
||||
--- src/doc/style/keywords.xsl.sav 2006-06-19 18:30:23.000000000 +0200
|
||||
+++ src/doc/style/keywords.xsl 2006-06-19 18:30:38.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
-<xsl:stylesheet version="1.0">
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:template match="keywords">
|
||||
<xsl:element name="meta">
|
||||
<xsl:attribute name="http-equiv">Keywords</xsl:attribute>
|
||||
--- src/doc/style/leftNav.xsl.sav 2006-06-19 18:31:37.000000000 +0200
|
||||
+++ src/doc/style/leftNav.xsl 2006-06-19 18:31:51.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
-<xsl:stylesheet version="1.0">
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:template match="$project/navSections">
|
||||
<xsl:for-each select="section">
|
||||
--- src/doc/style/topNav.xsl.sav 2006-06-19 18:33:16.000000000 +0200
|
||||
+++ src/doc/style/topNav.xsl 2006-06-19 18:33:32.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
-<xsl:stylesheet version="1.0">
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:variable name="leftTopNavPos" select="5"/>
|
||||
<xsl:template match="$project/topNav">
|
||||
--- src/doc/style/searchForm.xsl.sav 2006-06-19 18:32:38.000000000 +0200
|
||||
+++ src/doc/style/searchForm.xsl 2006-06-19 18:32:53.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
-<xsl:stylesheet version="1.0">
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:template match="searchForm">
|
||||
<table width="95" border="0" cellpadding="0" cellspacing="0">
|
||||
209
adaptx.spec
209
adaptx.spec
|
|
@ -1,209 +0,0 @@
|
|||
# Copyright (c) 2000-2005, 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 _with_gcj_support 1
|
||||
|
||||
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
|
||||
|
||||
Name: adaptx
|
||||
Version: 0.9.13
|
||||
Release: 4jpp.2%{?dist}
|
||||
Summary: AdaptX XSLT processor and XPath engine
|
||||
License: BSD
|
||||
Group: Applications/Text
|
||||
# svn export http://svn.codehaus.org/castor/adaptx/tags/0.9.13/ adaptx-0.9.13-src
|
||||
# tar cjf adaptx-0.9.13-src.tar.bz2 adaptx-0.9.13-src
|
||||
Source0: %{name}-%{version}-src.tar.bz2
|
||||
|
||||
Patch0: %{name}-%{version}-xsl.patch
|
||||
Patch1: %{name}-%{version}-missingstubs.patch
|
||||
Patch2: %{name}-%{version}-build-xml.patch
|
||||
Url: http://castor.codehaus.org/
|
||||
BuildRequires: ant >= 0:1.6
|
||||
BuildRequires: jpackage-utils >= 0:1.6
|
||||
BuildRequires: log4j
|
||||
BuildRequires: xml-commons-apis
|
||||
BuildRequires: xerces-j2
|
||||
Requires: log4j
|
||||
Requires: xml-commons-apis
|
||||
Requires: xerces-j2
|
||||
Requires(pre): jpackage-utils
|
||||
Requires(postun): jpackage-utils
|
||||
%if ! %{gcj_support}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if %{gcj_support}
|
||||
BuildRequires: java-gcj-compat-devel
|
||||
Requires(post): java-gcj-compat
|
||||
Requires(postun): java-gcj-compat
|
||||
%endif
|
||||
|
||||
%description
|
||||
Adaptx is an XSLT processor and XPath engine.
|
||||
|
||||
%package javadoc
|
||||
Group: Documentation
|
||||
Summary: Javadoc for %{name}
|
||||
Requires(post): /bin/rm,/bin/ln
|
||||
Requires(postun): /bin/rm
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-src
|
||||
# remove CVS internal files
|
||||
for dir in `find . -type d -name CVS`; do rm -rf $dir; done
|
||||
# remove all binary libs
|
||||
for j in $(find . -name "*.jar"); do
|
||||
mv $j $j.no
|
||||
done
|
||||
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
perl -p -i -e 's|classic|modern|' src/build.xml
|
||||
export CLASSPATH=$(build-classpath xml-commons-apis log4j xerces-j2)
|
||||
ant -buildfile src/build.xml jar javadoc
|
||||
CLASSPATH=$CLASSPATH:dist/adaptx_%{version}.jar
|
||||
ant -buildfile src/build.xml doc
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# jar
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||
install -m 644 dist/%{name}_%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} ${jar/-%{version}/}; done)
|
||||
# javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr build/doc/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||
rm -rf build/doc/javadoc
|
||||
|
||||
%if %{gcj_support}
|
||||
%{_bindir}/aot-compile-rpm
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post javadoc
|
||||
rm -f %{_javadocdir}/%{name}
|
||||
ln -s %{name}-%{version} %{_javadocdir}/%{name}
|
||||
|
||||
%postun javadoc
|
||||
if [ "$1" = "0" ]; then
|
||||
rm -f %{_javadocdir}/%{name}
|
||||
fi
|
||||
|
||||
%post
|
||||
%if %{gcj_support}
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if %{gcj_support}
|
||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
||||
then
|
||||
%{_bindir}/rebuild-gcj-db
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(0664,root,root,0755)
|
||||
%doc src/etc/{CHANGELOG,contributors.html,LICENSE}
|
||||
%{_javadir}/*
|
||||
|
||||
%if %{gcj_support}
|
||||
%attr(-,root,root) %{_libdir}/gcj/%{name}
|
||||
%endif
|
||||
|
||||
%files javadoc
|
||||
%defattr(0664,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
|
||||
%files doc
|
||||
%defattr(0664,root,root,0755)
|
||||
%doc build/doc/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 18 2007 Permaine Cheung <pcheung@redhat.com> 0.9.13-4jpp.2
|
||||
- Fixed the building of javadoc
|
||||
|
||||
* Wed Jan 31 2007 Deepak Bhole <dbhole@redhat.com> 0.9.13-4jpp.1
|
||||
- Fixed issues raised by rpmlint
|
||||
|
||||
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> 0:0.9.13-3jpp.1
|
||||
- Added missing requirements.
|
||||
|
||||
* Sun Jul 23 2006 Deepak Bhole <dbhole@redhat.com> 0:0.9.13-2jpp_3fc
|
||||
- Adding missing dependency
|
||||
|
||||
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:0.9.13-2jpp_2fc
|
||||
- Rebuilt
|
||||
|
||||
* Wed Jul 19 2006 Deepak Bhole <dbhole@redhat.com> 0:0.9.13-2jpp_1fc
|
||||
- Add conditional native compiling.
|
||||
|
||||
* Mon Jun 19 2006 Ralph Apel <r.apel at r-apel.de> 0:0.9.13-1jpp
|
||||
- Upgrade to 0.9.13
|
||||
|
||||
* Thu Aug 19 2004 Ralph Apel <r.apel at r-apel.de> 0:0.9.6-2jpp
|
||||
- Build with ant-1.6.2
|
||||
- Set xmlns in **/*.xsl
|
||||
|
||||
* Tue Sep 09 2003 David Walluck <david@anti-microsoft.org> 0:0.9.6-1jpp
|
||||
- 0.9.6
|
||||
- Nicolas wrote the last changelog entry, not me
|
||||
- adaptx requires itself to build, so I added '--without-external' in case you need or
|
||||
wish to use the included jar, but it defaults to '--with-external' (e.g., it defaults
|
||||
to using the external jpackage version of the jar).
|
||||
- use the modern, not the classic, compiler
|
||||
- BuildRequires: xml-commons-apis for doc target
|
||||
|
||||
* Fri May 16 2003 Nicolas Mailhot <Nicolas.Mailhot at laPoste.net> 0:0.9.5-2jpp
|
||||
- do not self-require for build :)
|
||||
|
||||
* Sat May 10 2003 David Walluck <david@anti-microsoft.org> 0:0.9.5-1jpp
|
||||
- release
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
This package was retired on 2012-02-06 due to lack of a maintainer.
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
a8990dd15db443266ffceb3646de26b6 adaptx-0.9.13-src.tar.bz2
|
||||
Reference in a new issue