package created using the webbuild interface [release 5.3.1-1mamba;Mon Nov 23 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 00:16:35 +01:00
parent f0caae9148
commit 96bbaab45d
2 changed files with 105 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# javapackages # javapackages
Java Packages Tools is a collection of tools that make it easier to build RPM packages containing software running on the Java platform.

104
javapackages.spec Normal file
View File

@ -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 <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
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 <silvan.calarco@mambasoft.it> 5.3.1-1mamba
- package created using the webbuild interface