diff --git a/.gitignore b/.gitignore index 09663fe..a5da3a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /copyq-2.4.6.tar.gz /CopyQ-2.4.7.tar.gz /copyq-rhbz-1227038.patch +/CopyQ-2.4.8.tar.gz diff --git a/CopyQ-2.4.8.tar.gz b/CopyQ-2.4.8.tar.gz new file mode 100644 index 0000000..c6fd8da Binary files /dev/null and b/CopyQ-2.4.8.tar.gz differ diff --git a/copyq.spec b/copyq.spec index a358ef5..02367c1 100644 --- a/copyq.spec +++ b/copyq.spec @@ -1,12 +1,11 @@ %global project CopyQ Name: copyq Summary: Advanced clipboard manager -Version: 2.4.7 -Release: 2%{?dist} +Version: 2.4.8 +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 -Patch0: %{name}-rhbz-1227038.patch BuildRequires: libXtst-devel, libXfixes-devel, desktop-file-utils BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel @@ -17,8 +16,10 @@ CopyQ is advanced clipboard manager with searchable and editable history with support for image formats, command line control and more. %prep +chmod 644 %{SOURCE0} %setup -qn %{project}-%{version} -%patch0 -p1 +sed -i '/DQT_NO_CAST_TO_ASCII/d' CMakeLists.txt +sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt %build %{cmake_kf5} -DCMAKE_SKIP_RPATH=TRUE \ @@ -28,7 +29,7 @@ support for image formats, command line control and more. -DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \ -DTRANSLATION_INSTALL_PREFIX:PATH=share/%{name}/locale make %{?_smp_mflags} - + %install make DESTDIR=$RPM_BUILD_ROOT install %find_lang %{name} --with-qt @@ -48,6 +49,7 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}*.svg %dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/locale/ +%{_datadir}/%{name}/locale/*ckb.qm %{_datadir}/%{name}/themes/ %post @@ -63,6 +65,9 @@ fi /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Jul 7 2015 Gerald Cox 2.4.8-1 +- Upstream release rhbz#1240642 + * Wed Jun 17 2015 Fedora Release Engineering - 2.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 9cc314b..4d9a386 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -4215c5e3fc0c5bb050b79f07cfb88a20 CopyQ-2.4.7.tar.gz -a11e5a16f9d3bd849263f2144e7f9805 copyq-rhbz-1227038.patch +74de03d3d45def995330fa48a86bbd1e CopyQ-2.4.8.tar.gz