|
|
|
@ -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 <gbcox@fedoraproject.org> 2.4.8-1
|
|
|
|
|
- Upstream release rhbz#1240642
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|