]> git.pld-linux.org Git - packages/gaphor.git/blob - gaphor.spec
- added fix from gaphor svn (to be fixed in 0.12.5)
[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.4
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:  0ee1d17d4fb75a7113b1e496c3c31372
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-open_fix.patch
12 URL:            http://gaphor.devjavu.com/
13 BuildRequires:  python-devel
14 BuildRequires:  python-pygtk-gtk >= 2.8.4
15 %pyrequires_eq  python-libs
16 Requires:       python-decorator >= 2.2.0
17 Requires:       python-gaphas >= 0.3.3
18 Requires:       python-pygtk-gtk >= 2.8.4
19 Requires:       python-setuptools
20 Requires:       Zope-Component
21 Requires:       Zope-Interface
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
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.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %{__python} setup.py build
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
45
46 %{__python} setup.py install \
47                 --optimize=2 \
48                 --root=$RPM_BUILD_ROOT
49
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
51
52 %py_postclean
53
54 #%find_lang %{name}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 #%files -f %{name}.lang
60 %files
61 %defattr(644,root,root,755)
62 %doc README PKG-INFO NEWS TODO AUTHORS
63 %attr(755,root,root) %{_bindir}/*
64 %{py_sitescriptdir}/%{name}
65 %{py_sitescriptdir}/%{name}*egg*
66 %{_desktopdir}/%{name}.desktop
This page took 0.066027 seconds and 4 git commands to generate.