|
|
bf36ead |
# Copyright (c) 2000-2005, JPackage Project
|
|
|
bf36ead |
# All rights reserved.
|
|
|
bf36ead |
#
|
|
|
bf36ead |
# Redistribution and use in source and binary forms, with or without
|
|
|
bf36ead |
# modification, are permitted provided that the following conditions
|
|
|
bf36ead |
# are met:
|
|
|
bf36ead |
#
|
|
|
bf36ead |
# 1. Redistributions of source code must retain the above copyright
|
|
|
bf36ead |
# notice, this list of conditions and the following disclaimer.
|
|
|
bf36ead |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
bf36ead |
# notice, this list of conditions and the following disclaimer in the
|
|
|
bf36ead |
# documentation and/or other materials provided with the
|
|
|
bf36ead |
# distribution.
|
|
|
bf36ead |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
|
bf36ead |
# contributors may be used to endorse or promote products derived
|
|
|
bf36ead |
# from this software without specific prior written permission.
|
|
|
bf36ead |
#
|
|
|
bf36ead |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
bf36ead |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
bf36ead |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
bf36ead |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
bf36ead |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
bf36ead |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
bf36ead |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
bf36ead |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
bf36ead |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
bf36ead |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
bf36ead |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
bf36ead |
#
|
|
|
bf36ead |
|
|
|
bf36ead |
Name: relaxngDatatype
|
|
|
bf36ead |
Version: 1.0
|
|
|
01fefb4 |
Release: 5.3%{?dist}
|
|
|
bf36ead |
Summary: RELAX NG Datatype API
|
|
|
bf36ead |
|
|
|
bf36ead |
Group: Development/Libraries/Java
|
|
|
bf36ead |
License: BSD
|
|
|
bf36ead |
URL: https://sourceforge.net/projects/relaxng
|
|
|
bf36ead |
Source0: %{name}-%{version}.zip
|
|
|
bf36ead |
Patch0: %{name}-compressjar.patch
|
|
|
bf36ead |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
bf36ead |
|
|
|
bf36ead |
BuildArch: noarch
|
|
|
bf36ead |
BuildRequires: jpackage-utils >= 0:1.6
|
|
|
bf36ead |
BuildRequires: ant >= 0:1.6
|
|
|
01fefb4 |
Requires: jpackage-utils
|
|
|
bf36ead |
Provides: msv <= %{version}
|
|
|
bf36ead |
Obsoletes: msv <= %{version}
|
|
|
bf36ead |
|
|
|
bf36ead |
%description
|
|
|
bf36ead |
RELAX NG is a public space for test cases and other ancillary software
|
|
|
bf36ead |
related to the construction of the RELAX NG language and its
|
|
|
bf36ead |
implementations.
|
|
|
bf36ead |
|
|
|
bf36ead |
%package javadoc
|
|
|
bf36ead |
Summary: Javadoc for %{name}
|
|
|
bf36ead |
Group: Development/Documentation
|
|
|
01fefb4 |
Requires: jpackage-utils
|
|
|
bf36ead |
|
|
|
bf36ead |
%description javadoc
|
|
|
bf36ead |
Javadoc for %{name}.
|
|
|
bf36ead |
|
|
|
bf36ead |
%prep
|
|
|
01fefb4 |
%setup -q
|
|
|
bf36ead |
%patch0 -p0
|
|
|
bf36ead |
|
|
|
bf36ead |
%build
|
|
|
01fefb4 |
ant -Dbuild.sysclasspath=only
|
|
|
bf36ead |
sed -i 's/\r//g' copying.txt
|
|
|
bf36ead |
|
|
|
bf36ead |
%install
|
|
|
bf36ead |
rm -rf $RPM_BUILD_ROOT
|
|
|
bf36ead |
install -Dpm 644 %{name}.jar \
|
|
|
bf36ead |
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
|
|
bf36ead |
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
|
|
bf36ead |
|
|
|
bf36ead |
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
|
bf36ead |
cp -pr doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
|
bf36ead |
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
bf36ead |
pushd $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
bf36ead |
for f in `find -name \*.html -o -name \*.css`; do
|
|
|
bf36ead |
sed -i 's/\r//g' $f > /dev/null
|
|
|
bf36ead |
done
|
|
|
bf36ead |
popd
|
|
|
bf36ead |
|
|
|
bf36ead |
%clean
|
|
|
bf36ead |
rm -rf $RPM_BUILD_ROOT
|
|
|
bf36ead |
|
|
|
bf36ead |
%files
|
|
|
bf36ead |
%defattr(-,root,root,-)
|
|
|
bf36ead |
%doc copying.txt
|
|
|
bf36ead |
%{_javadir}/*.jar
|
|
|
bf36ead |
|
|
|
bf36ead |
%files javadoc
|
|
|
bf36ead |
%defattr(-,root,root,-)
|
|
|
bf36ead |
%doc %{_javadocdir}/%{name}*
|
|
|
bf36ead |
|
|
|
bf36ead |
%changelog
|
|
|
01fefb4 |
* Mon Mar 8 2010 Peter Lemenkov <lemenkov@gmail.com> - 1.0-5.3
|
|
|
01fefb4 |
- Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir})
|
|
|
01fefb4 |
|
|
|
04d9db0 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5.2
|
|
|
04d9db0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
04d9db0 |
|
|
|
f8bd3f4 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.2
|
|
|
f8bd3f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f8bd3f4 |
|
|
|
e345000 |
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3.2
|
|
|
e345000 |
- drop repotag
|
|
|
e345000 |
|
|
|
bf36ead |
* Mon Feb 12 2007 Andrew Overholt <overholt@redhat.com> 1.0-3jpp.1
|
|
|
bf36ead |
- Fixed issues for Fedora-ization
|
|
|
bf36ead |
- Add patch to compress the main jar
|
|
|
bf36ead |
|
|
|
bf36ead |
* Tue Apr 11 2006 Ralph Apel <r.apel@r-apel.de>- 0:1.0-3jpp
|
|
|
bf36ead |
- First JPP-1.7 release
|
|
|
bf36ead |
|
|
|
bf36ead |
* Wed Aug 25 2004 Fernando Nasser <fnasser@redhat.com>- 0:1.0-2jpp
|
|
|
bf36ead |
- Require Ant > 1.6
|
|
|
bf36ead |
- Rebuild with Ant 1.6.2
|
|
|
bf36ead |
|
|
|
bf36ead |
* Tue Jul 06 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0-1jpp
|
|
|
bf36ead |
- First JPackage build from sources
|
|
|
bf36ead |
|