465564
%global project		CopyQ
259da1
Name:		copyq	
259da1
Summary:	Advanced clipboard manager
8d8c00
Version:	3.9.3
8d8c00
Release:	1%{?dist}
259da1
License:	GPLv3+
465564
Url:		https://hluk.github.io/%{project}/
465564
Source0:	https://github.com/hluk/%{project}/archive/v%{version}.tar.gz#/%{project}-%{version}.tar.gz
a9c54c
Source1:	%{name}.rpmlintrc
465564
BuildRequires:	libXtst-devel, libXfixes-devel, desktop-file-utils
465564
BuildRequires:	kf5-rpm-macros, qt5-qtbase-devel, qt5-qtwebkit-devel, qt5-qtsvg-devel
16da6a
BuildRequires:	qt5-qttools-devel, qt5-qtscript-devel, qwt-qt5-devel, qt5-qtx11extras-devel
465564
BuildRequires:	extra-cmake-modules, appstream-qt-devel, libappstream-glib
259da1
259da1
%description
259da1
CopyQ is advanced clipboard manager with searchable and editable history with
259da1
support for image formats, command line control and more.
259da1
259da1
%prep
243c64
chmod 644 %{SOURCE0}
465564
%setup -qn %{project}-%{version}
243c64
sed -i '/DQT_RESTRICTED_CAST_FROM_ASCII/d' CMakeLists.txt
259da1
259da1
%build
465564
%{cmake_kf5}	-DCMAKE_SKIP_RPATH=TRUE \
465564
				-DWITH_QT5=ON \
465564
				-DWITH_TESTS=TRUE \
465564
				-DCMAKE_INSTALL_PREFIX=%{_prefix} \
465564
				-DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
c95186
				-DTRANSLATION_INSTALL_PREFIX:PATH=%{_datadir}/%{name}/locale .
259da1
make %{?_smp_mflags}
243c64
259da1
%install
259da1
make DESTDIR=$RPM_BUILD_ROOT install
259da1
%find_lang %{name} --with-qt
259da1
259da1
%check
a1435b
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/com.github.hluk.%{name}.desktop
a1435b
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
259da1
259da1
%files -f %{name}.lang
259da1
%doc AUTHORS CHANGES HACKING README.md
259da1
%license LICENSE
259da1
%{_bindir}/%{name}
259da1
%{_libdir}/%{name}/
a1435b
%{_datadir}/metainfo/com.github.hluk.%{name}.appdata.xml
a1435b
%{_datadir}/applications/com.github.hluk.%{name}.desktop
465564
%{_datadir}/icons/hicolor/*/apps/%{name}*.png
259da1
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
259da1
%dir %{_datadir}/%{name}/
259da1
%dir %{_datadir}/%{name}/locale/
259da1
%{_datadir}/%{name}/themes/
b1e2c4
%{_mandir}/man1/%{name}.1.*
259da1
259da1
%changelog
8d8c00
* Sat Nov 16 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.3-1
8d8c00
- Upstream release rhbz#1773189
8d8c00
a9c54c
* Tue Oct 22 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.2-2
a9c54c
- Add rpmlintrc
a9c54c
5c0579
* Sun Aug 25 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.2-1
5c0579
- Upstream release rhbz#1742997
5c0579
8cdc9b
* Sun Aug 18 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.1-1
8cdc9b
- Upstream release rhbz#1742997
8cdc9b
c27a83
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
c27a83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c27a83
3fd799
* Thu Jun 27 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.9.0-1
3fd799
- Upstream release rhbz#1724540
3fd799
2072bf
* Wed Apr 10 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.8.0-1
2072bf
- Upstream release rhbz#1698544
2072bf
54be48
* Mon Feb 04 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.7.3-2
54be48
- Patch for missing tray icon rhbz#1672064
54be48
c95186
* Sun Feb 03 2019 Gerald Cox <gbcox@fedoraproject.org> - 3.7.3-1
c95186
- Upstream release rhbz#1672064
c95186
ac7afb
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-2
ac7afb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ac7afb
5a7697
* Mon Dec 31 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.7.2-1
5a7697
- Upstream release rhbz#1662682
5a7697
996fd2
* Sun Nov 18 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.7.1-1
5a7697
- Upstream release rhbz#1651015
996fd2
1d98d0
* Sun Nov 04 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.7.0-1
1d98d0
- Upstream release rhbz#1645873
1d98d0
e9ae11
* Tue Sep 25 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.6.1-1
e9ae11
- Upstream release rhbz#1632031
e9ae11
624416
* Sun Sep 23 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.6.0-1
624416
- Upstream release rhbz#1632031
624416
4c63d1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
4c63d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4c63d1
7ff7e9
* Sun Jun 17 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.5.0-1
7ff7e9
- Upstream release rhbz#1592132
7ff7e9
16da6a
* Sun Apr 29 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.4.0-1
16da6a
- Upstream release rhbz#1573011
16da6a
2a1ab7
* Fri Apr 13 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.3.1-1
2a1ab7
- Upstream release rhbz#1567094
2a1ab7
a1435b
* Sat Mar 17 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.3.0-1
a1435b
- Upstream release rhbz#1557681
a1435b
9591df
* Sun Feb 18 2018 Gerald Cox <gbcox@fedoraproject.org> - 3.2.0-1
a1435b
- Upstream release rhbz#1546543
9591df
c89f20
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
c89f20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c89f20
27d43d
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.1.2-2
27d43d
- Remove obsolete scriptlets
27d43d
c9c3a3
* Sun Oct 22 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.1.2-1
c9c3a3
- Upstream release rhbz#1505132
c9c3a3
084ade
* Thu Sep 28 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.1.1-1
084ade
- Upstream release rhbz#1496733
084ade
b1e2c4
* Thu Sep 28 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.1.0-1
b1e2c4
- Upstream release rhbz#1496733
b1e2c4
423b5e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-3
423b5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
423b5e
7ec1d1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
7ec1d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7ec1d1
e43430
* Sun Jul 02 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.0.3-1
e43430
- Upstream release rhbz#1467112
e43430
4c75f9
* Sat Jun 03 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.0.2-1
4c75f9
- Upstream release rhbz#1456802
4c75f9
684f80
* Tue May 09 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.0.1-1
684f80
- Upstream release rhbz#1449207
684f80
7210e9
* Tue Apr 04 2017 Gerald Cox <gbcox@fedoraproject.org> - 3.0.0-1
7210e9
- Upstream release rhbz#1438781
7210e9
15b03e
* Fri Feb 17 2017 Gerald Cox <gbcox@fedoraproject.org> - 2.9.0-1
7210e9
- Upstream release rhbz#1423475
15b03e
b60873
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
b60873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b60873
315c51
* Mon Jan 30 2017 Gerald Cox <gbcox@fedoraproject.org> - 2.8.3-1
315c51
- Upstream release rhbz#1417607
315c51
a2af51
* Sun Jan 15 2017 Gerald Cox <gbcox@fedoraproject.org> - 2.8.2-1
a2af51
- Upstream release rhbz#1413359
a2af51
cdd426
* Sat Dec 03 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.8.1-1
cdd426
- Upstream release rhbz#1401190
cdd426
fd1594
* Tue Nov 22 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.8.0-1
fd1594
- Upstream release rhbz#1397608
fd1594
9bb4be
* Sun Jul 24 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.7.1-3
9bb4be
- Open tray menu on left mouse click rhbz#1359526
9bb4be
9fce6c
* Sat Jul 16 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.7.1-2
9fce6c
- Make translations available rhbz#1357235
9fce6c
ee1c47
* Sun Jun 19 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.7.1-1
ee1c47
- Upstream release rhbz#1347965
ee1c47
dd67f5
* Sun May 1 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.7.0-1
dd67f5
- Upstream release rhbz#1332032
dd67f5
a0bfe4
* Sun Feb 14 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.6.1-1
a0bfe4
- Upstream releease rhbz#1308340
a0bfe4
44c4c1
* Sat Feb 06 2016 Gerald Cox <gbcox@fedoraproject.org> - 2.6.0-1
44c4c1
- Upstream releease rhbz#1305247
44c4c1
278854
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
278854
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
278854
7fdd48
* Sat Nov 14 2015 Gerald Cox <gbcox@fedoraproject.org> 2.5.0-1
7fdd48
- Upstream release rhbz#1282017
7fdd48
55f055
* Sun Aug 30 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.9-1
55f055
- Upstream release rhbz#1258225
55f055
9dc9ea
* Tue Jul 7 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.8-2
9dc9ea
- Upstream release rhbz#1240642
9dc9ea
243c64
* Tue Jul 7 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.8-1
243c64
- Upstream release rhbz#1240642
243c64
d4e27f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7-2
d4e27f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d4e27f
465564
* Mon Jun 1 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.7-1
465564
- Upstream release rhbz#1227038
465564
465564
* Fri May 8 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-6
465564
- Change requirement from Qt4 to Qt5
465564
1f4d30
* Fri May 1 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-5
1f4d30
- Deactivate DEBUG messages rhbz#1217874
1f4d30
1f4d30
* Sat Apr 25 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-4
259da1
- Remove superfluous explicit requires rhbz#1211831
259da1
259da1
* Fri Apr 24 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-3
259da1
- Resolve duplicate file warnings, runtime dependencies rhbz#1211831
259da1
259da1
* Fri Apr 24 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-2
259da1
- Enable end user testing - http://goo.gl/ue6e2F rhbz#1211831
259da1
259da1
* Tue Apr 14 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-1
259da1
- Initial Build 2.4.6-1 rhbz#1211831