Package apache-commons-jxpath: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | Epoch: 0 Group: Development/Java BuildRequires: /proc rpm-build-java BuildRequires: jpackage-default # fedora bcond_with macro %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} # redefine altlinux specific with and without %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %bcond_with bootstrap Name: apache-commons-jxpath Version: 1.3 Release: alt3_43jpp11 Summary: Simple XPath interpreter License: ASL 2.0 URL: http://commons.apache.org/jxpath/ BuildArch: noarch Source0: http://www.apache.org/dist/commons/jxpath/source/commons-jxpath-%{version}-src.tar.gz Patch0: commons-jxpath-mockrunner.patch BuildRequires: maven-local %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: mvn(commons-beanutils:commons-beanutils) BuildRequires: mvn(jdom:jdom) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) %endif Source44: import.info %description Defines a simple interpreter of an expression language called XPath. JXPath applies XPath expressions to graphs of objects of all kinds: JavaBeans, Maps, Servlet contexts, DOM etc, including mixtures thereof. %package javadoc Group: Development/Java Summary: API documentation for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n commons-jxpath-%{version}-src %patch0 -p1 %pom_remove_dep xerces: %pom_remove_dep xml-apis: # Remove dependency on glassfish %pom_remove_dep :servlet-api %pom_remove_dep :jsp-api rm src/java/org/apache/commons/jxpath/servlet/*Context*.java rm src/java/org/apache/commons/jxpath/servlet/*Handler.java rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java %mvn_file ":{*}" %{name} @1 %mvn_alias : org.apache.commons: %pom_xpath_inject 'pom:properties' \ '<commons.osgi.import>org.apache.commons.beanutils;resolution:="optional",org.jdom*;resolution:="optional",org.w3c.dom;resolution:="optional",javax.servlet*;resolution:="optional",*</commons.osgi.import>' %build # we are skipping tests because we don't have com.mockrunner in repos yet %mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8 -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 -Dcommons.osgi.symbolicName=org.apache.commons.jxpath %install %mvn_install %files -f .mfiles %doc --no-dereference LICENSE.txt NOTICE.txt %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE.txt NOTICE.txt %changelog * Fri Jul 01 2022 Igor Vlasenko <viy@altlinux.org> 0:1.3-alt3_43jpp11 - update * Wed Aug 04 2021 Igor Vlasenko <viy@altlinux.org> 0:1.3-alt3_40jpp11 - update * Tue Jun 01 2021 Igor Vlasenko <viy@altlinux.org> 0:1.3-alt3_37jpp11 - update * Wed Jan 29 2020 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_34jpp8 - fc update * Mon May 27 2019 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_32jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_30jpp8 - fc29 update * Sun Apr 15 2018 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_29jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_28jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_26jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_25jpp8 - new fc release * Thu Feb 04 2016 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_24jpp8 - java 8 mass update * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_17jpp7 - new release * Mon Aug 25 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_15jpp7 - new release * Thu Aug 07 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt3_11jpp7 - rebuild with maven-local * Mon Feb 25 2013 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt2_11jpp7 - fc update * Mon Oct 01 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt2_9jpp7 - fixed build * Wed Sep 12 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt1_9jpp7 - fc release * Wed Feb 23 2011 Igor Vlasenko <viy@altlinux.ru> 0:1.3-alt1_5jpp6 - new version |