Group :: Development/Java
RPM: reflections
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: reflections
Version: 0.9.12
Release: alt1_10jpp11
Summary: Java run-time meta-data analysis
License: WTFPL
URL: https://github.com/ronmamo/reflections
BuildArch: noarch
Source0: https://github.com/ronmamo/reflections/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(com.google.code.gson:gson)
BuildRequires: mvn(javax.servlet:javax.servlet-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.dom4j:dom4j)
BuildRequires: mvn(org.javassist:javassist)
Source44: import.info
%description
A Java run-time meta-data analysis, in the spirit of Scannotations
Reflections scans your class-path, indexes the meta-data, allows you
to query it on run-time and may save and collect that information
for many modules within your project.
Using Reflections you can query your meta-data such as:
* get all sub types of some type
* get all types/methods/fields annotated with some annotation,
w/o annotation parameters matching
* get all resources matching matching a regular expression
%{?javadoc_package}
%prep
%setup -q
find -type f '(' -name '*.jar' -o -name '*.class' ')' -not -path './src/test/*' -print -delete
%pom_xpath_inject 'pom:plugin[pom:artifactId = "maven-compiler-plugin"]' '<version>3.8.1</version>'
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.compiler.release=8 -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc README.md
%doc --no-dereference COPYING.txt
%changelog
…
Full changelog you can see here
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: reflections
Version: 0.9.12
Release: alt1_10jpp11
Summary: Java run-time meta-data analysis
License: WTFPL
URL: https://github.com/ronmamo/reflections
BuildArch: noarch
Source0: https://github.com/ronmamo/reflections/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(com.google.code.gson:gson)
BuildRequires: mvn(javax.servlet:javax.servlet-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.dom4j:dom4j)
BuildRequires: mvn(org.javassist:javassist)
Source44: import.info
%description
A Java run-time meta-data analysis, in the spirit of Scannotations
Reflections scans your class-path, indexes the meta-data, allows you
to query it on run-time and may save and collect that information
for many modules within your project.
Using Reflections you can query your meta-data such as:
* get all sub types of some type
* get all types/methods/fields annotated with some annotation,
w/o annotation parameters matching
* get all resources matching matching a regular expression
%{?javadoc_package}
%prep
%setup -q
find -type f '(' -name '*.jar' -o -name '*.class' ')' -not -path './src/test/*' -print -delete
%pom_xpath_inject 'pom:plugin[pom:artifactId = "maven-compiler-plugin"]' '<version>3.8.1</version>'
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.compiler.release=8 -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc README.md
%doc --no-dereference COPYING.txt
%changelog
…
Full changelog you can see here