From 96bbaab45d1ff01f77f0c504d7a073fb1b1cf969 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:16:35 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.3.1-1mamba;Mon Nov 23 2020] --- README.md | 1 + javapackages.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 javapackages.spec diff --git a/README.md b/README.md index c8351eb..a716270 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # javapackages +Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform. diff --git a/javapackages.spec b/javapackages.spec new file mode 100644 index 0000000..96e8b37 --- /dev/null +++ b/javapackages.spec @@ -0,0 +1,104 @@ +Name: javapackages +Version: 5.3.1 +Release: 1mamba +Summary: A collection of tools that make it easier to build RPM packages containing software running on the Java platform +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/fedora-java/javapackages +Source: https://github.com/fedora-java/javapackages.git/%{version}/javapackages-%{version}.tar.bz2 +License: BSD, JPackage +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRequires: asciidoc +Requires: rpm +Provides: jpackage-utils +Obsoletes: jpackage-utils +Provides: javapackages-tools = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform. + +#% debug_package + +%prep +%setup -q + +%build +%configure \ + --pyinterpreter=%{__python3} \ + --default_jdk=%{prefix}/lib/jvm/jdk \ + --default_jre=%{prefix}/lib/jvm/jre \ + --rpmmacrodir=%{_rpmmacrodir} \ + --rpmconfigdir=%{_prefix}/lib/rpm + +./build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +./install + +chmod +x %{buildroot}%{_bindir}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sysconfdir}/ant.d/ivy-local-classpath +%{_sysconfdir}/ivy/ivysettings.xml +%{_sysconfdir}/java/eclipse.conf +%{_sysconfdir}/java/font.properties +%{_sysconfdir}/java/java.conf +%{_sysconfdir}/java/javapackages-config.json +%{_bindir}/abs2rel +%{_bindir}/build-classpath +%{_bindir}/build-classpath-directory +%{_bindir}/build-jar-repository +%{_bindir}/check-binary-files +%{_bindir}/clean-binary-files +%{_bindir}/create-jar-links +%{_bindir}/diff-jars +%{_bindir}/find-jar +%{_bindir}/gradle-local +%{_bindir}/rebuild-jar-repository +%{_bindir}/shade-jar +%{_bindir}/xmvn-builddep +%dir %{python3_sitelib}/javapackages-*-py*.egg-info +%{python3_sitelib}/javapackages-*-py*.egg-info/* +%dir %{python3_sitelib}/javapackages +%{python3_sitelib}/javapackages/* +%{_prefix}/lib/rpm/fileattrs/javadoc.attr +%{_prefix}/lib/rpm/fileattrs/maven.attr +%{_prefix}/lib/rpm/fileattrs/osgi.attr +%{_prefix}/lib/rpm/javadoc.req +%{_prefix}/lib/rpm/macros.d/macros.fjava +%{_prefix}/lib/rpm/macros.d/macros.javapackages-filesystem +%{_prefix}/lib/rpm/macros.d/macros.jpackage +%{_prefix}/lib/rpm/maven.prov +%{_prefix}/lib/rpm/maven.req +%{_prefix}/lib/rpm/osgi.prov +%{_prefix}/lib/rpm/osgi.req +%{_datadir}/gradle-local/init.gradle +%dir %{_datadir}/java-utils +%{_datadir}/java-utils/* +%{_mandir}/man1/abs2rel.1* +%{_mandir}/man1/build-classpath.1* +%{_mandir}/man1/build-jar-repository.1* +%{_mandir}/man1/diff-jars.1* +%{_mandir}/man1/find-jar.1* +%{_mandir}/man1/rebuild-jar-repository.1* +%{_mandir}/man1/shade-jar.1* +%{_mandir}/man7/gradle_build.7* +%{_mandir}/man7/mvn_*.7* +%{_mandir}/man7/pom_*.7* +%{_datadir}/maven-metadata/javapackages-metadata.xml +%{_datadir}/xmvn/configuration.xml +%doc LICENSE + +%changelog +* Mon Nov 23 2020 Silvan Calarco 5.3.1-1mamba +- package created using the webbuild interface