|
|
@ -1,24 +1,36 @@
|
|
|
|
%global project CopyQ
|
|
|
|
%global forgeurl https://github.com/hluk/CopyQ/
|
|
|
|
|
|
|
|
%global commit 45c9508ae80ad210adc0eaebf200df715674ee1d
|
|
|
|
|
|
|
|
|
|
|
|
Name: copyq
|
|
|
|
Name: copyq
|
|
|
|
|
|
|
|
Version: 4.0.0
|
|
|
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Advanced clipboard manager
|
|
|
|
Summary: Advanced clipboard manager
|
|
|
|
Version: 3.13.0
|
|
|
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
License: GPLv3+
|
|
|
|
Url: https://hluk.github.io/%{project}/
|
|
|
|
|
|
|
|
Source0: https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz
|
|
|
|
%{forgemeta}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Url: %{forgeurl}
|
|
|
|
|
|
|
|
Source0: %{forgesource}
|
|
|
|
Source1: %{name}.rpmlintrc
|
|
|
|
Source1: %{name}.rpmlintrc
|
|
|
|
BuildRequires: libXtst-devel, libXfixes-devel, desktop-file-utils
|
|
|
|
BuildRequires: cmake, extra-cmake-modules, gcc-c++
|
|
|
|
BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel
|
|
|
|
BuildRequires: appstream-qt-devel, libappstream-glib
|
|
|
|
BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel
|
|
|
|
BuildRequires: desktop-file-utils, git
|
|
|
|
BuildRequires: extra-cmake-modules, appstream-qt-devel, libappstream-glib
|
|
|
|
BuildRequires: libXtst-devel, libXfixes-devel
|
|
|
|
|
|
|
|
BuildRequires: kf5-knotifications-devel, kf5-rpm-macros,
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel, qt5-qtbase-private-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtsvg-devel, qt5-qtdeclarative-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qttools-devel, qt5-qtscript-devel
|
|
|
|
|
|
|
|
BuildRequires: qwt-qt5-devel, qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
BuildRequires: wayland-devel, qt5-qtwayland-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
CopyQ is advanced clipboard manager with searchable and editable history with
|
|
|
|
CopyQ is advanced clipboard manager with searchable and editable history with
|
|
|
|
support for image formats, command line control and more.
|
|
|
|
support for image formats, command line control and more.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%{forgesetup}
|
|
|
|
chmod 644 %{SOURCE0}
|
|
|
|
chmod 644 %{SOURCE0}
|
|
|
|
%setup -qn %{project}-%{version}
|
|
|
|
%autosetup -n %{archivename}
|
|
|
|
sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt
|
|
|
|
sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -39,12 +51,13 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/com.github.hluk.%{
|
|
|
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
|
|
|
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc AUTHORS CHANGES HACKING README.md
|
|
|
|
%doc AUTHORS CHANGES.md HACKING README.md
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
|
|
|
|
%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
|
|
|
|
%{_datadir}/applications/com.github.hluk.%{name}.desktop
|
|
|
|
%{_datadir}/applications/com.github.hluk.%{name}.desktop
|
|
|
|
|
|
|
|
%{_datadir}/bash-completion/completions/copyq
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
|
|
|
|
%dir %{_datadir}/%{name}/
|
|
|
|
%dir %{_datadir}/%{name}/
|
|
|
@ -53,6 +66,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.gi
|
|
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Apr 11 2021 Gerald Cox <gbcox@fedoraproject.org> - 4.0.0-1
|
|
|
|
|
|
|
|
- Upstream release rhbz#1948314
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-3
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|