Hello community, here is the log from the commit of package engauge-digitizer for openSUSE:Factory checked in at 2016-07-14 09:43:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/engauge-digitizer (Old) and /work/SRC/openSUSE:Factory/.engauge-digitizer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "engauge-digitizer" Changes: -------- --- /work/SRC/openSUSE:Factory/engauge-digitizer/engauge-digitizer.changes 2015-03-18 13:06:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.engauge-digitizer.new/engauge-digitizer.changes 2016-07-14 09:43:44.000000000 +0200 @@ -1,0 +2,28 @@ +Thu Jun 30 15:20:39 UTC 2016 - badshah...@gmail.com + +- Update to version 8.2: + + Sub-pixel point placement increases accuracy + + Undo/redo makes recovering from mistakes easy + + Easier and more powerful zooming + + Improved drag-and-drop + + Wizard provides an interactive tutorial to explain the basic + steps + + Wizard creates a checklist guide to interactively leads + user through steps from file import to file export + + See https://github.com/markummitchell/engauge-digitizer/releases + for a full list of chages since previously packaged version. +- Packaging changes: + + Drop doc-path.patch: No longer needed. + + Build hires icons from bundled icns file and install them + to the hicolor icon directory; drop addtional png icon file. + + Build and install PDF and HTML documentation in-situ using + doxygen as part of doc subpackage. + + Building now depends on Qt5 libraries, update BuildRequires. + + Build and install help files in main pkg. + + Post and Postun scriptlets to update desktop database and + hicolor icon theme cache. + + Install bundled appdata file into appdata dir. + + Add rpmlintrc file to suppress false positive warnings for + file-contains-date-and-time in the doc package. + +------------------------------------------------------------------- Old: ---- doc-path.patch engauge-digitizer.png engauge_5.2.tgz New: ---- engauge-digitizer-rpmlintrc v8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ engauge-digitizer.spec ++++++ --- /var/tmp/diff_new_pack.znZEWu/_old 2016-07-14 09:43:46.000000000 +0200 +++ /var/tmp/diff_new_pack.znZEWu/_new 2016-07-14 09:43:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package engauge-digitizer # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,22 +17,60 @@ Name: engauge-digitizer -Version: 5.2 +Version: 8.2 Release: 0 Summary: Ditigize old graphs into numbers again License: GPL-2.0+ Group: Productivity/Scientific/Other -Url: http://digitizer.sourceforge.net/ -Source: http://downloads.sourceforge.net/digitizer/engauge_%{version}.tgz +Url: http://markummitchell.github.io/engauge-digitizer/ +Source0: https://github.com/markummitchell/%{name}/archive/v%{version}.tar.gz Source1: %{name}.desktop -Source2: %{name}.png -# PATCH-FIX-OPENSUSE doc-path.patch -- fix path to documentation -Patch0: doc-path.patch -BuildRequires: fftw3-devel +Source2: %{name}-rpmlintrc +BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: libqt4-devel -BuildRequires: libqt4-qt3support +BuildRequires: hicolor-icon-theme +BuildRequires: icns-utils +BuildRequires: pkgconfig +BuildRequires: texlive-epstopdf-bin +BuildRequires: texlive-latex-bin +BuildRequires: texlive-makeindex-bin +BuildRequires: texlive-metafont-bin BuildRequires: update-desktop-files +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Help) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5PrintSupport) +BuildRequires: pkgconfig(Qt5Sql) +BuildRequires: pkgconfig(Qt5UiTools) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libopenjp2) +BuildRequires: pkgconfig(libpng12) +BuildRequires: pkgconfig(log4cpp) +BuildRequires: tex(8r.enc) +BuildRequires: tex(adjustbox.sty) +BuildRequires: tex(caption.sty) +BuildRequires: tex(colortbl.sty) +BuildRequires: tex(fancyhdr.sty) +BuildRequires: tex(float.sty) +BuildRequires: tex(geometry.sty) +BuildRequires: tex(helvet.sty) +BuildRequires: tex(hyperref.sty) +BuildRequires: tex(multirow.sty) +BuildRequires: tex(natbib.sty) +BuildRequires: tex(pcrr8t.tfm) +BuildRequires: tex(phvr8t.tfm) +BuildRequires: tex(sectsty.sty) +BuildRequires: tex(tabu.sty) +BuildRequires: tex(textcomp.sty) +BuildRequires: tex(tocloft.sty) +BuildRequires: tex(wasy7.tfm) +BuildRequires: tex(wasysym.sty) +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils Recommends: %{name}-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,38 +83,82 @@ %package doc Summary: Documentation for Engauge Digitizer Group: Documentation/HTML -BuildArch: noarch Requires: %{name} = %{version} +BuildArch: noarch %description doc This package contains the documentation for Engauge Digitizer. %prep -%setup -q -n engauge-%{version} -cp %{SOURCE1} . -cp %{SOURCE2} . -%patch0 -p1 -chmod 644 usermanual/date* -sed -i 's/\r$//' usermanual/date* +%setup -q %build -qmake digitizer.pro QMAKE_CFLAGS="%optflags -fno-strict-aliasing" QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" +# ADD JPEG2000 SUPPORT +export JPEG2000_INCLUDE=%{_includedir}/openjpeg-2.1 +export JPEG2000_LIB=%{_libdir} +export OPENJPEG_INCLUDE=%{_includedir}/openjpeg-2.1 +export OPENJPEG_LIB=%{_libdir} + +qmake-qt5 engauge.pro \ + "DEFINES+=HELPDIR=%{_docdir}/%{name}/help" \ + QMAKE_CFLAGS="%optflags -fno-strict-aliasing" \ + QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" make %{?_smp_mflags} +#HELP files +pushd help +qcollectiongenerator-qt5 engauge.qhcp -o engauge.qhc +mv engauge.qch ../bin/documentation +mv engauge.qhc ../bin/documentation +rm -f build +popd + +#HTML/Latex documentation files +pushd src +doxygen +popd + +pushd doc/doxygen/latex +make pdf +popd + %install install -Dm 755 bin/engauge %{buildroot}%{_bindir}/engauge -install -Dm 644 %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png + +#INSTALL HI-RES ICONS +pushd src/img +icns2png -x digitizer.icns +for sz in 16 32 128 256 512; +do + install -Dm 0644 digitizer_${sz}x${sz}x32.png %{buildroot}%{_datadir}/icons/hicolor/${sz}x${sz}/apps/%{name}.png +done +popd + %suse_update_desktop_file -i %{name} +#INSTALL APPDATA +install -Dm 0644 dev/gnome/engauge-digitizer.appdata.xml \ + %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml + +%post +%icon_theme_cache_post +%desktop_database_post + +%postun +%icon_theme_cache_postun +%desktop_database_postun + %files %defattr(-,root,root) -%doc doc/users/README +%doc README.md help bin/documentation/engauge.qhc bin/documentation/engauge.qch %{_bindir}/engauge +%{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%dir %{_datadir}/appdata +%{_datadir}/appdata/%{name}.appdata.xml %files doc -%defattr(-,root,root) -%doc usermanual/ +%doc README.md doc/doxygen/html doc/doxygen/latex/refman.pdf +%license LICENSE %changelog ++++++ engauge-digitizer-rpmlintrc ++++++ addFilter("engauge-digitizer-doc.* file-contains-date-and-time")