Hello community,

here is the log from the commit of package treeline for openSUSE:Factory
checked in at Mon Apr 18 10:58:00 CEST 2011.



--------
--- treeline/treeline.changes   2009-08-06 12:21:30.000000000 +0200
+++ /mounts/work_src_done/STABLE/treeline/treeline.changes      2011-04-17 
01:08:36.000000000 +0200
@@ -1,0 +2,14 @@
+Sat Apr 16 23:05:56 UTC 2011 - [email protected]
+
+- update to 1.4.0:
+  * remembering of previous directories for path-based fields
+  * addition of toolbar icons for window commands
+  * correction of a column control bug in HTML export
+  * ability to operate with multiple windows
+  * ability to update the same file from multiple windows
+  * command to add internal links to text
+  * new multiple-directory HTML export
+  * searchable help
+  * toolbar/shortcut reset buttons to undo customizations
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  treeline-1.2.3.tar.bz2

New:
----
  treeline-1.4.0.tar.bz2
  treeline-rpmlintrc

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

Other differences:
------------------
++++++ treeline.spec ++++++
--- /var/tmp/diff_new_pack.vynwWz/_old  2011-04-18 10:55:38.000000000 +0200
+++ /var/tmp/diff_new_pack.vynwWz/_new  2011-04-18 10:55:38.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package treeline (Version 1.2.3)
+# spec file for package treeline
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,31 +15,32 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           treeline
 Summary:        Versatile Tree-Style Outliner for Defining Custom Data Schemas
-Version:        1.2.3
+Version:        1.4.0
 Release:        1
 Group:          Productivity/Office/Other
-License:        GPL v2 or later
+License:        GPLv2+
 Url:            http://www.bellz.org/treeline/
-AutoReqProv:    on
-BuildRequires:  python update-desktop-files
+BuildRequires:  python-devel
+BuildRequires:  update-desktop-files
+BuildRequires:  perl
 %if %{?suse_version} > 1020
 BuildRequires:  fdupes
 %endif
 Requires:       python-qt4
 Requires:       python-xml
-Source0:        %name-%version.tar.bz2
+# http://download.berlios.de/treeline/treeline-%{version}.tar.gz
+Source0:        treeline-%{version}.tar.bz2
 Source1:        %name.desktop
 Source2:        x-%name.desktop
 Source3:        x-%name-gz.desktop
 Source4:        x-treepad.desktop
 Source5:        treeline.png
+Source99:       treeline-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%define python_site    %{_prefix}/%{_lib}/python%{py_ver}/site-packages
 BuildArch:      noarch
 
 %description
@@ -69,42 +70,58 @@
 
 %prep
 %setup -n TreeLine
+for i in source/*.py; do
+       sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|g" "$i"
+done
+
+find source/ -type f -name '*.py' | while read f; do
+    case $f in
+    */treeline.py) continue;;
+    esac
+    %__perl -i -n -e 'print unless m,^#!, and 1..1' "$f"
+done
 
 %build
 
 %install
-for i in source/*.py; do
-       sed -e "s|#!/usr/bin/env python|#!/usr/bin/python|g" $i > $i.tmp
-       mv $i.tmp $i
-       chmod 755 $i
-done
-python install.py -x \
-   -p /usr \
-   -d /usr/share/doc/packages/treeline \
-   -b $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
-cp %{SOURCE2} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
-cp %{SOURCE3} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
-cp %{SOURCE4} $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/
-mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
-cp %{SOURCE5} $RPM_BUILD_ROOT/usr/share/pixmaps/
+%__python install.py -x \
+   -p "%{_prefix}" \
+   -d "%{_docdir}/%{name}" \
+   -b "%{buildroot}"
+
+%__python -c "import compileall; 
compileall.compile_dir('%{buildroot}%{_prefix}/lib/treeline',2,ddir='%{_prefix}/lib/treeline')"
+
+%__install -d "%{buildroot}%{_datadir}/mimelnk/application"
+%__install -m0644 \
+    "%{SOURCE2}" \
+    "%{SOURCE3}" \
+    "%{SOURCE4}" \
+    "%{buildroot}%{_datadir}/mimelnk/application/"
+
+%__install -D -m0644 "%{SOURCE5}" 
"%{buildroot}%{_datadir}/pixmaps/treeline.png"
+
 %suse_update_desktop_file -i treeline Office ProjectManagement
+
 %if 0%{suse_version} > 1020
-%fdupes -s %buildroot
+%fdupes -s "%{buildroot}%{_datadir}"
 %endif
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+%{?buildroot:%__rm -rf "%{buildroot}"}
 
 %files
 %defattr(-,root,root,-)
-%doc /usr/share/doc/packages/treeline
-/usr/bin/*
-/usr/lib/*
-/usr/share/applications/*desktop
-/usr/share/treeline
-/opt/kde3
-/usr/share/pixmaps/*png
-/usr/share/icons/treeline
+%doc %{_docdir}/%{name}
+%{_bindir}/treeline
+%{_usr}/lib/treeline
+%{_datadir}/treeline
+/usr/share/applications/treeline.desktop
+%{_datadir}/pixmaps/treeline.png
+%{_datadir}/icons/treeline
+%dir %{_datadir}/mimelnk
+%dir %{_datadir}/mimelnk/application
+%{_datadir}/mimelnk/application/x-treeline-gz.desktop
+%{_datadir}/mimelnk/application/x-treeline.desktop
+%{_datadir}/mimelnk/application/x-treepad.desktop
 
 %changelog

++++++ treeline-1.2.3.tar.bz2 -> treeline-1.4.0.tar.bz2 ++++++
++++ 33916 lines of diff (skipped)

++++++ treeline-rpmlintrc ++++++
addFilter('untranslated-desktop-file /usr/share/mimelnk/.*')


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to