2024-01-06 00:16:35 +01:00
|
|
|
Name: javapackages
|
|
|
|
Version: 5.3.1
|
2024-01-06 00:16:35 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 00:16:35 +01:00
|
|
|
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 <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-06 00:16:35 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 00:16:35 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
Requires: rpm
|
|
|
|
Provides: jpackage-utils
|
2024-01-06 00:16:35 +01:00
|
|
|
Obsoletes: jpackage-utils < 5.3.1
|
2024-01-06 00:16:35 +01:00
|
|
|
Provides: javapackages-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 00:16:35 +01:00
|
|
|
Requires: %{name}-filesystem = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 00:16:35 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform.
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
%package filesystem
|
|
|
|
Group: System/Configuration
|
|
|
|
Summary: Java filesystem layout
|
|
|
|
|
|
|
|
%description filesystem
|
|
|
|
Java filesystem layout.
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
#% debug_package
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
# 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$
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
%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}/*
|
2024-01-06 00:16:35 +01:00
|
|
|
chmod +x %{buildroot}%{_prefix}/lib/rpm/*.{req,prov}
|
2024-01-06 00:16:35 +01:00
|
|
|
|
|
|
|
%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/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
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
%files filesystem -f files-filesystem
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
%changelog
|
2024-01-06 00:16:35 +01:00
|
|
|
* Mon Apr 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.1-3mamba
|
|
|
|
- added -filesystem subpackage
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
* Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.1-2mamba
|
|
|
|
- make %{_prefix}/lib/rpm/*,{req,prov} executable
|
|
|
|
|
2024-01-06 00:16:35 +01:00
|
|
|
* Mon Nov 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.1-1mamba
|
|
|
|
- package created using the webbuild interface
|