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