]> git.pld-linux.org Git - packages/gaphor.git/blob - gaphor.spec
- up to 0.11.1
[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.11.1
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:  711915a2ad521a254eb50245da2396d8
10 Source1:        %{name}.desktop
11 URL:            http://gaphor.devjavu.com/
12 BuildRequires:  python-devel
13 BuildRequires:  python-diacanvas >= 0.14.4
14 BuildRequires:  python-pygtk-gtk >= 2.8.4
15 %pyrequires_eq  python-libs
16 Requires:       python-diacanvas >= 0.14.4
17 Requires:       python-pygtk-gtk >= 2.8.4
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Gaphor is an easy to use modeling environment. This means that you are
23 able to create nice UML diagrams for documentation and to assist you
24 with design decisions. Gaphor will help you create your applications.
25
26 %description -l pl.UTF-8
27 Gaphor jest łatwym w użyciu środowiskiem do projektowania UML. To
28 znaczy ułatwia tworzenie diagramów UML dla dokumentacji oraz pomaga w
29 podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
30
31 %prep
32 %setup -q
33
34 %build
35 %{__python} setup.py build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
40
41 %{__python} setup.py install \
42                 --optimize=2 \
43                 --root=$RPM_BUILD_ROOT
44
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
46
47 %py_postclean
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %doc README PKG-INFO NEWS TODO AUTHORS
57 %attr(755,root,root) %{_bindir}/*
58 %{py_sitescriptdir}/%{name}
59 %{py_sitescriptdir}/zope
60 %{_datadir}/%{name}
61 %{_desktopdir}/%{name}.desktop
This page took 0.053318 seconds and 4 git commands to generate.