Author: pluto Date: Wed Mar 8 16:08:27 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - an uml tool.
---- Files affected: SPECS: umlet.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/umlet.spec diff -u /dev/null SPECS/umlet.spec:1.1 --- /dev/null Wed Mar 8 17:08:27 2006 +++ SPECS/umlet.spec Wed Mar 8 17:08:22 2006 @@ -0,0 +1,67 @@ +# $Revision$, $Date$ +Summary: Free UML Tool for Fast UML Diagrams +Name: umlet +Version: 6 +Release: 1 +License: GPL +Group: X11/Development/Tools +Source0: http://www.umlet.com/umlet_6/%{name}%{version}.zip +# Source0-md5: 8e97ebae438ee2dd8130df20d50db166 +URL: http://www.umlet.com/ +BuildRequires: unzip +Requires: jre >= 1.4 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +UMLet is a UML tool aimed at providing a fast way of creating UML diagrams. +UML elements are modified using text input instead of pop-up dialogs. +Elements can be modified and used as templates. This way, users can easily +tailor UMLet to their modeling needs. UMLet supports a variety of UML diagram types: +class diagrams, use case diagrams, sequence diagrams, state diagrams, deployment diagrams, +activity diagrams, etc. Furthermore, UMLet allows users to create their own custom UML elements. +An element's look can be modified at run-time by changing a few lines of Java code. +UMLet then compiles the new element's code on the fly. Without leaving UMLet, +users can thus create and add new element types to their diagrams. + +%prep +%setup -q -n com.%{name}.plugin + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} + +cat > $RPM_BUILD_ROOT%{_bindir}/umlet <<EOF +#!/bin/sh +cwd=\`pwd\` +cd %{_datadir}/%{name} +java -jar umlet.jar +cd \$cwd +EOF + +cp -r * $RPM_BUILD_ROOT%{_datadir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/custom_elements +%{_datadir}/%{name}/icons +# lib contains jars. +%{_datadir}/%{name}/lib +%{_datadir}/%{name}/palettes +%{_datadir}/%{name}/*.jar + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/03/08 16:08:22 pluto +- an uml tool. ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
