Hello community,

here is the log from the commit of package svgcleaner for openSUSE:Factory 
checked in at 2018-04-05 15:33:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/svgcleaner (Old)
 and      /work/SRC/openSUSE:Factory/.svgcleaner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "svgcleaner"

Thu Apr  5 15:33:14 2018 rev:3 rq:593467 version:0.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/svgcleaner/svgcleaner.changes    2014-03-15 
17:37:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.svgcleaner.new/svgcleaner.changes       
2018-04-05 15:33:16.984594732 +0200
@@ -1,0 +2,27 @@
+Wed Apr  4 10:12:02 UTC 2018 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Fri Mar 30 10:13:10 UTC 2018 - so...@volted.net
+
+- Upgrade to 0.9.4
+  * Crash during defs processing.
+  * Crash during use resolving.
+  * The --resolve-use option does not resolve used use now.
+- Add svgcleaner-gui-suse.patch
+
+-------------------------------------------------------------------
+Tue Mar 27 09:23:40 UTC 2018 - so...@volted.net
+
+- Upgrade to 0.9.3, major changes since 0.6.2:
+  * Rewritten from C++ to Rust (3x faster)
+  * Implemented own SVG parser and SVG DOM
+  * GUI is in separated source now
+  * Added a documentation for all cleaning options
+  * Addition of many CLI options
+  * Lots of fixes (see project page for details)
+  * Main package is now svgcleaner
+  * GUI is in svgcleaner-gui
+
+-------------------------------------------------------------------

Old:
----
  SVGCleaner-0.6.2.tar.gz

New:
----
  gui-v0.9.4.tar.gz
  svgcleaner-gui-suse.patch
  v0.9.4.tar.gz
  vendor.tar.xz

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

Other differences:
------------------
++++++ svgcleaner.spec ++++++
--- /var/tmp/diff_new_pack.BbvvXJ/_old  2018-04-05 15:33:18.636535028 +0200
+++ /var/tmp/diff_new_pack.BbvvXJ/_new  2018-04-05 15:33:18.644534738 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package svgcleaner
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,74 +17,85 @@
 
 
 Name:           svgcleaner
-Version:        0.6.2
+Version:        0.9.4
 Release:        0
-Summary:        SVG files cleaner
-License:        GPL-2.0+
-Group:          Productivity/Graphics/Vector Editors
-Url:            http://qt-apps.org/content/show.php/SVG+Cleaner?content=147974
-Source0:        
https://github.com/RazrFalcon/SVGCleaner/archive/v%{version}/SVGCleaner-%{version}.tar.gz
-BuildRequires:  libqt4-devel >= 4.6
-BuildRequires:  update-desktop-files
-# for directory owner fix
+Summary:        A software to help you clean up your SVG files from the 
unnecessary data
+License:        GPL-2.0-only
+Group:          Productivity/Graphics/Other
+URL:            https://github.com/RazrFalcon/svgcleaner
+Source0:        v%{version}.tar.gz
+Source1:        gui-v%{version}.tar.gz
+Source2:        vendor.tar.xz
+Patch0:         svgcleaner-gui-suse.patch
+BuildRequires:  cargo
+BuildRequires:  desktop-file-utils
+BuildRequires:  git
 BuildRequires:  hicolor-icon-theme
-Requires:       %{name}-cli = %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libQt5Concurrent-devel
+BuildRequires:  libqt5-qtbase-common-devel
+BuildRequires:  libqt5-qtsvg-devel
+BuildRequires:  pkgconfig
+BuildRequires:  rust
+BuildRequires:  rust-std
+BuildRequires:  update-desktop-files
+Requires:       %{name}-gui = %{version}
+Requires:       p7zip
 
 %description
-Generally, SVG files produced by vector editors contain a lot of unused 
elements
-and attributes that just blow up their size, but not add quality. SVG Cleaner
-could help you to clean up your SVG files from unnecessary data. It works in 
batch
-mode and basically does two things:
- - removing elements and attributes that don't contribute to the final 
rendering;
- - making those elements and attributes that are actually used more compact.
-The app has a lot of options for cleanup and optimization and provides
-multithreaded file processing on the multicore processors.
-
-%package        cli
-Summary:        CLI for SVG files cleaner
-Group:          Productivity/Graphics/Vector Editors
+Svgcleaner reduces the size of an SVG image by removing useless data such as
+- temporary data used by the vector editing application
+_ non-optimal SVG structure representation
+_ unused and invisible graphical elements
+
+%package -n svgcleaner-gui
+Summary:        Graphical user interface to svgcleaner
+Group:          Productivity/Graphics/Other
+Requires:       %{name} = %{version}
 Requires:       p7zip
 
-%description    cli
-Generally, SVG files produced by vector editors contain a lot of unused 
elements
-and attributes that just blow up their size, but not add quality. SVG Cleaner
-could help you to clean up your SVG files from unnecessary data. It works in 
batch
-mode and basically does two things:
- - removing elements and attributes that don't contribute to the final 
rendering;
- - making those elements and attributes that are actually used more compact.
-The app has a lot of options for cleanup and optimization and provides
-multithreaded file processing on the multicore processors.
-
-This package provides a command-line interface to SVG files cleaner.
+%description -n svgcleaner-gui
+This package provides a Qt graphical user interface to svgcleaner.
 
 %prep
-%setup -q -n SVGCleaner-%{version}
-sed -i '/Version=*/d' %{name}.desktop
+%setup -q
+%setup -q -a 1
+%patch0 -p1
+%setup -q -D -T -a 2
+mkdir cargo-home
+cat >cargo-home/config <<EOF
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+[source.vendored-sources]
+directory = './vendor'
+EOF
 
 %build
-qmake -o Makefile %{name}.pro PREFIX=%{_prefix}
-make %{?_smp_mflags}
+export CARGO_HOME=`pwd`/cargo-home/
+cargo build --release %{?_smp_mflags}
+cd svgcleaner-gui-%{version}
+%qmake5
+%make_jobs
+cd ..
 
 %install
+mkdir build
+export CARGO_HOME=`pwd`/cargo-home/
+cargo install --root=build
+mkdir -p %{buildroot}%{_bindir}
+install -Dm0775 build/bin/svgcleaner %{buildroot}%{_bindir}/svgcleaner
+cd svgcleaner-gui-%{version}
 %make_install INSTALL_ROOT=%{buildroot}
-%suse_update_desktop_file -r %{name} Graphics 2DGraphics VectorGraphics
-install -d %{buildroot}%{_bindir}
-install -Dm 755 bin/%{name}-cli %{buildroot}%{_bindir}
-install -Dm 755 bin/%{name}-gui %{buildroot}%{_bindir}
-install -d %{buildroot}%{_datadir}/%{name}/translations/
-install -Dm 644 bin/%{name}*.qm %{buildroot}%{_datadir}/%{name}/translations/
+cd ..
 
 %files
-%defattr(-,root,root)
-%doc README LICENSE.txt
+%license LICENSE.txt
+%doc CHANGELOG.md FAQ.md data/help.txt
+%attr(0755,-,-) %{_bindir}/svgcleaner
+
+%files -n svgcleaner-gui
 %{_bindir}/%{name}-gui
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
-%{_datadir}/%{name}/
-
-%files cli
-%defattr(-,root,root)
-%{_bindir}/%{name}-cli
+%attr(0644,-,-) %{_datadir}/applications/svgcleaner.desktop
+%{_datadir}/icons/hicolor/scalable/apps/svgcleaner.svg
 
 %changelog

++++++ svgcleaner-gui-suse.patch ++++++
Index: svgcleaner-0.9.4/svgcleaner-gui-0.9.4/svgcleaner.desktop
===================================================================
--- svgcleaner.desktop.orig
+++ svgcleaner.desktop
@@ -5,4 +5,4 @@
 Exec=svgcleaner-gui
 Icon=svgcleaner
 Type=Application
-Categories=Graphics;
+Categories=GNOME;Graphics;2DGraphics;RasterGraphics;

Reply via email to