Пакет htmlunit-core-js: 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 | Epoch: 0 Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: perl(Getopt/Mixed.pm) # END SourceDeps(oneline) %filter_from_requires /^java-headless/d BuildRequires: /proc BuildRequires: jpackage-generic-compat %global rhino_fork_githash ef0faa3e34ef6c3b42c1be4474d0252d96eb4535 Name: htmlunit-core-js Version: 2.17 Release: alt1_1jpp8 Summary: Rhino fork for htmlunit License: MPLv2.0 URL: http://htmlunit.sourceforge.net/ Source0: https://github.com/HtmlUnit/htmlunit-core-js/archive/core-js-%{version}.tar.gz # Modified version of Mozilla Rhino 1.7.7 # see http://central.maven.org/maven2/net/sourceforge/htmlunit/htmlunit-core-js/2.17/htmlunit-core-js-2.17-sources.jar#rhinoDiff.txt Source1: https://github.com/HtmlUnit/htmlunit-rhino-fork/archive/%{rhino_fork_githash}/htmlunit-rhino-fork-%{rhino_fork_githash}.tar.gz Patch0: %{name}-2.17-build.patch BuildRequires: ant BuildRequires: javapackages-local BuildRequires: junit %if 0 # Test use BuildRequires: ant-junit BuildRequires: bea-stax-api BuildRequires: emma BuildRequires: hamcrest BuildRequires: xmlbeans %endif BuildArch: noarch Source44: import.info %description This is a fork of Rhino to support HtmlUnit. Everyone hopes it will go away someday. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-core-js-%{version} -a1 mv htmlunit-rhino-fork-%{rhino_fork_githash} htmlunit-rhino-fork # Cleanup find . -name "*.class" -print -delete find . -name "*.jar" -print -delete find . -name "*.tar.*" -print -delete find . -name '*.zip' -print -delete %patch0 -p1 cp -p htmlunit-rhino-fork/LICENSE.txt LICENSE-MPL.txt # package netscape.javascript does not exist sed -i 's|depends="test"||' build.xml %if 0 # Fix non ASCII chars for s in htmlunit-rhino-fork/toolsrc/org/mozilla/javascript/tools/shell/ShellConsole.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug637811Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug685403Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug687669Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug688018Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug688021Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug688023Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug689308Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug689314Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug708801Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug714204Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug782363Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug789277Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/Bug783797Test.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/es5/Test262RegExpTest.java \ htmlunit-rhino-fork/testsrc/org/mozilla/javascript/tests/json/JsonParserTest.java;do native2ascii -encoding UTF8 ${s} ${s} done %endif %build %ant jar-all %install %mvn_artifact pom.xml target/%{name}-%{version}.jar %mvn_file net.sourceforge.htmlunit:%{name} %{name} %mvn_install -J target/javadoc %files -f .mfiles %doc README.html %doc LICENSE.txt LICENSE-MPL.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt LICENSE-MPL.txt %changelog * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.17-alt1_1jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.9-alt2_5jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.9-alt2_4jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.9-alt2_3jpp7 - NMU rebuild to move poms and fragments * Thu Sep 06 2012 Igor Vlasenko <viy@altlinux.ru> 0:2.9-alt1_3jpp7 - new release * Sun Feb 13 2011 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_3jpp6 - new version * Fri Sep 03 2010 Igor Vlasenko <viy@altlinux.ru> 0:2.4-alt1_2jpp6 - new version |