]> git.pld-linux.org Git - packages/gaphor.git/blobdiff - gaphor.spec
- more runtime requirements updates
[packages/gaphor.git] / gaphor.spec
index cbe6cd8d106834ea54efdf10e2a2bb62fbc35e82..4406f122af3e502e72bc1145a5bfe20867f0da5a 100644 (file)
@@ -1,19 +1,27 @@
+# todo:
+# - add and review runtime requirements
 Summary:       UML modeling environment written in Python
-Summary(pl):   ¦rodowisko modelowania UML oparte o Pythona
+Summary(pl.UTF-8):     Środowisko modelowania UML oparte o Pythona
 Name:          gaphor
-Version:       0.5.0
-Release:       3
+Version:       0.12.2
+Release:       0.1
 License:       GPL
 Group:         Applications/Engineering
-Source0:       http://dl.sourceforge.net/gaphor/%{name}-%{version}.tar.gz
-# Source0-md5: 761451126030e3171d0b20fee829d800
+Source0:       http://pypi.python.org/packages/source/g/gaphor/%{name}-%{version}.tar.gz
+# Source0-md5: 00a6ab4469931d7ed908960f4bb2360e
 Source1:       %{name}.desktop
-Patch0:                %{name}-pluginsdir.patch
-Patch1:                %{name}-datadir.patch
-URL:           http://gaphor.sourceforge.net/
+URL:           http://gaphor.devjavu.com/
 BuildRequires: python-devel
-Requires:      python-pygtk-gtk >= 2.0.0
-Requires:      python-diacanvas >= 0.13
+BuildRequires: python-pygtk-gtk >= 2.8.4
+%pyrequires_eq python-libs
+Requires:      python-gaphas >= 0.3.3
+Requires:      python-pygtk-gtk >= 2.8.4
+Requires:      Zope-Component
+Requires:      Zope-DeferredImport
+Requires:      Zope-Event
+# it will be renamed from ZopeInterface
+Requires:      Zope-Interface
+Requires:      Zope-Testing
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,52 +30,39 @@ Gaphor is an easy to use modeling environment. This means that you are
 able to create nice UML diagrams for documentation and to assist you
 with design decisions. Gaphor will help you create your applications.
 
-%description -l pl
-Gaphor jest ³atwym w u¿yciu ¶rodowiskiem do projektowania UML. To
-znaczy u³atwia tworzenie diagramów UML dla dokumentacji oraz pomaga w
-podejmowaniu decyzji. Gaphor u³atwia pracê przy tworzeniu aplikacji.
+%description -l pl.UTF-8
+Gaphor jest łatwym w użyciu środowiskiem do projektowania UML. To
+znaczy ułatwia tworzenie diagramów UML dla dokumentacji oraz pomaga w
+podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
 
 %prep
 %setup -q
-%patch0
-%patch1
 
 %build
-python setup.py build
+%{__python} setup.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
-
-cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/%{name}
-#!/usr/bin/python -O
-import gaphor
-gaphor.main()
-EOF
+%{__python} setup.py install \
+               --optimize=2 \
+               --root=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-%find_lang %{name}
+
+%py_postclean
+
+#%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+#%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
 %doc README PKG-INFO NEWS TODO AUTHORS
 %attr(755,root,root) %{_bindir}/*
-%dir %{py_sitescriptdir}/%{name}
-%dir %{py_sitescriptdir}/%{name}/ui
-%dir %{py_sitescriptdir}/%{name}/misc
-%dir %{py_sitescriptdir}/%{name}/diagram
-%dir %{py_sitescriptdir}/%{name}/UML
-%{py_sitescriptdir}/%{name}/*.py[oc]
-%{py_sitescriptdir}/%{name}/ui/*.py[oc]
-%{py_sitescriptdir}/%{name}/misc/*.py[oc]
-%{py_sitescriptdir}/%{name}/diagram/*.py[oc]
-%{py_sitescriptdir}/%{name}/UML/*.py[oc]
-%{_datadir}/%{name}
+%{py_sitescriptdir}/%{name}
+%{py_sitescriptdir}/%{name}*egg*
 %{_desktopdir}/%{name}.desktop
This page took 0.064908 seconds and 4 git commands to generate.