]>
Commit | Line | Data |
---|---|---|
75e4e733 | 1 | # todo: |
b1c1da5e | 2 | # - add and review runtime requirements |
8ad4624c | 3 | Summary: UML modeling environment written in Python |
3820a48f | 4 | Summary(pl.UTF-8): Środowisko modelowania UML oparte o Pythona |
8ad4624c | 5 | Name: gaphor |
75e4e733 | 6 | Version: 0.12.2 |
efe42bba | 7 | Release: 0.1 |
8ad4624c | 8 | License: GPL |
9 | Group: Applications/Engineering | |
efe42bba | 10 | Source0: http://pypi.python.org/packages/source/g/gaphor/%{name}-%{version}.tar.gz |
75e4e733 | 11 | # Source0-md5: 00a6ab4469931d7ed908960f4bb2360e |
3a1ff73d | 12 | Source1: %{name}.desktop |
efe42bba | 13 | URL: http://gaphor.devjavu.com/ |
8ad4624c | 14 | BuildRequires: python-devel |
e5962f40 | 15 | BuildRequires: python-pygtk-gtk >= 2.8.4 |
153538f6 | 16 | %pyrequires_eq python-libs |
75e4e733 | 17 | Requires: python-gaphas >= 0.3.3 |
e5962f40 | 18 | Requires: python-pygtk-gtk >= 2.8.4 |
b1c1da5e | 19 | Requires: Zope-Component |
31737715 | 20 | Requires: Zope-DeferredImport |
b1c1da5e | 21 | Requires: Zope-Event |
31737715 | 22 | # it will be renamed from ZopeInterface |
b1c1da5e | 23 | Requires: Zope-Interface |
24 | Requires: Zope-Testing | |
8ad4624c | 25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
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. | |
32 | ||
d35121e2 JR |
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. | |
8ad4624c | 37 | |
38 | %prep | |
39 | %setup -q | |
8ad4624c | 40 | |
41 | %build | |
efe42bba | 42 | %{__python} setup.py build |
8ad4624c | 43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
3a1ff73d | 46 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} |
8ad4624c | 47 | |
efe42bba | 48 | %{__python} setup.py install \ |
74f521b9 AM |
49 | --optimize=2 \ |
50 | --root=$RPM_BUILD_ROOT | |
8ad4624c | 51 | |
3a1ff73d | 52 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
82287ec4 | 53 | |
54 | %py_postclean | |
55 | ||
75e4e733 | 56 | #%find_lang %{name} |
8ad4624c | 57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
75e4e733 | 61 | #%files -f %{name}.lang |
62 | %files | |
8ad4624c | 63 | %defattr(644,root,root,755) |
64 | %doc README PKG-INFO NEWS TODO AUTHORS | |
65 | %attr(755,root,root) %{_bindir}/* | |
82287ec4 | 66 | %{py_sitescriptdir}/%{name} |
75e4e733 | 67 | %{py_sitescriptdir}/%{name}*egg* |
3a1ff73d | 68 | %{_desktopdir}/%{name}.desktop |