105 lines
3.1 KiB
RPMSpec
105 lines
3.1 KiB
RPMSpec
|
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
|