2024-01-06 02:33:51 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
|
|
|
Name: kotlin
|
2024-05-07 21:19:26 +02:00
|
|
|
Version: 1.9.24
|
2024-01-06 02:33:51 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 02:33:51 +01:00
|
|
|
Summary: Statically typed programming language that can interoperate with Java
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://kotlinlang.org/
|
|
|
|
Source: https://github.com/JetBrains/kotlin/releases/download/v%{pkgver}/kotlin-compiler-%{pkgver}.zip
|
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 02:33:51 +01:00
|
|
|
BuildRequires: setconf
|
2024-01-06 02:33:51 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Statically typed programming language that can interoperate with Java.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n kotlinc
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
cd bin
|
|
|
|
setconf kotlin DIR %{_bindir}
|
|
|
|
setconf kotlinc-js DIR %{_bindir}
|
|
|
|
setconf kotlinc-jvm DIR %{_bindir}
|
|
|
|
setconf kotlinc KOTLIN_HOME %{_datadir}/kotlin
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
for f in kotlin kotlinc kotlinc-js kotlinc-jvm; do
|
|
|
|
install -D -m0755 bin/$f %{buildroot}%{_bindir}/$f
|
|
|
|
done
|
|
|
|
|
|
|
|
# jar files
|
|
|
|
cd lib
|
|
|
|
for jar in *.jar; do
|
|
|
|
install -D -m0644 $jar %{buildroot}%{_datadir}/kotlin/lib/$jar
|
|
|
|
done
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
# build.txt must be installed for for "-version" to work
|
|
|
|
install -D -m0644 build.txt %{buildroot}%{_datadir}/kotlin/build.txt
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/kotlin
|
|
|
|
%{_bindir}/kotlinc
|
|
|
|
%{_bindir}/kotlinc-js
|
|
|
|
%{_bindir}/kotlinc-jvm
|
|
|
|
%{_datadir}/kotlin/build.txt
|
|
|
|
%dir %{_datadir}/kotlin/lib
|
|
|
|
%{_datadir}/kotlin/lib/*.jar
|
|
|
|
%doc license/LICENSE.txt license/COPYRIGHT.txt license/COPYRIGHT_HEADER.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-05-07 21:19:26 +02:00
|
|
|
* Tue May 07 2024 Automatic Build System <autodist@openmamba.org> 1.9.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-08 09:43:24 +01:00
|
|
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 1.9.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:27 +01:00
|
|
|
* Thu Dec 21 2023 Automatic Build System <autodist@mambasoft.it> 1.9.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:22 +01:00
|
|
|
* Fri Nov 24 2023 Automatic Build System <autodist@mambasoft.it> 1.9.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:18 +01:00
|
|
|
* Wed Nov 01 2023 Automatic Build System <autodist@mambasoft.it> 1.9.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:14 +01:00
|
|
|
* Wed Aug 23 2023 Automatic Build System <autodist@mambasoft.it> 1.9.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:10 +01:00
|
|
|
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:06 +01:00
|
|
|
* Sat Jun 10 2023 Automatic Build System <autodist@mambasoft.it> 1.8.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:34:02 +01:00
|
|
|
* Wed Apr 26 2023 Automatic Build System <autodist@mambasoft.it> 1.8.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:59 +01:00
|
|
|
* Mon Apr 03 2023 Automatic Build System <autodist@mambasoft.it> 1.8.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:56 +01:00
|
|
|
* Sat Feb 04 2023 Automatic Build System <autodist@mambasoft.it> 1.8.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:52 +01:00
|
|
|
* Thu Dec 29 2022 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:52 +01:00
|
|
|
* Thu Dec 01 2022 Automatic Build System <autodist@mambasoft.it> 1.7.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:52 +01:00
|
|
|
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 1.7.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:52 +01:00
|
|
|
* Fri Sep 30 2022 Automatic Build System <autodist@mambasoft.it> 1.7.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:52 +01:00
|
|
|
* Fri Jul 08 2022 Automatic Build System <autodist@mambasoft.it> 1.7.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:52 +01:00
|
|
|
* Fri Jun 10 2022 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 1.6.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Tue Apr 05 2022 Automatic Build System <autodist@mambasoft.it> 1.6.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Tue Dec 14 2021 Automatic Build System <autodist@mambasoft.it> 1.6.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Tue Nov 16 2021 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Mon Sep 20 2021 Automatic Build System <autodist@mambasoft.it> 1.5.31-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Sat Jul 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.30_M1-2mamba
|
|
|
|
- fix executable paths with setconf
|
|
|
|
|
2024-01-06 02:33:51 +01:00
|
|
|
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.30_M1-1mamba
|
|
|
|
- package created using the webbuild interface
|