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