76 lines
2.1 KiB
RPMSpec
76 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package qlipper
|
|
#
|
|
# Copyright (c) 2018 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: qlipper
|
|
Version: 5.1.1
|
|
Release: 0
|
|
Summary: Cross-platform clipboard history applet
|
|
License: GPL-2.0+
|
|
Group: Productivity/Text/Utilities
|
|
URL: https://github.com/pvanek/qlipper
|
|
Source: https://github.com/pvanek/qlipper/archive/%{version}.tar.gz
|
|
BuildRequires: cmake >= 3.1.0
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
|
BuildRequires: lxqt-build-tools-devel >= 0.4.0
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
%if 0%{?suse_version}
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Lightweight and cross-platform clipboard history applet.
|
|
|
|
%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
|