Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
nomacs
nomacs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nomacs.spec of Package nomacs
# # spec file for package nomacs # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: nomacs 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}/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 BuildRequires: pkg-config BuildRequires: quazip-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2 BuildRequires: pkgconfig(Qt5Network) >= 5.2 BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.2 BuildRequires: pkgconfig(Qt5Svg) >= 5.2 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2 BuildRequires: pkgconfig(exiv2) >= 0.25 BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(libraw) >= 0.17 BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(zlib) %description nomacs is a free image viewer, which is small, fast and able to handle the most common image formats. Additionally it is possible to synchronise multiple viewers. A synchronisation of viewers running on the same computer or via LAN is possible. It allows to compare images and spot the differences (e.g. schemes of architects to show the progress). %prep %setup -q 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 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 ImageLounge/Readme/* %{_bindir}/%{name} %{_libdir}/lib%{name}*.so.* %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.* %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml %{_mandir}/man?/%{name}.?%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor