rpms/xjparse/devel import.log, NONE, 1.1 xjparse.sh, NONE, 1.1 xjparse.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Brennan Ashton bashton at fedoraproject.org
Wed Dec 10 04:33:45 UTC 2008


Author: bashton

Update of /cvs/pkgs/rpms/xjparse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21115/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log xjparse.sh xjparse.spec 
Log Message:
* Tue Dec 9 2008 Brennan Ashton <bashton at, brennanashton.com> 1.0-3
- Initial CVS Import



--- NEW FILE import.log ---
xjparse-1_0-3_fc10:HEAD:xjparse-1.0-3.fc10.src.rpm:1228883394


--- NEW FILE xjparse.sh ---
#!/bin/bash
. /usr/share/java-utils/java-functions

MAIN_CLASS=com.nwalsh.parsers.xjparse

set_classpath "xjparse xml-commons-resolver"

run "$@"


--- NEW FILE xjparse.spec ---
Name:		xjparse
Version:	1.0
Release:	3%{?dist}
Summary:	Wrapper for the Xerces XML Schema validator
Group:		Applications/Text
License:	ASL 2.0
URL:		http://nwalsh.com/java/xjparse
Source0:	http://nwalsh.com/java/xjparse/xjparse-src-%{version}.zip
Source1:	xjparse.sh
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	java-devel
BuildRequires:	jpackage-utils
BuildRequires:	ant
BuildRequires:  xml-commons-resolver

Requires:	jpackage-utils
Requires:	java
Requires:	xml-commons-resolver

%description
The xjparse tool is a simple command-line wrapper for the Xerces XML Schema
validator. It accepts several options, notably one which specifies the set
of schemas to be used during validation.

%prep
%setup -qc
find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;

%build
export CLASSPATH=$(build-classpath xml-commons-resolver)
ant -f build.xml jar -verbose

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p build/xjparse.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar

install -dm 755 $RPM_BUILD_ROOT%{_bindir}
install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/xjparse

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}.jar
%{_bindir}/xjparse

%changelog
* Thu Dec 04 2008 Brennan Ashton <bashton at, brennanashton.com> 1.0-3
- Added system link for just name
- Added wrapper script

* Tue Nov 25 2008 Brennan Ashton <bashton at, brennanashton.com> 1.0-2
- Now noarch
- Fixed discription line length

* Sun Nov 23 2008 Brennan Ashton <bashton at, brennanashton.com> 1.0-1
- Created spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xjparse/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Dec 2008 03:25:50 -0000	1.1
+++ .cvsignore	10 Dec 2008 04:33:14 -0000	1.2
@@ -0,0 +1 @@
+xjparse-src-1.0.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xjparse/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Dec 2008 03:25:50 -0000	1.1
+++ sources	10 Dec 2008 04:33:14 -0000	1.2
@@ -0,0 +1 @@
+8722e59eb5b7b1d1adebd8f39b8f93db  xjparse-src-1.0.zip




More information about the fedora-extras-commits mailing list