From b5ec918fdb27ebfb412482fdc64c3c687b4a6b0fe573442dda92dbc441a10510 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 22:50:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adaptx?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + adaptx-0.9.6-cvs.tar.bz2 | 3 + adaptx-0.9.6-xsl.patch | 45 ++++++++++++++ adaptx.changes | 30 +++++++++ adaptx.spec | 127 +++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 229 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 adaptx-0.9.6-cvs.tar.bz2 create mode 100644 adaptx-0.9.6-xsl.patch create mode 100644 adaptx.changes create mode 100644 adaptx.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/adaptx-0.9.6-cvs.tar.bz2 b/adaptx-0.9.6-cvs.tar.bz2 new file mode 100644 index 0000000..704c104 --- /dev/null +++ b/adaptx-0.9.6-cvs.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:851d08e1c7601602db34c478deaa62846b55ff78c614e41d631a0dc19e7bf972 +size 2035802 diff --git a/adaptx-0.9.6-xsl.patch b/adaptx-0.9.6-xsl.patch new file mode 100644 index 0000000..0e2f982 --- /dev/null +++ b/adaptx-0.9.6-xsl.patch @@ -0,0 +1,45 @@ +--- src/doc/style/exolab.xsl.orig Thu Aug 19 11:58:23 2004 ++++ src/doc/style/exolab.xsl Thu Aug 19 11:58:47 2004 +@@ -1,5 +1,5 @@ + +- ++ + + + +--- src/doc/style/keywords.xsl.orig Thu Aug 19 11:58:23 2004 ++++ src/doc/style/keywords.xsl Thu Aug 19 11:58:55 2004 +@@ -1,5 +1,5 @@ + +- ++ + + + Keywords +--- src/doc/style/leftNav.xsl.orig Thu Aug 19 11:58:23 2004 ++++ src/doc/style/leftNav.xsl Thu Aug 19 11:59:00 2004 +@@ -1,5 +1,5 @@ + +- ++ + + + +--- src/doc/style/searchForm.xsl.orig Thu Aug 19 11:58:23 2004 ++++ src/doc/style/searchForm.xsl Thu Aug 19 11:59:07 2004 +@@ -1,5 +1,5 @@ + +- ++ + + + +--- src/doc/style/topNav.xsl.orig Thu Aug 19 11:58:23 2004 ++++ src/doc/style/topNav.xsl Thu Aug 19 11:59:12 2004 +@@ -1,5 +1,5 @@ + +- ++ + + + diff --git a/adaptx.changes b/adaptx.changes new file mode 100644 index 0000000..06e9ff9 --- /dev/null +++ b/adaptx.changes @@ -0,0 +1,30 @@ +------------------------------------------------------------------- +Fri Sep 15 14:47:24 CEST 2006 - ro@suse.de + +- set source=1.4 for java + +------------------------------------------------------------------- +Wed Jan 25 21:45:41 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jul 27 13:20:23 CEST 2005 - jsmeix@suse.de + +- Adjustments in the spec file. + +------------------------------------------------------------------- +Mon Jul 18 15:26:23 CEST 2005 - jsmeix@suse.de + +- Current version 0.9.6 from JPackage.org + +------------------------------------------------------------------- +Thu Sep 16 15:20:33 CEST 2004 - skh@suse.de + +- Fix prerequires of javadoc subpackage + +------------------------------------------------------------------- +Sun Sep 5 21:33:14 CEST 2004 - skh@suse.de + +- Initial package created with version 0.9.6 (JPackage 1.5) + diff --git a/adaptx.spec b/adaptx.spec new file mode 100644 index 0000000..7a1812b --- /dev/null +++ b/adaptx.spec @@ -0,0 +1,127 @@ +# +# spec file for package adaptx (Version 0.9.6) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: adaptx +BuildRequires: ant java2-devel-packages xml-commons-apis +%{!?_with_external: %{!?_without_external: %define _without_external 1}} +%define name adaptx +%define version 0.9.6 +%define release 2jpp +%define section free +Version: 0.9.6 +Release: 24 +Summary: XSLT Processor Written in Java +License: BSD, Other License(s), see package +Group: Development/Libraries/Java +Source0: %{name}-%{version}-cvs.tar.bz2 +Patch0: %{name}-%{version}-xsl.patch +URL: http://castor.exolab.org/ +%if %{?_with_external:1}%{!?_with_external:0} +%endif +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +AdaptX is an extensible stylesheet language (XSL) processor. + + + +%package javadoc +PreReq: coreutils +Group: Development/Libraries/Java +Summary: Javadoc for adaptx + +%description javadoc +This package contains the javadoc documentation for AdaptX. + + + +%package doc +Summary: Documentation for adaptx +Group: Development/Libraries/Java + +%description doc +This package contains the documentation for AdaptX. + + + +%prep +%setup -q -n %{name} +# remove CVS internal files +for dir in `find . -type d -name CVS`; do rm -rf $dir; done +# remove all binary libs +find . -name "*.jar" -exec rm -f {} \; +%patch0 + +%build +perl -p -i -e 's|classic|modern|' src/build.xml +if ! grep -q "javac.*source=" src/build.xml ; then + perl -p -i -e 's|