File dfm.spec of Package dfm

#
# spec file for package dfm
#
# Copyright (c) 2015 SUSE LINUX Products 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:           dfm
Version:        0.5.1
Release:        0
License:        GPL-2.0
Summary:        A QT based crossplatform File browser
Url:            http://dfilemanager.sourceforge.net
Group:          Productivity/File utilities
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake >= 2.8.11
BuildRequires:  cmake(KF5Solid)
BuildRequires:  file-devel
BuildRequires:  gcc-c++
#uildRequires:  libffmpegthumbnailer-devel
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5OpenGL)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  pkgconfig(Qt5Xml)
BuildRequires:  pkgconfig(exiv2)
BuildRequires:  pkgconfig(poppler-qt5)
BuildRequires:  pkgconfig(x11)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A QT based crossplatform File browser. The most difference to other filebrowsers is the
accessible Bookmark system and the custumizable Thumbnail preview for media files.
Features
 * Categorised bookmarks
 * Simple searching and filtering
 * customizable Thumbnails for filetypes like multi media stuff
 * Can remember some view properties for each folder (unix only)
 * Four Different views Breadcrumbs navigationbar Tabs

%prep
%setup -q

%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
%cmake -DQT5BUILD=ON
make %{?_smp_mflags}

%install
%cmake_install

%files
%defattr(-,root,root)
%doc dfm/COPYING
%{_bindir}/%{name}
%{_libexecdir}/%{name}
%{_datadir}/applications/%{name}.desktop
openSUSE Build Service is sponsored by