]> git.pld-linux.org Git - packages/gaphor.git/blob - gaphor.spec
- more runtime requirements updates
[packages/gaphor.git] / gaphor.spec
1 # todo:
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
5 Name:           gaphor
6 Version:        0.12.2
7 Release:        0.1
8 License:        GPL
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
21 Requires:       Zope-Event
22 # it will be renamed from ZopeInterface
23 Requires:       Zope-Interface
24 Requires:       Zope-Testing
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
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.
37
38 %prep
39 %setup -q
40
41 %build
42 %{__python} setup.py build
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
47
48 %{__python} setup.py install \
49                 --optimize=2 \
50                 --root=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
53
54 %py_postclean
55
56 #%find_lang %{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 #%files -f %{name}.lang
62 %files
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
This page took 0.048233 seconds and 3 git commands to generate.