[9289] | 1 | Name: xml-commons-resolver |
---|
| 2 | Version: 1.2 |
---|
| 3 | Release: 18%{?_dist_release} |
---|
| 4 | Summary: Resolver subproject of xml-commons |
---|
| 5 | |
---|
| 6 | License: ASL 2.0 |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | URL: http://xerces.apache.org/xml-commons/components/resolver/ |
---|
| 9 | |
---|
| 10 | Source0: http://www.apache.org/dist/xerces/xml-commons/%{name}-%{version}.tar.gz |
---|
| 11 | Source5: %{name}-pom.xml |
---|
| 12 | Source6: %{name}-resolver.1 |
---|
| 13 | Source7: %{name}-xparse.1 |
---|
| 14 | Source8: %{name}-xread.1 |
---|
| 15 | Patch0: %{name}-1.2-crosslink.patch |
---|
| 16 | Patch1: %{name}-1.2-osgi.patch |
---|
| 17 | |
---|
| 18 | BuildArch: noarch |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | BuildRequires: java-devel >= 1.6.0 |
---|
| 21 | BuildRequires: ant |
---|
| 22 | BuildRequires: javapackages-tools |
---|
| 23 | Requires: java-headless >= 1.6.0 |
---|
| 24 | Requires: javapackages-tools |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | Resolver subproject of xml-commons. |
---|
| 28 | |
---|
| 29 | %package javadoc |
---|
| 30 | Summary: Javadoc for %{name} |
---|
| 31 | Group: Documentation |
---|
| 32 | BuildRequires: java-javadoc |
---|
| 33 | Requires: java-javadoc |
---|
| 34 | |
---|
| 35 | %description javadoc |
---|
| 36 | Javadoc for %{name}. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | %patch0 -p1 |
---|
| 41 | %patch1 -p1 |
---|
| 42 | |
---|
| 43 | # remove all binary libs and prebuilt javadocs |
---|
| 44 | find . -name "*.jar" -exec rm -f {} \; |
---|
| 45 | rm -rf docs |
---|
| 46 | sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | %ant -f resolver.xml jar javadocs |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | |
---|
| 54 | # Jars |
---|
| 55 | install -d -m 755 $RPM_BUILD_ROOT%{_javadir} |
---|
| 56 | install -p -m 644 build/resolver.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar |
---|
| 57 | ln -s %{name}.jar $RPM_BUILD_ROOT%{_javadir}/xml-resolver.jar |
---|
| 58 | |
---|
| 59 | # Javadocs |
---|
| 60 | mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} |
---|
| 61 | cp -pr build/apidocs/resolver/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} |
---|
| 62 | |
---|
| 63 | # Scripts |
---|
| 64 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
| 65 | %jpackage_script org.apache.xml.resolver.apps.resolver "" "" %{name} xml-resolver true |
---|
| 66 | %jpackage_script org.apache.xml.resolver.apps.xread "" "" %{name} xml-xread true |
---|
| 67 | %jpackage_script org.apache.xml.resolver.apps.xparse "" "" %{name} xml-xparse true |
---|
| 68 | |
---|
| 69 | # Man pages |
---|
| 70 | install -d -m 755 ${RPM_BUILD_ROOT}%{_mandir}/man1 |
---|
| 71 | install -p -m 644 %{SOURCE6} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-resolver.1 |
---|
| 72 | install -p -m 644 %{SOURCE7} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-xparse.1 |
---|
| 73 | install -p -m 644 %{SOURCE8} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-xread.1 |
---|
| 74 | |
---|
| 75 | # Pom |
---|
| 76 | #install -d -m 755 %{buildroot}%{_mavenpomdir} |
---|
| 77 | #install -p -m 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom |
---|
| 78 | #add_maven_depmap JPP-%{name}.pom %{name}.jar |
---|
| 79 | |
---|
| 80 | %clean |
---|
| 81 | rm -rf $RPM_BUILD_ROOT |
---|
| 82 | |
---|
| 83 | #files -f .mfiles |
---|
| 84 | %files |
---|
| 85 | %doc KEYS LICENSE.resolver.txt NOTICE-resolver.txt |
---|
| 86 | #{_mavenpomdir}/* |
---|
| 87 | %{_javadir}/* |
---|
| 88 | %{_mandir}/man1/* |
---|
| 89 | %{_bindir}/xml-* |
---|
| 90 | |
---|
| 91 | %files javadoc |
---|
| 92 | %{_javadocdir}/%{name} |
---|
| 93 | %doc LICENSE.resolver.txt NOTICE-resolver.txt |
---|
| 94 | |
---|
| 95 | %changelog |
---|
| 96 | * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2-18 |
---|
| 97 | - Initial build for Vine Linux |
---|
| 98 | |
---|
| 99 | * Fri Jun 13 2014 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-17 |
---|
| 100 | - Fix FTBFS. |
---|
| 101 | |
---|
| 102 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-16 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Mon Dec 23 2013 Ville Skyttä <ville.skytta@iki.fi> - 0:1.2-15 |
---|
| 106 | - Use %%jpackage_script to generate scripts. |
---|
| 107 | - Add OSGi metadata to manifest instead of discarding everything else in it. |
---|
| 108 | - Drop dependency on xml-commons-api, add one on java(-headless). |
---|
| 109 | - Crosslink javadocs with Java's. |
---|
| 110 | - Include NOTICE* in docs. |
---|
| 111 | - Update URLs. |
---|
| 112 | - Specfile cleanups. |
---|
| 113 | |
---|
| 114 | * Thu Aug 15 2013 Mat Booth <fedora@matbooth.co.uk> - 0:1.2-14 |
---|
| 115 | - Fix FTBFS rhbz #993143 |
---|
| 116 | |
---|
| 117 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-13 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Thu Apr 11 2013 Michal Srb <msrb@redhat.com> - 0:1.2-12 |
---|
| 121 | - Add man pages (Resolves: rhbz#949424) |
---|
| 122 | |
---|
| 123 | * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-11 |
---|
| 124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 125 | |
---|
| 126 | * Fri Aug 17 2012 Andy Grimm <agrimm@gmail.com> - 0:1.2-10 |
---|
| 127 | - Remove osgi(system.bundle) requirement |
---|
| 128 | |
---|
| 129 | * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-9 |
---|
| 130 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 131 | |
---|
| 132 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-8 |
---|
| 133 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 134 | |
---|
| 135 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-7 |
---|
| 136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 137 | |
---|
| 138 | * Wed Nov 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-6 |
---|
| 139 | - Fix merge review comments (bug#226564). |
---|
| 140 | |
---|
| 141 | * Wed Nov 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-5 |
---|
| 142 | - Add missing zip BR. |
---|
| 143 | - Remove perl and dos2unix usage. |
---|
| 144 | - Fix license - ASL 2.0 now. |
---|
| 145 | |
---|
| 146 | * Fri Sep 24 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-4 |
---|
| 147 | - Forgot to actually install a jar with a name that maven users expect. |
---|
| 148 | |
---|
| 149 | * Sun Sep 19 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-3 |
---|
| 150 | - Install a maven pom and depmap. |
---|
| 151 | |
---|
| 152 | * Wed Apr 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-2 |
---|
| 153 | - No need to require jaxp_parser_impl now that we require java 1.5 or newer. |
---|
| 154 | |
---|
| 155 | * Fri Mar 5 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-1 |
---|
| 156 | - Update to 1.2. |
---|
| 157 | - Drop gcj_support. |
---|
| 158 | |
---|
| 159 | * Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:1.1-4.17 |
---|
| 160 | - Fix Group tags |
---|
| 161 | - Remove '.' at end of Summary |
---|
| 162 | - Add dos2unix BR and fix line endings |
---|
| 163 | - Use upstream tarball |
---|
| 164 | |
---|
| 165 | * Sat Aug 8 2009 Ville Skyttä <ville.skytta@iki.fi> - 0:1.1-4.16 |
---|
| 166 | - Fix specfile UTF-8 encoding. |
---|
| 167 | |
---|
| 168 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-4.15 |
---|
| 169 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 170 | |
---|
| 171 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-3.15 |
---|
| 172 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 173 | |
---|
| 174 | * Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-2.15 |
---|
| 175 | - Install osgi manifest for eclipse-dtp |
---|
| 176 | |
---|
| 177 | * Fri Sep 05 2008 Deepak Bhole <dbhole@redhat.com> 1.1-2.14 |
---|
| 178 | - Build with IcedTea to escape sinjdoc issues |
---|
| 179 | |
---|
| 180 | * Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.1-2.13 |
---|
| 181 | - drop repotag |
---|
| 182 | - fix license tag |
---|
| 183 | |
---|
| 184 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.1-2jpp.12 |
---|
| 185 | - Autorebuild for GCC 4.3 |
---|
| 186 | |
---|
| 187 | * Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> 1.1-1jpp.12 |
---|
| 188 | - Added missing dependencies. |
---|
| 189 | |
---|
| 190 | * Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.1-1jpp_11fc |
---|
| 191 | - Rebuilt |
---|
| 192 | |
---|
| 193 | * Fri Jul 21 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.1-1jpp_10fc |
---|
| 194 | - Added conditional native compilation. |
---|
| 195 | |
---|
| 196 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.1-1jpp_9fc |
---|
| 197 | - rebuild |
---|
| 198 | |
---|
| 199 | * Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.1-1jpp_8fc |
---|
| 200 | - stop scriptlet spew |
---|
| 201 | |
---|
| 202 | * Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.1-1jpp_7fc |
---|
| 203 | - rebuilt again |
---|
| 204 | |
---|
| 205 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0:1.1-1jpp_6fc |
---|
| 206 | - rebuilt |
---|
| 207 | |
---|
| 208 | * Tue Jun 28 2005 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_5fc |
---|
| 209 | - Remove jarfile from the tarball. |
---|
| 210 | |
---|
| 211 | * Thu Nov 4 2004 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_4fc |
---|
| 212 | - Build into Fedora. |
---|
| 213 | |
---|
| 214 | * Thu Oct 28 2004 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_3fc |
---|
| 215 | - Bootstrap into Fedora. |
---|
| 216 | |
---|
| 217 | * Thu Mar 4 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.1-1jpp_2rh |
---|
| 218 | - RH vacuuming part II |
---|
| 219 | |
---|
| 220 | * Wed Mar 3 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.1-1jpp_1rh |
---|
| 221 | - RH vacuuming |
---|
| 222 | |
---|
| 223 | * Wed Jan 21 2004 David Walluck <david@anti-microsoft.org> 0:1.1-1jpp |
---|
| 224 | - 1.1 |
---|
| 225 | - use perl instead of patch |
---|
| 226 | - don't build docs (build fails) |
---|
| 227 | |
---|
| 228 | * Tue May 06 2003 David Walluck <david@anti-microsoft.org> 0:1.0-2jpp |
---|
| 229 | - update for JPackage 1.5 |
---|
| 230 | |
---|
| 231 | * Wed Nov 13 2002 Ville Skyttä <ville.skytta@iki.fi> - 1.0-1jpp |
---|
| 232 | - Follow upstream changes, split out of xml-commons. |
---|