rpms/isorelax/devel isorelax-apidocsandcompressedjar.patch, NONE, 1.1 isorelax.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Vivek Lakshmanan (vivekl)
fedora-extras-commits at redhat.com
Tue Mar 6 21:51:24 UTC 2007
Author: vivekl
Update of /cvs/extras/rpms/isorelax/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3021/devel
Modified Files:
.cvsignore sources
Added Files:
isorelax-apidocsandcompressedjar.patch isorelax.spec
Log Message:
auto-import isorelax-0-0.1.release20050331.1jpp.1.fc7 on branch devel from isorelax-0-0.1.release20050331.1jpp.1.fc7.src.rpm
isorelax-apidocsandcompressedjar.patch:
--- NEW FILE isorelax-apidocsandcompressedjar.patch ---
Index: build.xml
===================================================================
RCS file: /cvsroot/iso-relax/build.xml,v
retrieving revision 1.2
diff -u -p -r1.2 build.xml
--- build.xml 11 Nov 2004 13:32:16 -0000 1.2
+++ build.xml 13 Feb 2007 15:39:47 -0000
@@ -12,6 +12,26 @@
<fileset dir="lib" includes="*.jar" />
</classpath>
</javac>
+
+ <!-- api docs -->
+ <mkdir dir="apidocs"/>
+ <javadoc packagenames="org.*"
+ sourcepath="src"
+ destdir="apidocs"
+ windowtitle="ISORELAX"
+ doctitle="ISORELAX"
+ public="true"
+ version="true"
+ author="true"
+ splitindex="false"
+ nodeprecated="true"
+ nodeprecatedlist="true"
+ notree="true"
+ noindex="false"
+ nohelp="true"
+ nonavbar="false"
+ serialwarn="false">
+ </javadoc>
<!-- create a time stamp file -->
<echo file="temp/version.properties">version=${DSTAMP}</echo>
@@ -32,8 +52,7 @@
<!-- creates binary jar -->
<delete file="isorelax.jar"/>
- <jar jarfile="isorelax.jar"
- compress="false">
+ <jar jarfile="isorelax.jar">
<fileset dir="temp" />
<fileset dir="" includes="COPYING.txt"/>
<!-- resource files -->
--- NEW FILE isorelax.spec ---
# 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 cvstag release-20050331
Name: isorelax
Summary: Public interfaces for RELAX Core
Url: http://iso-relax.sourceforge.net/
Epoch: 1
Version: 0
# I can't use %%{cvstag} as dashes aren't allowed in Release tags
Release: 0.1.release20050331.1jpp.1%{?dist}
License: MIT-style
Group: Development/Libraries/Java
BuildArch: noarch
# mkdir isorelax-release-20050331-src
# cd isorelax-release-20050331-src
# cvs -d:pserver:anonymous at iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax \
# export -r release-20050331 src lib
# cvs -d:pserver:anonymous at iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax \
# co -r release-20050331 build.xml
# rm -rf CVS
# cd ..
# tar cjf isorelax-release-20050331-src.tar.bz2 isorelax-release-20050331-src
Source0: %{name}-%{cvstag}-src.tar.bz2
Patch0: %{name}-apidocsandcompressedjar.patch
BuildRequires: jpackage-utils >= 0:1.6
BuildRequires: ant
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
Requires: xerces-j2
Requires: xml-commons-apis
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
The ISO RELAX project was started to host public interfaces
useful for applications to support RELAX Core. Now, however,
some of the hosted material is schema language-neutral.
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Documentation
%description javadoc
Javadoc for %{name}.
%prep
%setup -q -n %{name}-%{cvstag}-src
find . -name "*.jar" -exec rm -f {} \;
ln -s %{_javadir}/ant.jar lib/
%patch0 -p0
%build
export CLASSPATH=$(build-classpath \
xerces-j2 \
xml-commons-apis \
)
ant release
%install
rm -rf $RPM_BUILD_ROOT
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && \
for jar in *-%{version}*; do \
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; \
done
)
# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_javadir}/*
%files javadoc
%defattr(-,root,root)
%doc %{_javadocdir}/*
%changelog
* Mon Feb 12 2007 Andrew Overholt <overholt at redhat.com> 1:0-0.1.release20050331.1jpp.1
- Clean up
- Remove tests
- Fix e:nvr for new scheme (0.Z.tag.Xjpp.Y%%{?dist}) and bump epoch for
upgrades
- Add instructions for how to create source drop
- Don't do javadoc symlinking in %%post{,un}
- Remove Obsoletes and Provides on isorelax-bootstrap as they were never
shipped in Fedora and I don't know what version to Obsolete/Provide
* Wed Mar 22 2006 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20041111.2jpp
- By default omit tests requiring xercesjarv
- Add postun for javadoc
- Drop useless macros for name, version, etc.
* Tue Aug 23 2005 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20041111.1jpp
- Upgrade to 20041111
* Fri Apr 22 2005 Fernando Nasser <fnasser at redhat.com> 0:0.1-0.20030108.3jpp
- Rebuild with standard version scheme
* Wed Aug 25 2004 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20030108.2jpp
- Build with ant-1.6.2
* Tue Jul 06 2004 Ralph Apel <r.apel at r-apel.de> 0:0.1-0.20030108.1jpp
- First build from sources into free section
- Use xercesjarv instead of swift as verifier impl
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/isorelax/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Mar 2007 03:10:30 -0000 1.1
+++ .cvsignore 6 Mar 2007 21:50:52 -0000 1.2
@@ -0,0 +1 @@
+isorelax-release-20050331-src.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/isorelax/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Mar 2007 03:10:30 -0000 1.1
+++ sources 6 Mar 2007 21:50:52 -0000 1.2
@@ -0,0 +1 @@
+189d1e9aa6a9ff22d7dc1ba3835fe519 isorelax-release-20050331-src.tar.bz2
More information about the fedora-extras-commits
mailing list