Dan Vrátil 7a3f445
%global framework kross
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
Name:           kf5-%{framework}
50cc2ae
Version: 5.43.0
1172e76
Release: 2%{?dist}
Dan Vrátil 7bf0818
Summary:        KDE Frameworks 5 Tier 3 solution for multi-language application scripting
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
License:        LGPLv2+
Rex Dieter 02f2fb9
URL:            https://cgit.kde.org/%{framework}.git
Dan Vrátil 7bf0818
Dan Vrátil 7786d4e
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 76df0d9
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 76df0d9
%if %{revision} >= 50
Dan Vrátil 76df0d9
%global stable unstable
Dan Vrátil 76df0d9
%else
Dan Vrátil 76df0d9
%global stable stable
Dan Vrátil 76df0d9
%endif
Dan Vrátil 7786d4e
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz
Dan Vrátil 7bf0818
Dan Vrátil e2ad435
BuildRequires:  extra-cmake-modules >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kcompletion-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kcoreaddons-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kdoctools-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-ki18n-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kiconthemes-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kio-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kparts-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kwidgetsaddons-devel >= %{version}
Dan Vrátil e2ad435
BuildRequires:  kf5-kxmlgui-devel >= %{version}
Rex Dieter f5ae200
BuildRequires:  kf5-rpm-macros >= %{version}
Rex Dieter f5ae200
BuildRequires:  qt5-qtbase-devel
Rex Dieter f5ae200
BuildRequires:  qt5-qtscript-devel
Rex Dieter f5ae200
BuildRequires:  qt5-qttools-static
Dan Vrátil 7bf0818
Dan Vrátil 76df0d9
Requires:       %{name}-core%{_isa} = %{version}-%{release}
Dan Vrátil 76df0d9
Requires:       %{name}-ui%{?_isa} = %{version}-%{release}
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%description
Dan Vrátil 7bf0818
Kross is a scripting bridge to embed scripting functionality into an
Dan Vrátil 7bf0818
application. It supports QtScript as a scripting interpreter backend.
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%package        devel
Dan Vrátil 7bf0818
Summary:        Development files for %{name}
Dan Vrátil 7bf0818
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil e2ad435
Requires:       kf5-ki18n-devel >= %{version}
Dan Vrátil e2ad435
Requires:       kf5-kiconthemes-devel >= %{version}
Dan Vrátil e2ad435
Requires:       kf5-kio-devel >= %{version}
Dan Vrátil e2ad435
Requires:       kf5-kparts-devel >= %{version}
Dan Vrátil e2ad435
Requires:       kf5-kwidgetsaddons-devel >= %{version}
Dan Vrátil 58c320f
Requires:       qt5-qtbase-devel
Dan Vrátil 58c320f
Requires:       qt5-qtscript-devel
Dan Vrátil 7bf0818
%description    devel
Dan Vrátil 7bf0818
The %{name}-devel package contains libraries and header files for
Dan Vrátil 7bf0818
developing applications that use %{name}.
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%package        core
Dan Vrátil 7bf0818
Summary:        Non-gui part of the Kross framework
Rex Dieter f5ae200
Obsoletes:      kf5-kross-doc < 5.18.0-2
Rex Dieter f5ae200
Provides:       kf5-kross-doc = %{version}-%{release}
Dan Vrátil 7bf0818
%description    core
Dan Vrátil 7bf0818
Non-gui part of the Kross framework.
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%package        ui
Dan Vrátil 7bf0818
Summary:        Gui part of the Kross framework
Dan Vrátil 76df0d9
Requires:       %{name}-core%{?_isa} = %{version}-%{release}
Dan Vrátil 7bf0818
%description    ui
Dan Vrátil 7bf0818
Gui part of the Kross framework.
Dan Vrátil 7bf0818
Dan Vrátil 76df0d9
Dan Vrátil 7bf0818
%prep
Rex Dieter ab90098
%autosetup -n %{framework}-%{version}
Dan Vrátil 7bf0818
Rex Dieter f5ae200
Dan Vrátil 7bf0818
%build
Rex Dieter f5ae200
mkdir %{_target_platform}
Dan Vrátil 7bf0818
pushd %{_target_platform}
Dan Vrátil 7bf0818
%{cmake_kf5} ..
Dan Vrátil 7bf0818
popd
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 7bf0818
Rex Dieter f5ae200
Dan Vrátil 7bf0818
%install
Dan Vrátil 96ad054
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter f5ae200
4bba27b
%find_lang kross5_qt --all-name --with-man
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%files
Dan Vrátil 7bf0818
Dan Vrátil 76df0d9
%post core -p /sbin/ldconfig
Dan Vrátil 76df0d9
%postun core -p /sbin/ldconfig
Dan Vrátil 76df0d9
Dan Vrátil 7bf0818
%files core -f kross5_qt.lang
Dan Vrátil 7bf0818
%{_kf5_bindir}/kf5kross
Rex Dieter f5ae200
%{_kf5_mandir}/man1/kf5kross.1*
Dan Vrátil 7bf0818
%{_kf5_libdir}/libKF5KrossCore.so.*
Dan Vrátil 7bf0818
%{_kf5_qtplugindir}/krossqts.so
Dan Vrátil 7bf0818
%{_kf5_qtplugindir}/script/krossqtsplugin.so
Dan Vrátil 7bf0818
Dan Vrátil 76df0d9
%post ui -p /sbin/ldconfig
Dan Vrátil 76df0d9
%postun ui -p /sbin/ldconfig
Dan Vrátil 76df0d9
Dan Vrátil 7bf0818
%files ui
Dan Vrátil 7bf0818
%{_kf5_libdir}/libKF5KrossUi.so.*
Dan Vrátil 3287389
%{_kf5_qtplugindir}/krossmoduleforms.so
Dan Vrátil 3287389
%{_kf5_qtplugindir}/krossmodulekdetranslation.so
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%files devel
Dan Vrátil 7bf0818
%{_kf5_includedir}/kross_version.h
Rex Dieter f5ae200
%{_kf5_includedir}/KrossUi/
Rex Dieter f5ae200
%{_kf5_includedir}/KrossCore/
Dan Vrátil 7bf0818
%{_kf5_libdir}/libKF5KrossCore.so
Dan Vrátil 7bf0818
%{_kf5_libdir}/libKF5KrossUi.so
Rex Dieter f5ae200
%{_kf5_libdir}/cmake/KF5Kross/
Dan Vrátil 7bf0818
%{_kf5_archdatadir}/mkspecs/modules/qt_KrossCore.pri
Dan Vrátil 7bf0818
%{_kf5_archdatadir}/mkspecs/modules/qt_KrossUi.pri
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
%changelog
1172e76
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.43.0-2
1172e76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1172e76
50cc2ae
* Wed Feb 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.43.0-1
50cc2ae
- 5.43.0
50cc2ae
27ac364
* Mon Jan 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.42.0-1
27ac364
- 5.42.0
27ac364
4bba27b
* Mon Dec 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.41.0-2
4bba27b
- rebuild
4bba27b
34bb2a1
* Mon Dec 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.41.0-1
34bb2a1
- 5.41.0
34bb2a1
91b45f8
* Fri Nov 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.40.0-1
91b45f8
- 5.40.0
91b45f8
897f5c9
* Sun Oct 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.39.0-1
897f5c9
- 5.39.0
897f5c9
eb95514
* Mon Sep 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.38.0-1
eb95514
- 5.38.0
eb95514
a8c282a
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-1
a8c282a
- 5.37.0
a8c282a
39c6199
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.36.0-3
39c6199
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
39c6199
c0db9cb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.36.0-2
c0db9cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c0db9cb
Rex Dieter bf039ea
* Mon Jul 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.36.0-1
Rex Dieter bf039ea
- 5.36.0
Rex Dieter bf039ea
Rex Dieter 60e2f46
* Sun Jun 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.35.0-1
Rex Dieter 60e2f46
- 5.35.0
Rex Dieter 60e2f46
Rex Dieter 9ae56dc
* Mon May 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.34.0-1
Rex Dieter 9ae56dc
- 5.34.0
Rex Dieter 9ae56dc
Rex Dieter 02f2fb9
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
Rex Dieter 02f2fb9
- 5.33.0
Rex Dieter 02f2fb9
Rex Dieter 9e13c13
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
Rex Dieter 9e13c13
- 5.32.0
Rex Dieter 9e13c13
Rex Dieter 5bd3854
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
Rex Dieter 5bd3854
- 5.31.0
Rex Dieter 5bd3854
Rex Dieter e1519c5
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
Rex Dieter e1519c5
- 5.29.0
Rex Dieter e1519c5
Rex Dieter 0edf2c9
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
Rex Dieter 0edf2c9
- 5.27.0
Rex Dieter 0edf2c9
e80acf8
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
e80acf8
- KDE Frameworks 5.26.0
e80acf8
fe974fe
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
fe974fe
- KDE Frameworks 5.25.0
fe974fe
Daniel Vrátil 477c4ca
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
Daniel Vrátil 477c4ca
- KDE Frameworks 5.24.0
Daniel Vrátil 477c4ca
Rex Dieter ba59660
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
Rex Dieter ba59660
- KDE Frameworks 5.23.0
Rex Dieter ba59660
Rex Dieter ab90098
* Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-2
Rex Dieter ab90098
- update URL, use autosetup
Rex Dieter ab90098
Rex Dieter 391047d
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
Rex Dieter 391047d
- KDE Frameworks 5.22.0
Rex Dieter 391047d
Rex Dieter 0a756fa
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter 0a756fa
- KDE Frameworks 5.21.0
Rex Dieter 0a756fa
Daniel Vrátil cace25d
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil cace25d
- KDE Frameworks 5.20.0
Daniel Vrátil cace25d
Daniel Vrátil 99c177c
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil 99c177c
- KDE Frameworks 5.19.0
Daniel Vrátil 99c177c
61f9be2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
61f9be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
61f9be2
Rex Dieter f5ae200
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter f5ae200
- cosmetics, update URL, use %%license, -core: Obsoletes: -doc (just kf5kross manpage)
Rex Dieter f5ae200
Daniel Vrátil 2d0a444
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil 2d0a444
- KDE Frameworks 5.18.0
Daniel Vrátil 2d0a444
Dan Vrátil b263e97
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil b263e97
- KDE Frameworks 5.17.0
Dan Vrátil b263e97
Dan Vrátil 26a1544
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil 26a1544
- KDE Frameworks 5.16.0
Dan Vrátil 26a1544
Dan Vrátil ac728f6
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil ac728f6
- KDE Frameworks 5.15.0
Dan Vrátil ac728f6
Dan Vrátil 9b914aa
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 9b914aa
- KDE Frameworks 5.14.0
Dan Vrátil 9b914aa
Dan Vrátil e2ad435
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil e2ad435
- KDE Frameworks 5.13.0
Dan Vrátil e2ad435
Dan Vrátil e2ad435
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil e2ad435
- KDE Frameworks 5.13.0
Dan Vrátil e2ad435
Dan Vrátil e2ad435
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil e2ad435
- KDE Frameworks 5.13
Dan Vrátil e2ad435
Dan Vrátil 747ebab
* Fri Jul 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.12.0-1
Dan Vrátil 747ebab
- KDE Frameworks 5.12.0
Dan Vrátil 747ebab
7b91529
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
7b91529
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7b91529
Dan Vrátil ea16549
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil ea16549
- KDE Frameworks 5.11.0
Dan Vrátil ea16549
Dan Vrátil a3b1d89
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil a3b1d89
- KDE Frameworks 5.10.0
Dan Vrátil a3b1d89
Dan Vrátil 36b4e6d
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil 36b4e6d
- KDE Frameworks 5.9.0
Dan Vrátil 36b4e6d
Dan Vrátil 722b68e
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil 722b68e
- KDE Frameworks 5.8.0
Dan Vrátil 722b68e
Dan Vrátil a347337
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil a347337
- Rebuild (GCC 5)
Dan Vrátil a347337
Dan Vrátil 58c320f
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 58c320f
- KDE Frameworks 5.7.0
Dan Vrátil 58c320f
Dan Vrátil 58c320f
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 58c320f
- KDE Frameworks 5.7.0
Dan Vrátil 58c320f
Dan Vrátil 195a241
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil 195a241
- KDE Frameworks 5.6.0
Dan Vrátil 195a241
Dan Vrátil 7786d4e
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 7786d4e
- KDE Frameworks 5.5.0
Dan Vrátil 7786d4e
Dan Vrátil 6467e62
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 6467e62
- KDE Frameworks 5.4.0
Dan Vrátil 6467e62
Dan Vrátil 8eb30e2
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 8eb30e2
- KDE Frameworks 5.3.0
Dan Vrátil 8eb30e2
Dan Vrátil 4d281bb
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil 4d281bb
- KDE Frameworks 5.2.0
Dan Vrátil 4d281bb
a9f90f0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
a9f90f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a9f90f0
Dan Vrátil 34b25c3
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 34b25c3
- KDE Frameworks 5.1.0
Dan Vrátil 34b25c3
Dan Vrátil 4ce6561
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 4ce6561
- KDE Frameworks 5.0.0
Dan Vrátil 4ce6561
Dan Vrátil 7bf0818
* Thu Jul 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
Dan Vrátil 7bf0818
- fixed Source URL
Dan Vrátil 7bf0818
- fixed description
Dan Vrátil 7bf0818
- fixed man install path
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 7bf0818
- KDE Frameworks 4.100.0
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil 7bf0818
- KDE Frameworks 4.99.0
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 7bf0818
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 7bf0818
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 7bf0818
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 7bf0818
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 7bf0818
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 7bf0818
Dan Vrátil 7bf0818
* Sat Jan 4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 7bf0818
- initial version