summaryrefslogtreecommitdiff
path: root/copyq/copyq.spec
diff options
context:
space:
mode:
Diffstat (limited to 'copyq/copyq.spec')
-rw-r--r--copyq/copyq.spec53
1 files changed, 29 insertions, 24 deletions
diff --git a/copyq/copyq.spec b/copyq/copyq.spec
index 59c3b9f..c06f6e8 100644
--- a/copyq/copyq.spec
+++ b/copyq/copyq.spec
@@ -1,20 +1,19 @@
-# copyq spec for CentOS 7 and 8. Ripped from Fedora release. No attempt to fedoraize is made here.
%define with_html 1
-%global project CopyQ
-Name: copyq
-Summary: Advanced clipboard manager
-Version: 3.9.2
-Release: 1%{?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-qtsvg-devel
-BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qt5-qtx11extras-devel
-BuildRequires: extra-cmake-modules
+%global project CopyQ
+Name: copyq
+Summary: Advanced clipboard manager
+Version: 3.9.2
+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-qtsvg-devel
+BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel
+BuildRequires: extra-cmake-modules, appstream-qt-devel
%if 0%{?rhel} >= 8
%else
-BuildRequires: qwt-devel
+BuildRequires: qwt-devel
%endif
%if 0%{?with_html}
BuildRequires: qt5-qtwebkit-devel
@@ -30,12 +29,12 @@ chmod 644 %{SOURCE0}
sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt
%build
-%{cmake_kf5} -DCMAKE_SKIP_RPATH=TRUE \
- -DWITH_QT5=ON \
- -DWITH_TESTS=TRUE \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
- -DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale .
+%{cmake_kf5} -DCMAKE_SKIP_RPATH=TRUE \
+ -DWITH_QT5=ON \
+ -DWITH_TESTS=TRUE \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
+ -DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale .
make %{?_smp_mflags}
%install
@@ -60,11 +59,17 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/com.github.hluk.%{
%{_mandir}/man1/%{name}.1.*
%changelog
-* Tue Oct 08 2019 B Stack <bgstack15@gmail.com> - 3.9.2-1
-- Upstream release
+* Tue Nov 12 2019 B Stack <bgstack15@gmail.com> - 3.9.2-2
+- Adapted for CentOS 7 and 8
-* Wed Jul 31 2019 B Stack <bgstack15@gmail.com> - 3.9.0-1
-- Adapted for CentOS 7
+* Sun Aug 25 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.2-1
+- Upstream release rhbz#1742997
+
+* Sun Aug 18 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.1-1
+- Upstream release rhbz#1742997
+
+* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jun 27 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.0-1
- Upstream release rhbz#1724540
bgstack15