commit nomacs for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package nomacs for openSUSE:Factory checked in at 2017-11-27 22:18:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nomacs (Old) and /work/SRC/openSUSE:Factory/.nomacs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nomacs" Mon Nov 27 22:18:33 2017 rev:14 rq:545903 version:3.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nomacs/nomacs.changes 2017-11-15 16:55:58.744036681 +0100 +++ /work/SRC/openSUSE:Factory/.nomacs.new/nomacs.changes 2017-11-27 22:18:36.678198784 +0100 @@ -1,0 +2,6 @@ +Sun Nov 26 22:59:10 UTC 2017 - sor.alexei@meowr.ru + +- Build with the Release build type (gh#opencv/opencv#10105). +- Re-enable locales. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nomacs.spec ++++++ --- /var/tmp/diff_new_pack.EnORoO/_old 2017-11-27 22:18:37.958152328 +0100 +++ /var/tmp/diff_new_pack.EnORoO/_new 2017-11-27 22:18:37.962152184 +0100 @@ -25,6 +25,7 @@ Url: https://nomacs.org/ Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake >= 2.8 +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: lcov BuildRequires: libqt5-linguist-devel >= 5.2 @@ -42,6 +43,7 @@ BuildRequires: pkgconfig(libraw) >= 0.17 BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(zlib) +Recommends: %{name}-lang %description nomacs is a free image viewer, which is small, fast and able to handle the @@ -50,6 +52,8 @@ computer or via LAN is possible. It allows to compare images and spot the differences (e.g. schemes of architects to show the progress). +%lang_package + %prep %setup -q sed -i 's/\r$//g' ImageLounge/Readme/* @@ -57,9 +61,11 @@ %build pushd ImageLounge/ %cmake \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS='%{optflags} -fno-strict-aliasing' \ -DCMAKE_CXX_FLAGS='%{optflags} -fno-strict-aliasing' \ - -DCMAKE_SHARED_LINKER_FLAGS="" + -DCMAKE_SHARED_LINKER_FLAGS="" \ + -DENABLE_TRANSLATIONS=ON make %{?_smp_mflags} V=1 popd @@ -73,6 +79,8 @@ rm %{buildroot}%{_libdir}/lib%{name}*.so %suse_update_desktop_file %{name} +%find_lang %{name} --with-qt +%fdupes %{buildroot}%{_datadir}/ %post /sbin/ldconfig @@ -90,6 +98,8 @@ %doc ImageLounge/Readme/* %{_bindir}/%{name} %{_libdir}/lib%{name}*.so.* +%{_datadir}/%{name}/ +%exclude %{_datadir}/%{name}/translations/ %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.* %if 0%{?suse_version} > 1320 @@ -101,4 +111,7 @@ %endif %{_mandir}/man?/%{name}.?%{?ext_man} +%files lang -f %{name}.lang +%dir %{_datadir}/%{name}/translations/ + %changelog
participants (1)
-
root@hilbert.suse.de