[plantuml/f17] Import after review.
Jan Šafránek
jsafrane at fedoraproject.org
Tue Jan 22 14:30:01 UTC 2013
commit 06057e3925311b6e3dfbfe663019fc7e7ef1f485
Author: Jan Safranek <jsafrane at redhat.com>
Date: Tue Jan 22 15:29:51 2013 +0100
Import after review.
.gitignore | 1 +
plantuml.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..119a916 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plantuml-lgpl-7951.tar.gz
diff --git a/plantuml.spec b/plantuml.spec
new file mode 100644
index 0000000..509b869
--- /dev/null
+++ b/plantuml.spec
@@ -0,0 +1,81 @@
+Name: plantuml
+Version: 7951
+Release: 1%{?dist}
+Summary: Program to generate UML diagram from a text description
+
+License: LGPLv3+
+URL: http://plantuml.sourceforge.net
+Source0: http://downloads.sourceforge.net/sourceforge/plantuml/plantuml-lgpl-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: jpackage-utils
+BuildRequires: java-devel
+BuildRequires: ant
+
+Requires: jpackage-utils
+Requires: java
+
+%description
+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
+Summary: Javadocs for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -c -n plantuml
+
+%build
+ant
+
+# build javadoc
+javadoc -d javadoc -sourcepath src net.sourceforge.plantuml
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_javadir}
+cp -p %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+
+mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -rp javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+%jpackage_script net.sourceforge.plantuml.Run "" "" plantuml plantuml true
+
+%files
+%{_javadir}/%{name}.jar
+%{_bindir}/plantuml
+%doc README COPYING
+
+%files javadoc
+%{_javadocdir}/%{name}
+
+%changelog
+* Tue Jan 22 2013 Jan Safranek <jsafrane at redhat.com> - 7951-1
+- Update to ver. 7951
+- Added README and COPYING
+
+* Mon Jan 21 2013 Jan Safranek <jsafrane at redhat.com> - 7950-1
+- Update to ver. 7950
+- Use plantuml-gpl as source tarball to get source package without bundled
+ libraries
+ -> use ant
+ -> use LGPLv3+ license
+
+* Thu Dec 6 2012 Jan Safranek <jsafrane at redhat.com> - 7943-1
+- Package created
+
diff --git a/sources b/sources
index e69de29..1a186e0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9433808ffc06815e09d20618b2145a89 plantuml-lgpl-7951.tar.gz
More information about the scm-commits
mailing list