Dan Vrátil 7081cd1
%global framework kglobalaccel
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
Name:           kf5-%{framework}
Rex Dieter 14f3187
Version: 5.27.0
Rex Dieter 14f3187
Release: 1%{?dist}
Dan Vrátil e18f138
Summary:        KDE Frameworks 5 Tier 3 integration module for global shortcuts
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
License:        LGPLv2+
Rex Dieter 067e0fe
URL:            https://quickgit.kde.org/?p=%{framework}.git
Dan Vrátil 3eba1ba
Dan Vrátil 9d4f154
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 3eba1ba
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 3eba1ba
%if %{revision} >= 50
Dan Vrátil 3eba1ba
%global stable unstable
Dan Vrátil 3eba1ba
%else
Dan Vrátil 3eba1ba
%global stable stable
Dan Vrátil 3eba1ba
%endif
Dan Vrátil 9d4f154
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil 7b375a4
Dan Vrátil 51afefa
BuildRequires:  extra-cmake-modules >= %{version}
Dan Vrátil 51afefa
BuildRequires:  kf5-kconfig-devel >= %{version}
Rex Dieter 9c29ac7
BuildRequires:  kf5-kconfig-devel >= %{version}
Rex Dieter 9c29ac7
BuildRequires:  kf5-kcoreaddons-devel >= %{version}
Rex Dieter c34f5a6
BuildRequires:  kf5-kcoreaddons-devel >= %{version}
Rex Dieter c34f5a6
BuildRequires:  kf5-kcrash-devel >= %{version}
Rex Dieter 9c29ac7
BuildRequires:  kf5-kcrash-devel >= %{version}
Rex Dieter 9c29ac7
BuildRequires:  kf5-kdbusaddons-devel >= %{version}
Rex Dieter c34f5a6
BuildRequires:  kf5-kdbusaddons-devel >= %{version}
Rex Dieter 9c29ac7
BuildRequires:  kf5-ki18n-devel >= %{version}
Rex Dieter 9c29ac7
BuildRequires:  kf5-kwindowsystem-devel >= %{version}
Rex Dieter c34f5a6
BuildRequires:  kf5-kwindowsystem-devel >= %{version}
Rex Dieter c34f5a6
BuildRequires:  kf5-rpm-macros >= %{version}
Rex Dieter c34f5a6
BuildRequires:  libX11-devel
Dan Vrátil e18f138
BuildRequires:  libxcb-devel
Rex Dieter c34f5a6
BuildRequires:  qt5-qtbase-devel
Rex Dieter c34f5a6
BuildRequires:  qt5-qttools-devel
Rex Dieter c34f5a6
BuildRequires:  qt5-qtx11extras-devel
Dan Vrátil e18f138
BuildRequires:  xcb-util-keysyms-devel
7dbd885
BuildRequires:  kf5-kservice-devel >= %{version}
7dbd885
Dan Vrátil 7b375a4
Dan Vrátil e18f138
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Rex Dieter c34f5a6
Requires:       kf5-filesystem >= %{version}
Dan Vrátil e18f138
6e646a8
Conflicts: plasma-workspace < 5.2.0-8
6e646a8
Dan Vrátil 7b375a4
%description
Dan Vrátil 7b375a4
KDE Framework 5 Tier 1 integration module for global shortcuts.
Dan Vrátil 7b375a4
Dan Vrátil e18f138
%package        libs
Dan Vrátil e18f138
Summary:        Runtime libraries for %{name}
Rex Dieter 9c29ac7
Requires:       %{name} = %{version}-%{release}
Dan Vrátil e18f138
%description    libs
Dan Vrátil e18f138
%{summary}.
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
%package        devel
Dan Vrátil 7b375a4
Summary:        Development files for %{name}
Dan Vrátil e18f138
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Dan Vrátil e18f138
Requires:       qt5-qtbase-devel
Dan Vrátil 7b375a4
%description    devel
Dan Vrátil 7b375a4
The %{name}-devel package contains libraries and header files for
Dan Vrátil 7b375a4
developing applications that use %{name}.
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
%prep
Rex Dieter 9c29ac7
%autosetup -p1 -n %{framework}-%{version}
Dan Vrátil 7b375a4
Rex Dieter c34f5a6
Dan Vrátil 7b375a4
%build
Rex Dieter 9c29ac7
mkdir %{_target_platform}
Dan Vrátil 7b375a4
pushd %{_target_platform}
Dan Vrátil 7b375a4
%{cmake_kf5} ..
Dan Vrátil 7b375a4
popd
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 7b375a4
Rex Dieter c34f5a6
Dan Vrátil 7b375a4
%install
Dan Vrátil 4b01f0d
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 7b375a4
Dan Vrátil e18f138
%find_lang_kf5 kglobalaccel5_qt
Dan Vrátil 7b375a4
Rex Dieter c34f5a6
Dan Vrátil b7981c8
%files -f kglobalaccel5_qt.lang
Rex Dieter c34f5a6
%doc README.md
Rex Dieter c34f5a6
%license COPYING.LIB
Dan Vrátil e18f138
%{_kf5_bindir}/kglobalaccel5
Dan Vrátil e18f138
%{_kf5_datadir}/kservices5/kglobalaccel5.desktop
Dan Vrátil e18f138
%{_datadir}/dbus-1/services/org.kde.kglobalaccel.service
Dan Vrátil e18f138
Dan Vrátil e18f138
%post libs -p /sbin/ldconfig
Dan Vrátil e18f138
%postun libs -p /sbin/ldconfig
Dan Vrátil e18f138
Dan Vrátil bbffe98
%files libs
Dan Vrátil 7b375a4
%{_kf5_libdir}/libKF5GlobalAccel.so.*
Rex Dieter 137ef90
%{_kf5_libdir}/libKF5GlobalAccelPrivate.so.*
Rex Dieter c34f5a6
%{_kf5_qtplugindir}/org.kde.kglobalaccel5.platforms/
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
%files devel
Dan Vrátil 7b375a4
%{_kf5_includedir}/kglobalaccel_version.h
Dan Vrátil 7b375a4
%{_kf5_includedir}/KGlobalAccel/
Dan Vrátil 7b375a4
%{_kf5_libdir}/libKF5GlobalAccel.so
Dan Vrátil 7b375a4
%{_kf5_datadir}/dbus-1/interfaces/*
Dan Vrátil 7b375a4
%{_kf5_libdir}/cmake/KF5GlobalAccel
Dan Vrátil 7b375a4
%{_kf5_archdatadir}/mkspecs/modules/qt_KGlobalAccel.pri
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
%changelog
Rex Dieter 14f3187
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
Rex Dieter 14f3187
- 5.27.0
Rex Dieter 14f3187
098cc84
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
098cc84
- KDE Frameworks 5.26.0
098cc84
7dbd885
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
7dbd885
- KDE Frameworks 5.25.0
7dbd885
Daniel Vrátil d117e9c
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
Daniel Vrátil d117e9c
- KDE Frameworks 5.24.0
Daniel Vrátil d117e9c
Rex Dieter e7c4d4a
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
Rex Dieter e7c4d4a
- KDE Frameworks 5.23.0
Rex Dieter e7c4d4a
Rex Dieter 067e0fe
* Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-2
Rex Dieter 067e0fe
- update URL, use autosetup
Rex Dieter 067e0fe
Rex Dieter 6df16c4
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
Rex Dieter 6df16c4
- KDE Frameworks 5.22.0
Rex Dieter 6df16c4
Rex Dieter 267b0d9
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter 267b0d9
- KDE Frameworks 5.21.0
Rex Dieter 267b0d9
Daniel Vrátil 36462b1
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil 36462b1
- KDE Frameworks 5.20.0
Daniel Vrátil 36462b1
Daniel Vrátil ae40836
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil ae40836
- KDE Frameworks 5.19.0
Daniel Vrátil ae40836
f16bdd1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
f16bdd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f16bdd1
Rex Dieter c34f5a6
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter c34f5a6
- cosmetics, update URL, use %%license, move plugins to -libs
Rex Dieter c34f5a6
Daniel Vrátil a0e682d
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil a0e682d
- KDE Frameworks 5.18.0
Daniel Vrátil a0e682d
Dan Vrátil bbfeaa1
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil bbfeaa1
- KDE Frameworks 5.17.0
Dan Vrátil bbfeaa1
Dan Vrátil 7451bf7
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil 7451bf7
- KDE Frameworks 5.16.0
Dan Vrátil 7451bf7
Dan Vrátil 0939ed1
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil 0939ed1
- KDE Frameworks 5.15.0
Dan Vrátil 0939ed1
Dan Vrátil 77f1c06
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 77f1c06
- KDE Frameworks 5.14.0
Dan Vrátil 77f1c06
Dan Vrátil 51afefa
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 51afefa
- KDE Frameworks 5.13.0
Dan Vrátil 51afefa
Dan Vrátil 51afefa
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 51afefa
- KDE Frameworks 5.13.0
Dan Vrátil 51afefa
Dan Vrátil 51afefa
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil 51afefa
- KDE Frameworks 5.13
Dan Vrátil 51afefa
Rex Dieter a5001e2
* Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
Rex Dieter a5001e2
- 5.12.0
Rex Dieter a5001e2
1ab3d19
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
1ab3d19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1ab3d19
Dan Vrátil 1a61ab3
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil 1a61ab3
- KDE Frameworks 5.11.0
Dan Vrátil 1a61ab3
Dan Vrátil bffd798
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil bffd798
- KDE Frameworks 5.10.0
Dan Vrátil bffd798
Rex Dieter 9c29ac7
* Wed Apr 22 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
Rex Dieter 9c29ac7
- backport logging fix (kde#346429)
Rex Dieter 9c29ac7
- -libs: add dep on main pkg
Rex Dieter 9c29ac7
- bump minimal build deps
Rex Dieter 9c29ac7
Dan Vrátil 011954f
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil 011954f
- KDE Frameworks 5.9.0
Dan Vrátil 011954f
Dan Vrátil 7ae9b83
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil 7ae9b83
- KDE Frameworks 5.8.0
Dan Vrátil 7ae9b83
Dan Vrátil 942064e
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 942064e
- Rebuild (GCC 5)
Dan Vrátil 942064e
6e646a8
* Fri Feb 20 2015 Rex Dieter <rdieter@fedoraproject.org> 5.7.0-2
e3c533b
- Conflicts: plasma-workspace < 5.2.0-8
6e646a8
Dan Vrátil e18f138
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil e18f138
- KDE Frameworks 5.7.0
Dan Vrátil e18f138
Dan Vrátil e18f138
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil e18f138
- KDE Frameworks 5.7.0
Dan Vrátil e18f138
Dan Vrátil f9a274f
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil f9a274f
- KDE Frameworks 5.6.0
Dan Vrátil f9a274f
Dan Vrátil 9d4f154
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 9d4f154
- KDE Frameworks 5.5.0
Dan Vrátil 9d4f154
Dan Vrátil 6248326
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 6248326
- KDE Frameworks 5.4.0
Dan Vrátil 6248326
Dan Vrátil 4f52b3c
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 4f52b3c
- KDE Frameworks 5.3.0
Dan Vrátil 4f52b3c
Dan Vrátil 0565b32
* Thu Sep 11 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil 0565b32
- KDE Frameworks 5.2.0
Dan Vrátil 0565b32
d8ba433
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
d8ba433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d8ba433
Dan Vrátil 678afa1
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 678afa1
- KDE Frameworks 5.1.0
Dan Vrátil 678afa1
Dan Vrátil 327b6b5
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 327b6b5
- KDE Frameworks 5.0.0
Dan Vrátil 327b6b5
3c3fedc
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.100.0-2
3c3fedc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3c3fedc
Dan Vrátil 3daf1ce
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 3daf1ce
- KDE Frameworks 4.100.0
Dan Vrátil 3daf1ce
Dan Vrátil 7b375a4
* Tue May 06 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-2
Dan Vrátil 7b375a4
- Rebuild against updated kf5-rpm-macros
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-1
Dan Vrátil 7b375a4
- KDE Frameworks 4.99.0
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 7b375a4
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 7b375a4
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 7b375a4
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 7b375a4
- Update to pre-release snapshot of 4.96.0
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 7b375a4
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 7b375a4
Dan Vrátil 7b375a4
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 7b375a4
- initial version