]> git.pld-linux.org Git - packages/gaphor.git/blob - gaphor.spec
- ver. 0.12.2, nfy
[packages/gaphor.git] / gaphor.spec
1 # todo:
2 # - add missing 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:       somezopepackages, see todo
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Gaphor is an easy to use modeling environment. This means that you are
25 able to create nice UML diagrams for documentation and to assist you
26 with design decisions. Gaphor will help you create your applications.
27
28 %description -l pl.UTF-8
29 Gaphor jest łatwym w użyciu środowiskiem do projektowania UML. To
30 znaczy ułatwia tworzenie diagramów UML dla dokumentacji oraz pomaga w
31 podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
32
33 %prep
34 %setup -q
35
36 %build
37 %{__python} setup.py build
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
42
43 %{__python} setup.py install \
44                 --optimize=2 \
45                 --root=$RPM_BUILD_ROOT
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
48
49 %py_postclean
50
51 #%find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 #%files -f %{name}.lang
57 %files
58 %defattr(644,root,root,755)
59 %doc README PKG-INFO NEWS TODO AUTHORS
60 %attr(755,root,root) %{_bindir}/*
61 %{py_sitescriptdir}/%{name}
62 %{py_sitescriptdir}/%{name}*egg*
63 %{_desktopdir}/%{name}.desktop
This page took 0.087984 seconds and 4 git commands to generate.