package created using the webbuild interface [release 1.2022.10-1mamba;Mon Oct 10 2022]
This commit is contained in:
parent
56baea9c2d
commit
50e7608f1f
@ -1,2 +1,4 @@
|
|||||||
# plantuml
|
# plantuml
|
||||||
|
|
||||||
|
Generate diagrams from textual description.
|
||||||
|
|
||||||
|
48
plantuml.spec
Normal file
48
plantuml.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
Name: plantuml
|
||||||
|
Version: 1.2022.10
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Generate diagrams from textual description
|
||||||
|
Group: Graphical Desktop/Applications/Graphics
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://plantuml.com/
|
||||||
|
Source: https://github.com/plantuml/plantuml/releases/download/v%{version}/plantuml-%{version}.jar
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: javapackages
|
||||||
|
Requires: java-runtime
|
||||||
|
|
||||||
|
%description
|
||||||
|
Generate diagrams from textual description.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
install -D -m0644 %{SOURCE0} %{buildroot}%{_javadir}/plantuml-%{version}.jar
|
||||||
|
|
||||||
|
ln -sf plantuml-%{version}.jar %{buildroot}%{_javadir}/plantuml.jar
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_bindir}
|
||||||
|
cat > %{buildroot}%{_bindir}/plantuml << __EOF
|
||||||
|
#!/bin/sh
|
||||||
|
exec %{_bindir}/java -jar '%{_javadir}/plantuml.jar' "\$@"
|
||||||
|
__EOF
|
||||||
|
chmod +x %{buildroot}%{_bindir}/plantuml
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/plantuml
|
||||||
|
%{_javadir}/plantuml-%{version}.jar
|
||||||
|
%{_javadir}/plantuml.jar
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Oct 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2022.10-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user