Пакет maven-jaxb2-plugin: 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 | 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} Name: maven-jaxb2-plugin Version: 0.13.0 Release: alt1_5jpp8 Summary: Provides the capability to generate java sources from schemas License: BSD and ASL 2.0 URL: http://java.net/projects/maven-jaxb2-plugin/pages/Home Source0: https://github.com/highsource/maven-jaxb2-plugin/archive/%{version}.tar.gz # Don't try to use an internal bundled resolver, as this is not available in # Fedora: Patch0: %{name}-0.13.0-dont-use-internal-resolver.patch # Adapt for Maven 3: Patch1: %{name}-0.13.0-adapt-for-maven-3.patch # Remove the enconding option as the version of the XJC compiler that we build # in Fedora doesn't have it: Patch2: %{name}-0.13.0-remove-enconding-option.patch BuildArch: noarch BuildRequires: java-headless BuildRequires: maven-local BuildRequires: mvn(com.sun.codemodel:codemodel) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.maven:maven-compat) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.glassfish.jaxb:jaxb-runtime) BuildRequires: mvn(org.glassfish.jaxb:jaxb-xjc) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildRequires: mvn(org.sonatype.plexus:plexus-build-api) BuildRequires: mvn(xml-resolver:xml-resolver) Source44: import.info %description This Maven 2 plugin wraps the JAXB 2.x XJC compiler and provides the capability to generate Java sources from XML Schemas. %package javadoc Group: Development/Java Summary: API documentation for %{name} BuildArch: noarch %description javadoc The API documentation of %{name}. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 # use glassfish-jaxb = 2.0.5 %pom_disable_module plugin-2.0 # use glassfish-jaxb = 2.1.13 %pom_disable_module plugin-2.1 # Add dependency on codemodel: # because org.glassfish.jaxb:codemodel:2.2.11 have missing classes use @ runtime by these plugins: %pom_add_dep com.sun.codemodel:codemodel:2.6 plugin %pom_add_dep com.sun.codemodel:codemodel:2.6 plugin-2.2 %build # rename java files with everything commented out, helpmojo can't handle those: (cd plugin-core/src/main/java/org/jvnet/jaxb2/maven2/resolver/tools/; mv DelegatingReaderWrapper.java DelegatingReaderWrapper.java_ mv DelegatingInputStreamWrapper.java DelegatingInputStreamWrapper.java_ ) %mvn_build %install %mvn_install %files -f .mfiles %doc README.md %doc --no-dereference LICENSE %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE %changelog * Fri Apr 20 2018 Igor Vlasenko <viy@altlinux.ru> 0:0.13.0-alt1_5jpp8 - java update * Tue Nov 29 2016 Igor Vlasenko <viy@altlinux.ru> 0:0.13.0-alt1_2jpp8 - new version * Sun Jan 31 2016 Igor Vlasenko <viy@altlinux.ru> 0:0.12.3-alt1_2jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:0.8.1-alt3_11jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 0:0.8.1-alt3_9jpp7 - new release * Fri Jul 18 2014 Igor Vlasenko <viy@altlinux.ru> 0:0.8.1-alt3_7jpp7 - fixed build * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 0:0.8.1-alt2_7jpp7 - NMU rebuild to move poms and fragments * Wed Sep 12 2012 Igor Vlasenko <viy@altlinux.ru> 0:0.8.1-alt1_7jpp7 - new version * Tue Mar 03 2009 Igor Vlasenko <viy@altlinux.ru> 0:0.6.1-alt1_1jpp5 - new version |