Upstream release rhbz#1227038

e9
gbcox 10 years ago
parent 1f4d30103e
commit 4655647c11

2
.gitignore vendored

@ -1 +1,3 @@
/copyq-2.4.6.tar.gz /copyq-2.4.6.tar.gz
/CopyQ-2.4.7.tar.gz
/copyq-rhbz-1227038.patch

Binary file not shown.

@ -0,0 +1,14 @@
diff -up CopyQ-2.4.7/shared/copyq.appdata.xml.fix CopyQ-2.4.7/shared/copyq.appdata.xml
--- CopyQ-2.4.7/shared/copyq.appdata.xml.fix 2015-06-01 17:30:27.957538270 -0700
+++ CopyQ-2.4.7/shared/copyq.appdata.xml 2015-06-01 17:23:27.357553784 -0700
@@ -3,7 +3,9 @@
<component type="desktop">
<id>copyq.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
- <project_license>GPL-3.0+</project_license>
+ <project_license>GPL-3.0+</project_license>
+ <name>CopyQ</name>
+ <summary>Advanced Qt based clipboard manager</summary>
<description>
<p>

@ -1,22 +1,29 @@
%global project CopyQ
Name: copyq Name: copyq
Summary: Advanced clipboard manager Summary: Advanced clipboard manager
Version: 2.4.6 Version: 2.4.7
Release: 5%{?dist} Release: 1%{?dist}
License: GPLv3+ License: GPLv3+
Url: http://sourceforge.net/projects/%{name}/ Url: https://hluk.github.io/%{project}/
Source0: http://sourceforge.net/projects/%{name}/files/%{name}-%{version}.tar.gz Source0: https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz
BuildRequires: cmake, libXtst-devel, qt4-devel, qtwebkit-devel Patch0: %{name}-rhbz-1227038.patch
BuildRequires: desktop-file-utils, libXfixes-devel 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
BuildRequires: extra-cmake-modules, appstream-qt-devel, libappstream-glib
%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
%setup -qn %{name}-%{version} %setup -qn %{project}-%{version}
%patch0 -p1
%build %build
%cmake -DCMAKE_SKIP_RPATH=TRUE \ %{cmake_kf5} -DCMAKE_SKIP_RPATH=TRUE \
-DWITH_QT5=ON \
-DWITH_TESTS=TRUE \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \ -DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
-DTRANSLATION_INSTALL_PREFIX:PATH=share/%{name}/locale -DTRANSLATION_INSTALL_PREFIX:PATH=share/%{name}/locale
@ -28,13 +35,16 @@ make DESTDIR=$RPM_BUILD_ROOT install
%check %check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
%files -f %{name}.lang %files -f %{name}.lang
%doc AUTHORS CHANGES HACKING README.md %doc AUTHORS CHANGES HACKING README.md
%license LICENSE %license LICENSE
%{_bindir}/%{name} %{_bindir}/%{name}
%{_libdir}/%{name}/ %{_libdir}/%{name}/
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}*.png
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg %{_datadir}/icons/hicolor/*/apps/%{name}*.svg
%dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/locale/ %dir %{_datadir}/%{name}/locale/
@ -53,6 +63,12 @@ fi
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Mon Jun 1 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.7-1
- Upstream release rhbz#1227038
* Fri May 8 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-6
- Change requirement from Qt4 to Qt5
* Fri May 1 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-5 * Fri May 1 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-5
- Deactivate DEBUG messages rhbz#1217874 - Deactivate DEBUG messages rhbz#1217874

@ -1 +1,2 @@
d5dbc9dd506baf2657fecab1a8485616 copyq-2.4.6.tar.gz 4215c5e3fc0c5bb050b79f07cfb88a20 CopyQ-2.4.7.tar.gz
a11e5a16f9d3bd849263f2144e7f9805 copyq-rhbz-1227038.patch

Loading…
Cancel
Save