Hello community,

here is the log from the commit of package retext for openSUSE:Factory checked 
in at 2013-02-25 20:43:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/retext (Old)
 and      /work/SRC/openSUSE:Factory/.retext.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "retext", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/retext/retext.changes    2012-08-05 
15:22:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.retext.new/retext.changes       2013-02-25 
20:43:42.000000000 +0100
@@ -1,0 +2,20 @@
+Sun Feb 24 14:12:35 UTC 2013 - i...@marguerite.su
+
+- add link to %{_bindir}/%{name}
+- correct dependency name python-Markups
+
+-------------------------------------------------------------------
+Sat Feb  2 10:50:20 UTC 2013 - i...@marguerite.su
+
+- update version 4.0.0
+  * Switch to pymarkups backend
+  * Switch to python3 by default
+  * Split retext.py to smaller files
+  * MathJax support
+  * Tab now inserts 4 spaces by default
+  * Automatic indentation of new lines
+  * External links are now opened in a web browser by default
+  * Support for per-document CSS stylesheets
+
+
+-------------------------------------------------------------------

Old:
----
  retext-3.1.0.tar.bz2

New:
----
  ReText-4.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ retext.spec ++++++
--- /var/tmp/diff_new_pack.uC8A3O/_old  2013-02-25 20:43:44.000000000 +0100
+++ /var/tmp/diff_new_pack.uC8A3O/_new  2013-02-25 20:43:44.000000000 +0100
@@ -15,42 +15,50 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?py_ver: %global py_ver %(%{__python} -c "import sys; 
v=sys.version_info[:2]; print '%%d.%%d'%%v" 2>/dev/null || echo 
PYTHON-NOT-FOUND")}
 
 Name:           retext
-Version:       3.1.0
+Version:       4.0.0
 Release:       0
 License:       GPL-3.0+
-Summary:       Text editor for Markdown and reStructuredText
+Summary:       Simple editor for Markdown and reStructuredText
 Url:           http://sourceforge.net/p/retext/home/ReText
 Group:         Productivity/Editors/Other
-Source:                %{name}-%{version}.tar.bz2
+Source:                ReText-%{version}.tar.gz
 Source1:       %{name}.desktop
 BuildRequires: update-desktop-files
 BuildRequires: rsvg-view
+BuildRequires:  python-devel
 Requires:      python-qt4
 Requires:      python-markdown
 Requires:      python-docutils                 
+Requires:   python-enchant
+Requires:   python-Markups
 Provides:      ReText = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} >= 1140
 BuildArch:     noarch
+%endif
 
 %description
-ReText is a simple but powerful text editor for Markdown and reStructuredText.
+ReText is simple text editor that supports Markdown and reStructuredText
+markup languages. It is written in Python using PyQt libraries.
 
 %prep
-%setup -q
+%setup -q -n ReText-%{version}
 
 %build
+python setup.py build
 
 %install
+python setup.py install --root=%{buildroot} --prefix=%{_prefix}
+
 %{__mkdir} -pv %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
-%{__mkdir} -pv %{buildroot}%{_bindir}
 %{__mkdir} -pv %{buildroot}%{_datadir}/%{name}/
 %{__mkdir} -pv %{buildroot}%{_datadir}/applications/
 
-%{__cp} -r * %{buildroot}%{_datadir}/%{name}/
-%{__rm} -rf %{buildroot}%{_datadir}/%{name}/icons
-%{__rm} -rf %{buildroot}%{_datadir}/%{name}/LICENSE_GPL
+%{__cp} -r templates %{buildroot}%{_datadir}/%{name}/
 %{__cp} -r icons/*.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
 ICONSIZE="16 22 32 48 64 128 256"
 pushd %{buildroot}%{_datadir}/icons/hicolor/
@@ -59,15 +67,21 @@
   rsvg-convert -h $i -w $i scalable/apps/%{name}.svg -o 
${i}x${i}/apps/%{name}.png
 done
 popd
-ln -sf %{_datadir}/%{name}/retext.py %{buildroot}%{_bindir}/retext
 %{__cp} -r %{S:1} %{buildroot}%{_datadir}/applications/
 
+ln -sf %{_bindir}/%{name}.py %{buildroot}%{_bindir}/%{name}
+
 %suse_update_desktop_file %{name}
 
 
 %files
 %defattr(-,root,root)
+%doc changelog.md README
 %{_bindir}/%{name}
+%{_bindir}/%{name}.py
+%{_bindir}/wpgen.py
+%{python_sitelib}/ReText/
+%{python_sitelib}/ReText-%{version}-py%{py_ver}.egg-info
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 %{_datadir}/%{name}/

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to