]>
Commit | Line | Data |
---|---|---|
8ad4624c | 1 | Summary: UML modeling environment written in Python |
3820a48f | 2 | Summary(pl.UTF-8): Środowisko modelowania UML oparte o Pythona |
8ad4624c | 3 | Name: gaphor |
a01182c1 | 4 | Version: 0.13.0 |
efe42bba | 5 | Release: 0.1 |
8ad4624c | 6 | License: GPL |
7 | Group: Applications/Engineering | |
efe42bba | 8 | Source0: http://pypi.python.org/packages/source/g/gaphor/%{name}-%{version}.tar.gz |
a01182c1 | 9 | # Source0-md5: 8639072318d367b614375b453b0a870d |
3a1ff73d | 10 | Source1: %{name}.desktop |
efe42bba | 11 | URL: http://gaphor.devjavu.com/ |
8ad4624c | 12 | BuildRequires: python-devel |
e5962f40 | 13 | BuildRequires: python-pygtk-gtk >= 2.8.4 |
153538f6 | 14 | %pyrequires_eq python-libs |
f86008a7 | 15 | Requires: python-decorator >= 2.2.0 |
75e4e733 | 16 | Requires: python-gaphas >= 0.3.3 |
e5962f40 | 17 | Requires: python-pygtk-gtk >= 2.8.4 |
aa680f4c | 18 | Requires: python-setuptools |
b1c1da5e | 19 | Requires: Zope-Component |
b1c1da5e | 20 | Requires: Zope-Interface |
8ad4624c | 21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Gaphor is an easy to use modeling environment. This means that you are | |
26 | able to create nice UML diagrams for documentation and to assist you | |
27 | with design decisions. Gaphor will help you create your applications. | |
28 | ||
d35121e2 JR |
29 | %description -l pl.UTF-8 |
30 | Gaphor jest łatwym w użyciu środowiskiem do projektowania UML. To | |
31 | znaczy ułatwia tworzenie diagramów UML dla dokumentacji oraz pomaga w | |
32 | podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji. | |
8ad4624c | 33 | |
34 | %prep | |
35 | %setup -q | |
8ad4624c | 36 | |
37 | %build | |
efe42bba | 38 | %{__python} setup.py build |
8ad4624c | 39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
3a1ff73d | 42 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} |
8ad4624c | 43 | |
efe42bba | 44 | %{__python} setup.py install \ |
74f521b9 AM |
45 | --optimize=2 \ |
46 | --root=$RPM_BUILD_ROOT | |
8ad4624c | 47 | |
3a1ff73d | 48 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
82287ec4 | 49 | |
50 | %py_postclean | |
51 | ||
75e4e733 | 52 | #%find_lang %{name} |
8ad4624c | 53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
75e4e733 | 57 | #%files -f %{name}.lang |
58 | %files | |
8ad4624c | 59 | %defattr(644,root,root,755) |
60 | %doc README PKG-INFO NEWS TODO AUTHORS | |
61 | %attr(755,root,root) %{_bindir}/* | |
82287ec4 | 62 | %{py_sitescriptdir}/%{name} |
75e4e733 | 63 | %{py_sitescriptdir}/%{name}*egg* |
3a1ff73d | 64 | %{_desktopdir}/%{name}.desktop |