2018-05-20 12:23:44 +02:00
|
|
|
#
|
|
|
|
# spec file for package qlipper
|
|
|
|
#
|
2019-01-31 11:46:39 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2018-05-20 12:23:44 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-31 11:46:39 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-20 12:23:44 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: qlipper
|
2018-05-20 12:30:07 +02:00
|
|
|
Version: 5.1.1
|
2018-05-20 12:23:44 +02:00
|
|
|
Release: 0
|
2018-08-13 13:06:56 +02:00
|
|
|
Summary: Clipboard history applet
|
|
|
|
License: GPL-2.0-or-later
|
2018-05-20 12:23:44 +02:00
|
|
|
Group: Productivity/Text/Utilities
|
|
|
|
URL: https://github.com/pvanek/qlipper
|
2018-05-20 12:30:07 +02:00
|
|
|
Source: https://github.com/pvanek/qlipper/archive/%{version}.tar.gz
|
2018-05-20 12:23:44 +02:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
2019-01-31 11:46:39 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel >= 0.5.0
|
2018-05-20 12:23:44 +02:00
|
|
|
BuildRequires: pkgconfig
|
2018-08-13 13:06:56 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2018-05-20 12:23:44 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2018-08-13 13:06:56 +02:00
|
|
|
A clipboard history applet.
|
2018-05-20 12:23:44 +02:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake \
|
|
|
|
-DENABLE_LXQT_AUTOSTART=ON
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%suse_update_desktop_file -r -u %{name} Utility DesktopUtility
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGELOG COPYING README
|
|
|
|
%{_sysconfdir}/xdg/autostart/lxqt-%{name}-autostart.desktop
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/translations
|
|
|
|
|
|
|
|
%changelog
|