summaryrefslogtreecommitdiff
path: root/copyq/stackrpms-copyq.spec.diff
diff options
context:
space:
mode:
Diffstat (limited to 'copyq/stackrpms-copyq.spec.diff')
-rw-r--r--copyq/stackrpms-copyq.spec.diff47
1 files changed, 47 insertions, 0 deletions
diff --git a/copyq/stackrpms-copyq.spec.diff b/copyq/stackrpms-copyq.spec.diff
new file mode 100644
index 0000000..4af7cf1
--- /dev/null
+++ b/copyq/stackrpms-copyq.spec.diff
@@ -0,0 +1,47 @@
+--- fedora/copyq.spec 2019-11-12 11:36:41.794801633 -0500
++++ stackrpms/copyq.spec 2019-11-12 11:52:29.115005959 -0500
+@@ -1,15 +1,23 @@
++%define with_html 1
+ %global project CopyQ
+ Name: copyq
+ Summary: Advanced clipboard manager
+ Version: 3.9.2
+-Release: 1%{?dist}
++Release: 2%{?dist}
+ License: GPLv3+
+ Url: https://hluk.github.io/%{project}/
+ Source0: https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz
+ BuildRequires: libXtst-devel, libXfixes-devel, desktop-file-utils
+-BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel
++BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtsvg-devel
+ BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel
+-BuildRequires: extra-cmake-modules, appstream-qt-devel, libappstream-glib
++BuildRequires: extra-cmake-modules, appstream-qt-devel
++%if 0%{?rhel} >= 8
++%else
++BuildRequires: qwt-devel
++%endif
++%if 0%{?with_html}
++BuildRequires: qt5-qtwebkit-devel
++%endif
+
+ %description
+ CopyQ is advanced clipboard manager with searchable and editable history with
+@@ -35,7 +43,6 @@
+
+ %check
+ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/com.github.hluk.%{name}.desktop
+-appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
+
+ %files -f %{name}.lang
+ %doc AUTHORS CHANGES HACKING README.md
+@@ -52,6 +59,9 @@
+ %{_mandir}/man1/%{name}.1.*
+
+ %changelog
++* Tue Nov 12 2019 B Stack <bgstack15@gmail.com> - 3.9.2-2
++- Adapted for CentOS 7 and 8
++
+ * Sun Aug 25 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.2-1
+ - Upstream release rhbz#1742997
+
bgstack15