1 Summary: UML modeling environment written in Python
2 Summary(pl): ¦rodowisko modelowania UML oparte o Pythona
7 Group: Applications/Engineering
8 Source0: http://dl.sourceforge.net/gaphor/%{name}-%{version}.tar.gz
9 # Source0-md5: 3c320b5166523a3d0f21d52c15b1a509
10 Source1: %{name}.desktop
11 Patch0: %{name}-datadir.patch
12 URL: http://gaphor.sourceforge.net/
13 BuildRequires: X11-Xvfb
14 BuildRequires: python-devel
15 BuildRequires: python-diacanvas >= 0.14.3
16 BuildRequires: python-pygtk-gtk >= 2.0.0
17 %pyrequires_eq python-libs
18 Requires: python-diacanvas >= 0.14.3
19 Requires: python-pygtk-gtk >= 2.0.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Gaphor is an easy to use modeling environment. This means that you are
25 able to create nice UML diagrams for documentation and to assist you
26 with design decisions. Gaphor will help you create your applications.
29 Gaphor jest ³atwym w u¿yciu ¶rodowiskiem do projektowania UML. To
30 znaczy u³atwia tworzenie diagramów UML dla dokumentacji oraz pomaga w
31 podejmowaniu decyzji. Gaphor u³atwia pracê przy tworzeniu aplikacji.
38 Xvfb :69 -nolisten tcp -ac -terminate >/dev/null 2>&1 &
42 kill ${xvfb_pid} >/dev/null 2>&1 || :
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
48 Xvfb :69 -nolisten tcp -ac -terminate >/dev/null 2>&1 &
51 python setup.py install \
53 --root=$RPM_BUILD_ROOT
54 kill ${xvfb_pid} >/dev/null 2>&1 || :
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63 rm -rf $RPM_BUILD_ROOT
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc README PKG-INFO NEWS TODO AUTHORS
68 %attr(755,root,root) %{_bindir}/*
69 %{py_sitescriptdir}/%{name}
70 %{py_sitescriptdir}/zope
72 %{_desktopdir}/%{name}.desktop