ALT repositories
Last updated at Fri, 24 Jul 2020 16:39:53 +0000 | SRPMs: 19068
en ru
SRPMs in branches
hide window
  • 1.1.0-alt1_2jpp8
  • 1.1.0-alt1_2jpp8
  • 0.5.4-alt2_2jpp7
  • 0.5.4-alt2_2jpp7
  • 0.5.4-alt2_2jpp7
Group :: Development/Java
Source RPM: classmate
Raw spec file

Group: Development/Java
# BEGIN SourceDeps(oneline):

BuildRequires: rpm-build-java
# END SourceDeps(oneline)

BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see

%define _localstatedir %{_var}
Name: classmate
Version: 1.3.1
Release: alt1_5jpp8
Summary: Java introspection library
License: ASL 2.0

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

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}.

%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/

%mvn_file :%{name} %{name}




%files -f .mfiles
%doc VERSION.txt
%doc --no-dereference LICENSE NOTICE

%files javadoc -f .mfiles-javadoc
%doc --no-dereference LICENSE NOTICE

* Tue Feb 05 2019 Igor Vlasenko <viy at> 1.3.1-alt1_5jpp8
- fc29 update

* Thu Apr 19 2018 Igor Vlasenko <viy at> 1.3.1-alt1_4jpp8
- java update

* Thu Nov 09 2017 Igor Vlasenko <viy at> 1.3.1-alt1_3jpp8
- fc27 update

* Sun Oct 22 2017 Igor Vlasenko <viy at> 1.3.1-alt1_2jpp8
- new jpp release

* Fri Dec 16 2016 Igor Vlasenko <viy at> 1.3.1-alt1_1jpp8
- new version

* Fri Nov 25 2016 Igor Vlasenko <viy at> 1.2.0-alt1_3jpp8
- new version

* Tue Feb 02 2016 Igor Vlasenko <viy at> 1.1.0-alt1_2jpp8
- new version

* Mon Sep 08 2014 Igor Vlasenko <viy at> 0.8.0-alt1_3jpp7
- new release

* Mon Jul 28 2014 Igor Vlasenko <viy at> 0.5.4-alt2_4jpp7
- new release

* Thu Feb 14 2013 Igor Vlasenko <viy at> 0.5.4-alt2_2jpp7
- fixed maven1 dependency

* Mon Jan 21 2013 Igor Vlasenko <viy at> 0.5.4-alt1_2jpp7
- initial build

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.