Blame SPECS/relaxngDatatype.spec

1a1b79
%global pkg_name relaxngDatatype
1a1b79
%{?scl:%scl_package %{pkg_name}}
1a1b79
%{?java_common_find_provides_and_requires}
1a1b79
1a1b79
Name:           %{?scl_prefix}%{pkg_name}
1a1b79
Version:        1.0
1a1b79
Release:        11.11%{?dist}
1a1b79
Summary:        RELAX NG Datatype API
1a1b79
License:        BSD
1a1b79
URL:            https://sourceforge.net/projects/relaxng
1a1b79
# wget http://netcologne.dl.sourceforge.net/project/relaxng/datatype%20%28java%29/Ver.%{version}/%{pkg_name}-%{version}.zip
1a1b79
Source0:        http://netcologne.dl.sourceforge.net/project/relaxng/datatype%20%28java%29/Ver.%{version}/%{pkg_name}-%{version}.zip
1a1b79
Source1:        http://repo1.maven.org/maven2/%{pkg_name}/%{pkg_name}/20020414/%{pkg_name}-20020414.pom
1a1b79
Patch0:         %{pkg_name}-compressjar.patch
1a1b79
1a1b79
BuildArch:      noarch
1a1b79
BuildRequires:  %{?scl_prefix}javapackages-tools
1a1b79
BuildRequires:  %{?scl_prefix}ant >= 0:1.6
1a1b79
1a1b79
%description
1a1b79
RELAX NG is a public space for test cases and other ancillary software
1a1b79
related to the construction of the RELAX NG language and its
1a1b79
implementations.
1a1b79
1a1b79
%package        javadoc
1a1b79
Summary:        API documentation for %{pkg_name}
1a1b79
1a1b79
%description    javadoc
1a1b79
This package provides %{pkg_name}.
1a1b79
1a1b79
%prep
1a1b79
%setup -q -n %{pkg_name}-%{version}
1a1b79
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
1a1b79
set -e -x
1a1b79
%patch0 -p0
1a1b79
sed -i s/
// copying.txt doc/stylesheet.css
1a1b79
%{?scl:EOF}
1a1b79
1a1b79
%build
1a1b79
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
1a1b79
set -e -x
1a1b79
ant -Dbuild.sysclasspath=only
1a1b79
%{?scl:EOF}
1a1b79
1a1b79
%install
1a1b79
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
1a1b79
set -e -x
1a1b79
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
1a1b79
install -p -m 644 %{pkg_name}.jar $RPM_BUILD_ROOT%{_javadir}/
1a1b79
1a1b79
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
1a1b79
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{pkg_name}.pom
1a1b79
%add_maven_depmap
1a1b79
1a1b79
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
1a1b79
cp -pr doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
1a1b79
%{?scl:EOF}
1a1b79
1a1b79
%files -f .mfiles
1a1b79
%doc copying.txt
1a1b79
1a1b79
%files javadoc
1a1b79
%doc copying.txt
1a1b79
%doc %{_javadocdir}/%{name}
1a1b79
1a1b79
%changelog
1a1b79
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.0-11.11
1a1b79
- Mass rebuild 2015-01-13
1a1b79
1a1b79
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 1.0-11.10
1a1b79
- Mass rebuild 2015-01-09
1a1b79
1a1b79
* Tue Dec 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.9
1a1b79
- Migrate requires and build-requires to rh-java-common
1a1b79
1a1b79
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.8
1a1b79
- Mass rebuild 2014-12-15
1a1b79
1a1b79
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.7
1a1b79
- Rebuild for rh-java-common collection
1a1b79
1a1b79
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.6
1a1b79
- Mass rebuild 2014-05-26
1a1b79
1a1b79
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.5
1a1b79
- Mass rebuild 2014-02-19
1a1b79
1a1b79
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.4
1a1b79
- Mass rebuild 2014-02-18
1a1b79
1a1b79
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.3
1a1b79
- SCL-ize build-requires
1a1b79
1a1b79
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.2
1a1b79
- Rebuild to regenerate auto-requires
1a1b79
1a1b79
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-11.1
1a1b79
- First maven30 software collection build
1a1b79
1a1b79
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-11
1a1b79
- Mass rebuild 2013-12-27
1a1b79
1a1b79
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-10.7
1a1b79
- Remove workaround for rpm bug #646523
1a1b79
1a1b79
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-10.6
1a1b79
- Rebuild to regenerate API documentation
1a1b79
- Resolves: CVE-2013-1571
1a1b79
1a1b79
* Fri Jun 21 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-10.5
1a1b79
- Install license file with javadoc package
1a1b79
- Convert versioned javadoc to versionless
1a1b79
- Update to current packaging guidelines
1a1b79
- Remove msv provides and obsoletes
1a1b79
1a1b79
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10.4
1a1b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1a1b79
1a1b79
* Wed Dec 12 2012 Michal Srb <msrb@redhat.com> - 1.0-9.4
1a1b79
- Source0 is now URL (Resolves: #875884)
1a1b79
1a1b79
* Fri Nov  2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-8.4
1a1b79
- Add maven POM
1a1b79
1a1b79
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.3
1a1b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1a1b79
1a1b79
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7.3
1a1b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1a1b79
1a1b79
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6.3
1a1b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1a1b79
1a1b79
* Mon Mar  8 2010 Peter Lemenkov <lemenkov@gmail.com> - 1.0-5.3
1a1b79
- Added missing Requires: jpackage-utils (%%{_javadir} and %%{_javadocdir})
1a1b79
1a1b79
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5.2
1a1b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1a1b79
1a1b79
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.2
1a1b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1a1b79
1a1b79
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3.2
1a1b79
- drop repotag
1a1b79
1a1b79
* Mon Feb 12 2007 Andrew Overholt <overholt@redhat.com> 1.0-3jpp.1
1a1b79
- Fixed issues for Fedora-ization
1a1b79
- Add patch to compress the main jar
1a1b79
1a1b79
* Tue Apr 11 2006 Ralph Apel <r.apel@r-apel.de>- 0:1.0-3jpp
1a1b79
- First JPP-1.7 release
1a1b79
1a1b79
* Wed Aug 25 2004 Fernando Nasser <fnasser@redhat.com>- 0:1.0-2jpp
1a1b79
- Require Ant > 1.6
1a1b79
- Rebuild with Ant 1.6.2
1a1b79
1a1b79
* Tue Jul 06 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0-1jpp
1a1b79
- First JPackage build from sources
1a1b79