Name: javapackages Version: 6.2.0 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: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: asciidoc BuildRequires: libpython3-devel >= 3.11 Requires: rpm Provides: jpackage-utils Obsoletes: jpackage-utils < 5.3.1 Provides: javapackages-tools = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-filesystem = %{?epoch:%epoch:}%{version}-%{release} Provides: java-gcj-compat Obsoletes: java-gcj-compat <= 1:1.0.80-46mamba Provides: java-gcj-compat-runtime Obsoletes: java-gcj-compat-runtime <= 1:1.0.80-46mamba Obsoletes: java-gcj-compat-javadoc <= 1:1.0.80-46mamba Obsoletes: java-gcj-compat-python <= 1:1.0.80-46mamba Obsoletes: java-gcj-compat-source <= 1:1.0.80-46mamba %description Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform. %package filesystem Group: System/Configuration Summary: Java filesystem layout %description filesystem Java filesystem layout. #% debug_package # Don't generate requires on jpackage-utils and java-headless for # provided pseudo-artifacts: com.sun:tools and sun.jdk:jconsole. %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}/maven-metadata/javapackages-metadata.xml$ %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}/* chmod +x %{buildroot}%{_prefix}/lib/rpm/*.{req,prov} %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.jpackage %{_prefix}/lib/rpm/macros.d/macros.javapackages-compat %{_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}/xmvn/configuration.xml %doc LICENSE %files filesystem -f files-filesystem %defattr(-,root,root) %changelog * Sat Jul 20 2024 Silvan Calarco 6.2.0-1mamba - update to 6.2.0 * Mon Oct 16 2023 Silvan Calarco 6.0.0-3mamba - rebuilt with python3 == 3.11 * Sun Aug 14 2022 Silvan Calarco 6.0.0-2mamba - obsolete java-gcj-compat * Mon Nov 29 2021 Silvan Calarco 6.0.0-1mamba - update to 6.0.0 * Mon Apr 12 2021 Silvan Calarco 5.3.1-3mamba - added -filesystem subpackage * Sat Mar 27 2021 Silvan Calarco 5.3.1-2mamba - make %{_prefix}/lib/rpm/*,{req,prov} executable * Mon Nov 23 2020 Silvan Calarco 5.3.1-1mamba - package created using the webbuild interface