Upstream release rhbz#1948314

e9
gbcox 4 years ago
parent 89fd0df3dd
commit 4c0fd4a2ff

1
.gitignore vendored

@ -43,3 +43,4 @@
/CopyQ-3.11.1.tar.gz /CopyQ-3.11.1.tar.gz
/CopyQ-3.12.0.tar.gz /CopyQ-3.12.0.tar.gz
/CopyQ-3.13.0.tar.gz /CopyQ-3.13.0.tar.gz
/CopyQ-45c9508ae80ad210adc0eaebf200df715674ee1d.tar.gz

@ -1,32 +1,44 @@
%global project CopyQ %global forgeurl https://github.com/hluk/CopyQ/
Name: copyq %global commit 45c9508ae80ad210adc0eaebf200df715674ee1d
Summary: Advanced clipboard manager
Version: 3.13.0 Name: copyq
Release: 3%{?dist} Version: 4.0.0
License: GPLv3+ Release: 1%{?dist}
Url: https://hluk.github.io/%{project}/ Summary: Advanced clipboard manager
Source0: https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz License: GPLv3+
Source1: %{name}.rpmlintrc
BuildRequires: libXtst-devel, libXfixes-devel, desktop-file-utils %{forgemeta}
BuildRequires: kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel
BuildRequires: qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel Url: %{forgeurl}
BuildRequires: extra-cmake-modules, appstream-qt-devel, libappstream-glib Source0: %{forgesource}
Source1: %{name}.rpmlintrc
BuildRequires: cmake, extra-cmake-modules, gcc-c++
BuildRequires: appstream-qt-devel, libappstream-glib
BuildRequires: desktop-file-utils, git
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
%cmake_kf5 \ %cmake_kf5 \
-DWITH_QT5=ON \ -DWITH_QT5=ON \
-DWITH_TESTS=TRUE \ -DWITH_TESTS=TRUE \
-DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \ -DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
-DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale -DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale
%cmake_build %cmake_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

@ -1 +1 @@
SHA512 (CopyQ-3.13.0.tar.gz) = 898d4501002202849f0b5302d7315e8c539f8b0f8d5198641b3d3a647839581841e2ef1e2519c690d3cc95f85fdc921c979f2879348184de42767d31e081c307 SHA512 (CopyQ-45c9508ae80ad210adc0eaebf200df715674ee1d.tar.gz) = d294ccc0984ed29a85ac30598b5c49a8cd0385df84069f64bec3dabce6ba21a1bdf1527febfa55585d623581c1ac5f42826d83751f06c44f33702379183a11fb

Loading…
Cancel
Save