Пакет paranamer: 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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | Epoch: 0 Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global githash cb6709646eed97c271d73f50ad750cc43c8e052a Name: paranamer Version: 2.8 Release: alt1_6jpp8 Summary: Library for accessing non-private method parameter names at run-time License: BSD URL: https://github.com/paul-hammant/paranamer Source0: https://github.com/paul-hammant/paranamer/archive/%{githash}/%{name}-%{githash}.tar.gz Patch0: 0001-Port-to-current-qdox.patch BuildRequires: maven-local BuildRequires: mvn(com.thoughtworks.qdox:qdox) BuildRequires: mvn(javax.inject:javax.inject) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.codehaus:codehaus-parent:pom:) BuildRequires: mvn(org.mockito:mockito-all) BuildRequires: mvn(org.ow2.asm:asm) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch Source44: import.info %description It is a library that allows the parameter names of non-private methods and constructors to be accessed at run-time. %package ant Group: Development/Java Summary: ParaNamer Ant %description ant This package contains the ParaNamer Ant tasks. %package generator Group: Development/Java Summary: ParaNamer Generator %description generator This package contains the ParaNamer Generator. %package integration-tests Group: Development/Java Summary: ParaNamer Integration Test Parent POM %description integration-tests ParaNamer Integration Test Parent POM. %package it-011 Group: Development/Java Summary: ParaNamer Integration Test 011 %description it-011 ParaNamer IT 011: can use maven plugin defaults. %package maven-plugin Group: Development/Java Summary: ParaNamer Maven plugin %description maven-plugin This package contains the ParaNamer Maven plugin. %package parent Group: Development/Java Summary: ParaNamer Parent POM %description parent This package contains the ParaNamer Parent POM. %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}-%{githash} %patch0 -p1 # Cleanup find -name "*.class" -print -delete # Do not erase test resources find -name "*.jar" -print ! -name "test.jar" -delete chmod -x LICENSE.txt # Remove wagon extension %pom_xpath_remove "pom:build/pom:extensions" %pom_remove_plugin -r :maven-dependency-plugin %pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-source-plugin # Disable distribution module %pom_disable_module %{name}-distribution # Unavailable test deps %pom_remove_dep -r net.sourceforge.f2j: %pom_xpath_remove -r "pom:dependency[pom:classifier = 'javadoc' ]" # package org.netlib.blas does not exist rm -r %{name}/src/test/com/thoughtworks/paranamer/JavadocParanamerTest.java # testRetrievesParameterNamesFromBootstrapClassLoader java.lang.AssertionError: # Should not find names for classes loaded by the bootstrap class loader. rm -r %{name}/src/test/com/thoughtworks/paranamer/BytecodeReadingParanamerTestCase.java %build %mvn_build -s %install %mvn_install %files -f .mfiles-%{name} %doc README.md %doc --no-dereference LICENSE.txt %files ant -f .mfiles-%{name}-ant %files generator -f .mfiles-%{name}-generator %doc --no-dereference LICENSE.txt %files integration-tests -f .mfiles-%{name}-integration-tests %doc --no-dereference LICENSE.txt %files it-011 -f .mfiles-%{name}-it-011 %doc --no-dereference LICENSE.txt %files maven-plugin -f .mfiles-%{name}-maven-plugin %files parent -f .mfiles-%{name}-parent %doc --no-dereference LICENSE.txt %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE.txt %changelog * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_6jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_5jpp8 - fc27 update * Thu Nov 02 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_4jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_3jpp8 - new fc release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_2jpp8 - new fc release * Sat Feb 06 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.8-alt1_1jpp8 - java 8 mass update * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.4.1-alt2_6jpp7 - new release * Fri Jul 18 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.4.1-alt2_5jpp7 - fixed build * Thu Jul 10 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.4.1-alt1_5jpp7 - converted from JPackage by jppimport script * Fri Mar 22 2013 Igor Vlasenko <viy@altlinux.ru> 0:1.5-alt4_1jpp6 - use jmock1 (TODO: try jmock2) * Mon Mar 19 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.5-alt3_1jpp6 - fixed build * Wed Jan 18 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.5-alt2_1jpp6 - fixed build (added BR: sun-annotation-1.0-api) * Sun Feb 13 2011 Igor Vlasenko <viy@altlinux.ru> 0:1.5-alt1_1jpp6 - new version |