Пакет javaparser: 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 | Group: Development/Java BuildRequires: /proc rpm-build-java BuildRequires: jpackage-1.8-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: javaparser Version: 3.3.5 Release: alt1_3jpp8 Summary: Java 1 to 9 Parser and Abstract Syntax Tree for Java License: LGPLv3+ or ASL 2.0 URL: http://javaparser.org Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin) BuildRequires: mvn(net.java.dev.javacc:javacc) BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildArch: noarch Source44: import.info %description This package contains a Java 1 to 9 Parser with AST generation and visitor support. The AST records the source code structure, javadoc and comments. It is also possible to change the AST nodes or create new ones to modify the source code. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-parent-%{version} sed -i 's/\r//' readme.md # Remove plugins unnecessary for RPM builds %pom_remove_plugin :animal-sniffer-maven-plugin javaparser-core %pom_remove_plugin :maven-enforcer-plugin javaparser-core %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :coveralls-maven-plugin %pom_remove_plugin :jacoco-maven-plugin . javaparser-testing # Compatibility alias %mvn_alias :javaparser-core com.google.code.javaparser:javaparser # Fix javacc plugin name sed -i \ -e 's/ph-javacc-maven-plugin/javacc-maven-plugin/' \ -e 's/com.helger.maven/org.codehaus.mojo/' \ javaparser-core/pom.xml # Missing plugin %pom_remove_plugin :templating-maven-plugin javaparser-core # Missing dep on jbehave for testing %pom_disable_module javaparser-testing # Only need to ship the core module %mvn_package ":javaparser-core-generators" __noinstall %mvn_package ":javaparser-metamodel-generator" __noinstall %mvn_package ":javaparser-testing" __noinstall %build %mvn_build %install %mvn_install %files -f .mfiles %doc readme.md changelog.md %doc --no-dereference LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL %changelog * Wed Jan 29 2020 Igor Vlasenko <viy@altlinux.ru> 3.3.5-alt1_3jpp8 - fc update * Mon Jun 17 2019 Igor Vlasenko <viy@altlinux.ru> 3.3.5-alt1_1jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.11-alt1_6jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.11-alt1_5jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.11-alt1_4jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.11-alt1_3jpp8 - new jpp release * Fri Nov 25 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.11-alt1_2jpp8 - new version * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.8-alt2_10jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.8-alt2_5jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.8-alt2_3jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.8-alt2_1jpp7 - NMU rebuild to move poms and fragments * Mon Sep 17 2012 Igor Vlasenko <viy@altlinux.ru> 1.0.8-alt1_1jpp7 - new version |