]> git.pld-linux.org Git - packages/gaphor.git/blobdiff - gaphor.spec
BR: rpmbuild(macros) >= 1.710
[packages/gaphor.git] / gaphor.spec
index cc959de06ffb3329c63bd0d4b5c705b0e43609c5..83217cf52e6a2ec84b9b1f1a82eb9ef1079bbbcb 100644 (file)
@@ -1,15 +1,15 @@
 Summary:       UML modeling environment written in Python
 Summary(pl.UTF-8):     Środowisko modelowania UML oparte o Pythona
 Name:          gaphor
-Version:       0.12.4
-Release:       0.1
+Version:       0.13.1
+Release:       1
 License:       GPL
 Group:         Applications/Engineering
 Source0:       http://pypi.python.org/packages/source/g/gaphor/%{name}-%{version}.tar.gz
-# Source0-md5: 0ee1d17d4fb75a7113b1e496c3c31372
+# Source0-md5: cb08850a91f23bee62eb266f4388af0e
 Source1:       %{name}.desktop
-Patch0:                %{name}-open_fix.patch
 URL:           http://gaphor.devjavu.com/
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python-devel
 BuildRequires: python-pygtk-gtk >= 2.8.4
 %pyrequires_eq python-libs
@@ -17,7 +17,7 @@ Requires:     python-decorator >= 2.2.0
 Requires:      python-gaphas >= 0.3.3
 Requires:      python-pygtk-gtk >= 2.8.4
 Requires:      python-setuptools
-Requires:      Zope-Component
+Requires:      Zope-Component >= 3.4.0-1
 Requires:      Zope-Interface
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,18 +34,15 @@ podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
 
-%{__python} setup.py install \
-               --optimize=2 \
-               --root=$RPM_BUILD_ROOT
+%py_install
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
@@ -64,3 +61,4 @@ rm -rf $RPM_BUILD_ROOT
 %{py_sitescriptdir}/%{name}
 %{py_sitescriptdir}/%{name}*egg*
 %{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}*
This page took 0.113555 seconds and 4 git commands to generate.