Hello community, here is the log from the commit of package nomacs for openSUSE:Factory checked in at 2016-07-28 23:46:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nomacs (Old) and /work/SRC/openSUSE:Factory/.nomacs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nomacs" Changes: -------- --- /work/SRC/openSUSE:Factory/nomacs/nomacs.changes 2016-06-19 10:50:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nomacs.new/nomacs.changes 2016-07-28 23:46:38.000000000 +0200 @@ -1,0 +2,17 @@ +Sat Jul 23 16:15:39 UTC 2016 - sor.ale...@meowr.ru + +- Update to version 3.4: + * Rework Batch UI. + * Add Batch Profiles. + * Cropping to metadata. + * Improve RGB to Gray. + * Fix crash on delete. + * Fix slow thumbnail rendering. + * Improve start-up time. + * Fix RAW/PSD orientation. +- Remove nomacs-3.2.0-gcc6.patch: fixed upstream. +- Remove /usr/lib(|64)/libnomacs*.so files: for development, yet + no development seem possible for nomacs now. +- Add ldconfig to post(|un). + +------------------------------------------------------------------- Old: ---- nomacs-3.2.0-gcc6.patch nomacs-3.2.0-source.tar.bz2 New: ---- nomacs-3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nomacs.spec ++++++ --- /var/tmp/diff_new_pack.7IVxRS/_old 2016-07-28 23:46:40.000000000 +0200 +++ /var/tmp/diff_new_pack.7IVxRS/_new 2016-07-28 23:46:40.000000000 +0200 @@ -17,17 +17,14 @@ Name: nomacs -Version: 3.2.0 +Version: 3.4 Release: 0 Summary: Lightweight image viewer License: GPL-3.0+ Group: Productivity/Graphics/Viewers Url: http://nomacs.org/ -Source: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}-source.tar.bz2 -# PATCH-FIX-UPSTREAM nomacs-3.2.0-gcc6.patch boo#985374 ser...@serjux.com -- Fix GCC6 errors. -Patch0: %{name}-3.2.0-gcc6.patch -BuildRequires: cmake >= 2.6 -BuildRequires: dos2unix +Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: cmake >= 2.8 BuildRequires: gcc-c++ BuildRequires: libqt5-linguist-devel >= 5.2 BuildRequires: opencv-qt5-devel >= 2.4.6 @@ -54,40 +51,40 @@ %prep %setup -q -%patch0 -p1 -dos2unix Readme/* -find src -type f -name '*.cpp' | while read f; do - # Fix encoding issues in nomacs with Qt5. - dos2unix "$f" && \ - iconv -f iso-8859-2 -t utf-8 "$f" > "$f.new" && \ - mv -f "$f.new" "$f" -done +sed -i 's/\r$//g' ImageLounge/Readme/* %build +pushd ImageLounge/ %cmake \ -DCMAKE_C_FLAGS='%{optflags} -fno-strict-aliasing' \ -DCMAKE_CXX_FLAGS='%{optflags} -fno-strict-aliasing' \ -DCMAKE_SHARED_LINKER_FLAGS="" make %{?_smp_mflags} +popd %install +pushd ImageLounge/ %cmake_install -install -Dm 0644 %{name}.appdata.xml \ +popd +install -Dm 0644 ImageLounge/%{name}.appdata.xml \ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml + +rm %{buildroot}%{_libdir}/lib%{name}*.so %suse_update_desktop_file %{name} %find_lang %{name} --with-qt %post %desktop_database_post +/sbin/ldconfig %postun %desktop_database_postun +/sbin/ldconfig %files %defattr(-,root,root) -%doc Readme/* +%doc ImageLounge/Readme/* %{_bindir}/%{name} -%{_libdir}/lib%{name}*.so %{_libdir}/lib%{name}*.so.* %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop