2 # - add and review runtime requirements
3 Summary: UML modeling environment written in Python
4 Summary(pl.UTF-8): Środowisko modelowania UML oparte o Pythona
9 Group: Applications/Engineering
10 Source0: http://pypi.python.org/packages/source/g/gaphor/%{name}-%{version}.tar.gz
11 # Source0-md5: 00a6ab4469931d7ed908960f4bb2360e
12 Source1: %{name}.desktop
13 URL: http://gaphor.devjavu.com/
14 BuildRequires: python-devel
15 BuildRequires: python-pygtk-gtk >= 2.8.4
16 %pyrequires_eq python-libs
17 Requires: python-gaphas >= 0.3.3
18 Requires: python-pygtk-gtk >= 2.8.4
19 Requires: Zope-Component
20 Requires: Zope-DeferredImport
22 # it will be renamed from ZopeInterface
23 Requires: Zope-Interface
24 Requires: Zope-Testing
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Gaphor is an easy to use modeling environment. This means that you are
30 able to create nice UML diagrams for documentation and to assist you
31 with design decisions. Gaphor will help you create your applications.
33 %description -l pl.UTF-8
34 Gaphor jest łatwym w użyciu środowiskiem do projektowania UML. To
35 znaczy ułatwia tworzenie diagramów UML dla dokumentacji oraz pomaga w
36 podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
42 %{__python} setup.py build
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
48 %{__python} setup.py install \
50 --root=$RPM_BUILD_ROOT
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
59 rm -rf $RPM_BUILD_ROOT
61 #%files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc README PKG-INFO NEWS TODO AUTHORS
65 %attr(755,root,root) %{_bindir}/*
66 %{py_sitescriptdir}/%{name}
67 %{py_sitescriptdir}/%{name}*egg*
68 %{_desktopdir}/%{name}.desktop