/[packages]/cauldron/nomacs/current/SPECS/nomacs.spec
ViewVC logotype

Diff of /cauldron/nomacs/current/SPECS/nomacs.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1725478 by umeabot, Thu Dec 17 04:17:37 2020 UTC revision 1725479 by daviddavid, Tue May 18 19:13:29 2021 UTC
# Line 2  Line 2 
2    
3  Name:           nomacs  Name:           nomacs
4  Version:        3.16.224  Version:        3.16.224
5  Release:        %mkrel 4  Release:        %mkrel 5
6  Summary:        A fast and small image viewer  Summary:        A fast and small image viewer
7  License:        GPLv3  License:        GPLv3
8  Group:          Graphics/Viewers  Group:          Graphics/Viewers
# Line 10  Url:           http://www.nomacs.org Line 10  Url:           http://www.nomacs.org
10  # From https://github.com/nomacs/nomacs/ - only ImageLounge directory repacked  # From https://github.com/nomacs/nomacs/ - only ImageLounge directory repacked
11  # Memo: tar Jcvf nomacs-%%{version}.tar.xz nomacs-%%{version}/  # Memo: tar Jcvf nomacs-%%{version}.tar.xz nomacs-%%{version}/
12  Source0:        %{name}-%{version}.tar.xz  Source0:        %{name}-%{version}.tar.xz
13    Patch0:         0001-fixed-build-with-quazip-1.0.patch
14    
15  BuildRequires:  cmake  BuildRequires:  cmake
16  BuildRequires:  lcov  BuildRequires:  lcov
17  BuildRequires:  qttools5  BuildRequires:  qttools5
18    BuildRequires:  cmake(QuaZip-Qt5)
19  BuildRequires:  pkgconfig(Qt5Concurrent)  BuildRequires:  pkgconfig(Qt5Concurrent)
20  BuildRequires:  pkgconfig(Qt5Core)  BuildRequires:  pkgconfig(Qt5Core)
21  BuildRequires:  pkgconfig(Qt5Gui)  BuildRequires:  pkgconfig(Qt5Gui)
# Line 27  BuildRequires: pkgconfig(opencv) Line 29  BuildRequires: pkgconfig(opencv)
29  BuildRequires:  pkgconfig(exiv2)  BuildRequires:  pkgconfig(exiv2)
30  BuildRequires:  pkgconfig(libtiff-4)  BuildRequires:  pkgconfig(libtiff-4)
31  BuildRequires:  pkgconfig(zlib)  BuildRequires:  pkgconfig(zlib)
 BuildRequires:  quazip-devel  
32    
33  %description  %description
34  nomacs is an image viewer based on the Qt5 library. It is free, small, fast and  nomacs is an image viewer based on the Qt5 library. It is free, small, fast and
# Line 38  LAN is possible, which allows one to com Line 39  LAN is possible, which allows one to com
39    
40  %prep  %prep
41  %setup -q  %setup -q
42  %autopatch -p1  %autopatch -p2
43    
44  # fix SVG icon install path  # fix SVG icon install path
45  sed -i cmake/UnixBuildTarget.cmake -e 's@share/pixmaps@share/icons/hicolor/scalable/apps@'  sed -i cmake/UnixBuildTarget.cmake -e 's@share/pixmaps@share/icons/hicolor/scalable/apps@'
# Line 46  sed -i cmake/UnixBuildTarget.cmake -e 's Line 47  sed -i cmake/UnixBuildTarget.cmake -e 's
47  %build  %build
48  %cmake_qt5 \  %cmake_qt5 \
49          -DUSE_SYSTEM_QUAZIP=ON \          -DUSE_SYSTEM_QUAZIP=ON \
         -DQUAZIP_INCLUDE_DIR=%{_includedir}/quazip5 \  
50          -DENABLE_TRANSLATIONS=ON \          -DENABLE_TRANSLATIONS=ON \
51          -DENABLE_PLUGINS=OFF          -DENABLE_PLUGINS=OFF
52    

Legend:
Removed from v.1725478  
changed lines
  Added in v.1725479

  ViewVC Help
Powered by ViewVC 1.1.30