Пакет scannotation: 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 | 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} # %%version is ahead of its definition. Predefining for rpm 4.0 compatibility. %define version 1.0.3 %global namedreltag .Final %global namedversion %{version}%{?namedreltag} %global alphatag r12 Name: scannotation Version: 1.0.3 Release: alt2_0.20.r12jpp8 Summary: A Java annotation scanner License: ASL 2.0 URL: http://scannotation.sourceforge.net # Also available here https://github.com/jharting/scannotation # How we created tarball: # svn export -r 12 https://scannotation.svn.sourceforge.net/svnroot/scannotation scannotation-1.0.3.Final # tar -caJf scannotation-1.0.3.Final.tar.xz scannotation-1.0.3.Final Source0: %{name}-%{namedversion}.tar.xz # Adding License file Source1: License.txt BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(javassist:javassist) BuildRequires: mvn(javax.servlet:javax.servlet-api) BuildRequires: mvn(junit:junit) Source44: import.info %description Scannotation is a Java library that creates an annotation database from a set of .class files.This database is really just a set of maps that index what annotations are used and what classes are using them. Why do you need this? What if you are an annotation framework like an EJB 3.0 container and you want to automatically scan your classpath for EJB annotations so that you know what to deploy? Scannotation gives you apis that allow you to find archives in your classpath or WAR (web application) that you want to scan, then automatically scans them without loading each and every class within those archives %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}-%{namedversion} %pom_disable_module titan-test-jar %pom_remove_dep :titan-cruise %{name} # Force use servlet 3.1 apis %pom_change_dep :servlet-api javax.servlet:javax.servlet-api:3.1.0 %{name} cp -p %SOURCE1 . %mvn_file org.%{name}:%{name} %{name} %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc --no-dereference License.txt %files javadoc -f .mfiles-javadoc %doc --no-dereference License.txt %changelog * Sat Feb 15 2020 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.20.r12jpp8 - fc update * Sun May 26 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.18.r12jpp8 - new version * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.16.r12jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.15.r12jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.14.r12jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.13.r12jpp8 - new fc release * Tue Feb 09 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.12.r12jpp8 - java8 mass update * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.7.r12jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.6.r12jpp7 - new release * Mon Jul 14 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt2_0.4.r12jpp7 - NMU rebuild to move poms and fragments * Sun Sep 16 2012 Igor Vlasenko <viy@altlinux.ru> 1.0.3-alt1_0.4.r12jpp7 - new version |