Package codemodel: 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 | 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: codemodel Version: 2.6 Release: alt2_28jpp8 Summary: Java library for code generators License: CDDL-1.1 or GPLv2 with exceptions URL: http://codemodel.java.net # svn export https://svn.java.net/svn/codemodel~svn/tags/codemodel-project-2.6/ codemodel-2.6 # tar -zcvf codemodel-2.6.tar.gz codemodel-2.6 Source0: %{name}-%{version}.tar.gz # Remove the dependency on istack-commons (otherwise it will be a # recursive dependency with the upcoming changes to that package): Patch0: %{name}-remove-istack-commons-dependency.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.ant:ant) Source44: import.info %description CodeModel is a Java library for code generators; it provides a way to generate Java programs in a way much nicer than PrintStream.println(). This project is a spin-off from the JAXB RI for its schema compiler to generate Java source files. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep # Unpack and patch the original source: %setup -q %patch0 -p1 # Remove bundled jar files: find . -name '*.jar' -print -delete %mvn_file :%{name} %{name} %mvn_file :%{name}-annotation-compiler %{name}-annotation-compiler %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc --no-dereference LICENSE.html %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE.html %changelog * Sat Feb 15 2020 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_28jpp8 - fc update * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_26jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_25jpp8 - fc29 update * Fri Jun 01 2018 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_24jpp8 - java fc28+ update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_23jpp8 - java update * Wed Nov 22 2017 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_22jpp8 - new fc release * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_20jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_19jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_18jpp8 - new fc release * Mon Feb 01 2016 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_17jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_10jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_8jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 2.6-alt2_6jpp7 - NMU rebuild to move poms and fragments * Mon Aug 20 2012 Igor Vlasenko <viy@altlinux.ru> 2.6-alt1_6jpp7 - new release * Thu Jun 21 2012 Igor Vlasenko <viy@altlinux.ru> 2.6-alt1_4jpp7 - new version |