ALT repositories
Last updated at Sat, 06 Jun 2020 00:53:36 +0000 | SRPMs: 18526
en ru
SRPMs in branches
hide window
  • 8033-alt1_7jpp8
  • 8027-alt2_1jpp8
  • 8027-alt2_1jpp8
Group :: Development/Java
Source RPM: plantuml
Raw spec file

Group: Development/Java
# BEGIN SourceDeps(oneline):

BuildRequires: rpm-build-java
# END SourceDeps(oneline)

BuildRequires: /proc
BuildRequires: jpackage-generic-compat
# see

%define _localstatedir %{_var}
Name: plantuml
Version: 8033
Release: alt1_7jpp8
Summary: Program to generate UML diagram from a text description

License: LGPLv3+

BuildArch: noarch

BuildRequires: ant
BuildRequires: javapackages-local

PlantUML is a program allowing to draw UML diagrams, using a simple
and human readable text description. It is extremely useful for code
documenting, sketching project architecture during team conversations
and so on.

PlantUML supports the following diagram types
- sequence diagram
- use case diagram
- class diagram
- activity diagram
- component diagram
- state diagram

%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch

%description javadoc
This package contains the API documentation for %{name}.

%setup -q -c -n plantuml

# Convert from dos to unix line ending

sed -i.orig 's|\r||g' README
touch -r README.orig README
rm README.orig



# build javadoc

%javadoc -encoding UTF-8 -Xdoclint:none -classpath %{name}.jar -d javadoc $(find src -name "*.java") -windowtitle "PlantUML %{version}"

# Set jar location

%mvn_file net.sourceforge.%{name}:%{name} %{name}
# Configure maven depmap

%mvn_artifact net.sourceforge.%{name}:%{name}:%{version} %{name}.jar
%mvn_install -J javadoc

%jpackage_script net.sourceforge.plantuml.Run "" "" plantuml plantuml true

mkdir -p $RPM_BUILD_ROOT`dirname /etc/java/%{name}.conf`
touch $RPM_BUILD_ROOT/etc/java/%{name}.conf

%files -f .mfiles
%doc --no-dereference COPYING
%config(noreplace,missingok) /etc/java/%{name}.conf

%files javadoc -f .mfiles-javadoc
%doc --no-dereference COPYING

* Mon Apr 16 2018 Igor Vlasenko <viy at> 8033-alt1_7jpp8
- java update

* Thu Nov 09 2017 Igor Vlasenko <viy at> 8033-alt1_6jpp8
- fc27 update

* Thu Nov 02 2017 Igor Vlasenko <viy at> 8033-alt1_5jpp8
- new jpp release

* Fri Nov 25 2016 Igor Vlasenko <viy at> 8033-alt1_4jpp8
- new version

* Wed Feb 03 2016 Igor Vlasenko <viy at> 8027-alt2_1jpp8
- new version

* Tue Feb 02 2016 Igor Vlasenko <viy at> 8027-alt1_1jpp8
- new version

* Tue Aug 26 2014 Igor Vlasenko <viy at> 7978-alt1_1jpp7
- new release

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.