Пакет glassfish-jaxb-api: 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 | Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java unzip # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global oname jaxb-api Name: glassfish-jaxb-api Version: 2.2.12 Release: alt1_9jpp8 Summary: Java Architecture for XML Binding License: CDDL or GPLv2 with exception URL: http://jaxb.java.net/ # jaxb api and impl have different version # svn export https://svn.java.net/svn/jaxb~version2/tags/jaxb-2_2_6/tools/lib/redist/jaxb-api-src.zip Source0: http://repo1.maven.org/maven2/javax/xml/bind/%{oname}/%{version}/%{oname}-%{version}-b141001.1542-sources.jar Source1: http://repo1.maven.org/maven2/javax/xml/bind/%{oname}/%{version}/%{oname}-%{version}-b141001.1542.pom BuildRequires: java-javadoc BuildRequires: maven-local BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildArch: noarch Source44: import.info # The Fedora Packaging Committee granted openjdk a bundling exception to carry JAXP and # JAX-WS (glassfish doesn't need one, since it is the upstream for these files). # Reference: https://fedorahosted.org/fpc/ticket/292 %description Glassfish - JAXB (JSR 222) API. %package javadoc Group: Development/Java Summary: Javadoc for %{oname} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description javadoc Glassfish - JAXB (JSR 222) API. This package contains javadoc for %{name}. %prep %setup -T -q -c # fixing incomplete source directory structure mkdir -p src/main/java ( cd src/main/java unzip -qq %{SOURCE0} rm -rf META-INF ) cp -p %{SOURCE1} pom.xml %pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin %pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin %pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin %pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin %pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin sed -i 's|<location>${basedir}/offline-javadoc</location>|<location>%{_javadocdir}/java</location>|' pom.xml %build %mvn_file :%{oname} %{oname} %mvn_build %install %mvn_install mv %{buildroot}%{_javadocdir}/%{name} \ %{buildroot}%{_javadocdir}/%{oname} %files -f .mfiles %files javadoc %{_javadocdir}/%{oname} %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_9jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_8jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_7jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_6jpp8 - new jpp release * Thu Dec 15 2016 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_5jpp8 - new fc release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_4jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 2.2.12-alt1_3jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 2.2.9-alt1_4jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 2.2.7-alt2_3jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 2.2.7-alt2_1jpp7 - NMU rebuild to move poms and fragments * Thu Sep 06 2012 Igor Vlasenko <viy@altlinux.ru> 2.2.7-alt1_1jpp7 - new version |