blob: 11a586ed983432b2d27c4f790f36fbfc3baf1e80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# TODO:
# - recompile it
# - use libraries from separate modules, not included...
Summary: A UML design tool with cognitive support
Summary(pl): Nąrzędzie projektowania UML z bazą poznawczą
Name: argouml
Version: 0.16.1
Release: 1
License: Freeware
Group: Applications/Engineering
Source0: http://argouml.tigris.org/files/documents/4/0/%{name}-%{version}/ArgoUML-%{version}.zip
# Source0-md5: 2e52f5978528c6d0cdbb85b8ee515cb7
Source1: %{name}.desktop
URL: http://argouml.tigris.org/
Requires: jre
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
ArgoUML is a modelling tool that helps you do your design using UML.
%description -l pl
ArgoUML jest narzędziem do modelowania pomagającym projektować
korzystając z UML.
%prep
%setup -q -c
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}-%{version},%{_desktopdir}}
cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/%{name}
#!/bin/sh
java -Xms16m -Xmx256m -Xss1m -jar %{_datadir}/%{name}-%{version}/%{name}.jar \$*
EOF
install *.jar $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README.txt
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}-%{version}
%{_desktopdir}/%{name}.desktop
|