Package classmate: Specfile
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: classmate Version: 1.3.1 Release: alt1_4jpp8 Summary: Java introspection library License: ASL 2.0 Url: http://github.com/cowtowncoder/java-classmate/ Source0: https://github.com/cowtowncoder/java-classmate/archive/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(com.fasterxml:oss-parent:pom:) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildArch: noarch Source44: import.info %description Library for introspecting types with full generic information including resolving of field and method types. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n java-%{name}-%{name}-%{version} find . -name "*.class" -delete find . -name "*.jar" -delete %pom_remove_plugin :maven-source-plugin %pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-javadoc-plugin']/pom:executions" sed -i 's/\r//' src/main/resources/META-INF/LICENSE src/main/resources/META-INF/NOTICE cp -p src/main/resources/META-INF/LICENSE . cp -p src/main/resources/META-INF/NOTICE . # this test fails junit.framework.AssertionFailedError: expected:<X> but was:<Y> rm -r src/test/java/com/fasterxml/classmate/AnnotationsTest.java %mvn_file :%{name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md VERSION.txt %doc --no-dereference LICENSE NOTICE %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE NOTICE %changelog * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.3.1-alt1_4jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.3.1-alt1_3jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1.3.1-alt1_2jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 1.3.1-alt1_1jpp8 - new version * Fri Nov 25 2016 Igor Vlasenko <viy@altlinux.ru> 1.2.0-alt1_3jpp8 - new version * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 1.1.0-alt1_2jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0.8.0-alt1_3jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 0.5.4-alt2_4jpp7 - new release * Thu Feb 14 2013 Igor Vlasenko <viy@altlinux.ru> 0.5.4-alt2_2jpp7 - fixed maven1 dependency * Mon Jan 21 2013 Igor Vlasenko <viy@altlinux.ru> 0.5.4-alt1_2jpp7 - initial build |