From 930e7a985c65261249ed1af1ed156f3b30bf5a89 Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 8 Aug 2022 14:09:22 -0400 Subject: [PATCH] Import rpm: d418582a47ee5af2a9dfb8a659b3f10763fae4ca --- .gitignore | 1 + dead.package.c9s | 1 + javapoet.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 75 insertions(+) create mode 100644 .gitignore create mode 100644 dead.package.c9s create mode 100644 javapoet.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ca6f7f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/javapoet-1.7.0.tar.gz diff --git a/dead.package.c9s b/dead.package.c9s new file mode 100644 index 0000000..80fca14 --- /dev/null +++ b/dead.package.c9s @@ -0,0 +1 @@ +javapoet package is retired for CS-733 \ No newline at end of file diff --git a/javapoet.spec b/javapoet.spec new file mode 100644 index 0000000..16caa56 --- /dev/null +++ b/javapoet.spec @@ -0,0 +1,72 @@ +Name: javapoet +Version: 1.7.0 +Release: 6%{?dist} +Summary: A Java API for generating .java source files +License: ASL 2.0 +URL: https://github.com/square/javapoet +Source0: https://github.com/square/%{name}/archive/%{name}-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) + +%if 0 +# test dependencies +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.eclipse.jdt.core.compiler:ecj:4.4.2) +BuildRequires: mvn(org.mockito:mockito-core:1.10.16) +# missing test dependencies +BuildRequires: mvn(com.google.jimfs:jimfs:1.0) +BuildRequires: mvn(com.google.testing.compile:compile-testing:0.6) +BuildRequires: mvn(com.google.truth:truth:0.25) +%endif + +BuildArch: noarch + +%description +A utility class which aids in generating Java source files. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n %{name}-%{name}-%{version} + +%pom_remove_plugin :maven-checkstyle-plugin + +%mvn_file : %{name} + +%build +# skip tests due to missing test dependencies +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc CHANGELOG.md README.md +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Fri Feb 01 2019 Fedora Release Engineering - 1.7.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Oct 25 2016 Tomas Repik - 1.7.0-1 +- initial rpm diff --git a/sources b/sources new file mode 100644 index 0000000..ad098d2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA1 (javapoet-1.7.0.tar.gz) = 6cca6aa156a4e074100ae232b3561b2915099cb1