Dan Vrátil af83831
%global framework kjsembed
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
Name:           kf5-%{framework}
808f695
Version: 5.41.0
3be02fc
Release: 1%{?dist}
Dan Vrátil 7595b1a
Summary:        KDE Frameworks 5 Tier 3 addon for binding JS objects to QObjects
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
License:        LGPLv2+
Rex Dieter 7d23dc6
URL:            https://cgit.kde.org/%{framework}.git
Dan Vrátil 263dbaa
Dan Vrátil 638a965
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 263dbaa
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 263dbaa
%if %{revision} >= 50
Dan Vrátil 263dbaa
%global stable unstable
Dan Vrátil 263dbaa
%else
Dan Vrátil 263dbaa
%global stable stable
Dan Vrátil 263dbaa
%endif
Dan Vrátil 638a965
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz
Dan Vrátil 7595b1a
Dan Vrátil 3dc7db8
BuildRequires:  extra-cmake-modules >= %{version}
Rex Dieter 4dd7c3a
BuildRequires:  kf5-kdoctools-devel >= %{version}
Rex Dieter 4dd7c3a
BuildRequires:  kf5-ki18n-devel >= %{version}
Rex Dieter 4dd7c3a
BuildRequires:  kf5-kjs-devel >= %{version}
Rex Dieter 4dd7c3a
BuildRequires:  kf5-rpm-macros >= %{version}
Dan Vrátil 7595b1a
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 7595b1a
BuildRequires:  qt5-qtsvg-devel
Rex Dieter 4dd7c3a
BuildRequires:  qt5-qttools-static
Dan Vrátil 7595b1a
Dan Vrátil 3dc7db8
Requires:       kf5-filesystem >= %{version}
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
%description
Dan Vrátil 7595b1a
KSJEmbed provides a method of binding JavaScript objects to QObjects, so you
Dan Vrátil 7595b1a
can script your applications.
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
%package        devel
Dan Vrátil 7595b1a
Summary:        Development files for %{name}
Dan Vrátil 7595b1a
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 3dc7db8
Requires:       kf5-kjs-devel >= %{version}
Dan Vrátil 3dc7db8
Requires:       kf5-ki18n-devel >= %{version}
Dan Vrátil 7595b1a
%description    devel
Dan Vrátil 7595b1a
The %{name}-devel package contains libraries and header files for
Dan Vrátil 7595b1a
developing applications that use %{name}.
Dan Vrátil 7595b1a
Dan Vrátil 263dbaa
Dan Vrátil 7595b1a
%prep
Rex Dieter 789786a
%autosetup -n %{framework}-%{version}
Dan Vrátil 7595b1a
Rex Dieter 4dd7c3a
Dan Vrátil 7595b1a
%build
Rex Dieter 4dd7c3a
mkdir %{_target_platform}
Dan Vrátil 7595b1a
pushd %{_target_platform}
Dan Vrátil 7595b1a
%{cmake_kf5} ..
Dan Vrátil 7595b1a
popd
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 7595b1a
Rex Dieter 4dd7c3a
Dan Vrátil 7595b1a
%install
Dan Vrátil 88cac59
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 4dd7c3a
Rex Dieter 5f3ac43
%find_lang kjsembed5_qt --with-man --with-qt --all-name
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
Dan Vrátil 263dbaa
%post -p /sbin/ldconfig
Dan Vrátil 7595b1a
%postun -p /sbin/ldconfig
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
%files -f kjsembed5_qt.lang
Rex Dieter 4dd7c3a
%doc README.md
Rex Dieter 4dd7c3a
%license COPYING.LIB
Dan Vrátil 7595b1a
%{_kf5_bindir}/kjscmd5
Dan Vrátil 7595b1a
%{_kf5_bindir}/kjsconsole
Dan Vrátil 7595b1a
%{_kf5_libdir}/libKF5JsEmbed.so.*
Dan Vrátil 7595b1a
%{_kf5_datadir}/man/man1/*
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
%files devel
Dan Vrátil 7595b1a
%{_kf5_libdir}/libKF5JsEmbed.so
Rex Dieter 4dd7c3a
%{_kf5_libdir}/cmake/KF5JsEmbed/
Dan Vrátil 7595b1a
%{_kf5_includedir}/KJsEmbed/
Dan Vrátil 7595b1a
%{_kf5_archdatadir}/mkspecs/modules/qt_KJsEmbed.pri
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
%changelog
808f695
* Mon Dec 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.41.0-1
808f695
- 5.41.0
808f695
1125294
* Fri Nov 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.40.0-1
1125294
- 5.40.0
1125294
0c740d9
* Sun Oct 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.39.0-1
0c740d9
- 5.39.0
0c740d9
a34cbd5
* Mon Sep 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.38.0-1
a34cbd5
- 5.38.0
a34cbd5
3be02fc
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-1
3be02fc
- 5.37.0
3be02fc
93b7eea
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.36.0-3
93b7eea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
93b7eea
f876c0b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.36.0-2
f876c0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f876c0b
Rex Dieter 942539e
* Mon Jul 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.36.0-1
Rex Dieter 942539e
- 5.36.0
Rex Dieter 942539e
Rex Dieter 7924905
* Sun Jun 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.35.0-1
Rex Dieter 7924905
- 5.35.0
Rex Dieter 7924905
Rex Dieter e2b362a
* Mon May 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.34.0-1
Rex Dieter e2b362a
- 5.34.0
Rex Dieter e2b362a
Rex Dieter 7d23dc6
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
Rex Dieter 7d23dc6
- 5.33.0
Rex Dieter 7d23dc6
Rex Dieter 312c11a
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
Rex Dieter 312c11a
- 5.32.0
Rex Dieter 312c11a
Rex Dieter 2c12c92
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
Rex Dieter 2c12c92
- 5.31.0
Rex Dieter 2c12c92
Rex Dieter 2b918d1
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
Rex Dieter 2b918d1
- 5.29.0
Rex Dieter 2b918d1
Rex Dieter a9a78b3
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
Rex Dieter a9a78b3
- 5.27.0
Rex Dieter a9a78b3
61123b0
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
61123b0
- KDE Frameworks 5.26.0
61123b0
23a79ab
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
23a79ab
- KDE Frameworks 5.25.0
23a79ab
Daniel Vrátil 8057e38
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
Daniel Vrátil 8057e38
- KDE Frameworks 5.24.0
Daniel Vrátil 8057e38
Rex Dieter 3a4693a
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
Rex Dieter 3a4693a
- KDE Frameworks 5.23.0
Rex Dieter 3a4693a
Rex Dieter 789786a
* Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-2
Rex Dieter 789786a
- update URL, use autosetup
Rex Dieter 789786a
Rex Dieter bc1cea3
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
Rex Dieter bc1cea3
- KDE Frameworks 5.22.0
Rex Dieter bc1cea3
Rex Dieter ed19ce1
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter ed19ce1
- KDE Frameworks 5.21.0
Rex Dieter ed19ce1
Rex Dieter ed19ce1
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter ed19ce1
- KDE Frameworks 5.21.0
Rex Dieter ed19ce1
Daniel Vrátil 483b994
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil 483b994
- KDE Frameworks 5.20.0
Daniel Vrátil 483b994
Daniel Vrátil 95a6d39
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil 95a6d39
- KDE Frameworks 5.19.0
Daniel Vrátil 95a6d39
8c7afe3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
8c7afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8c7afe3
Rex Dieter 4dd7c3a
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter 4dd7c3a
- cosmetics, update URL, use %%license
Rex Dieter 4dd7c3a
Daniel Vrátil 04fcea7
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil 04fcea7
- KDE Frameworks 5.18.0
Daniel Vrátil 04fcea7
Dan Vrátil fe3d94f
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil fe3d94f
- KDE Frameworks 5.17.0
Dan Vrátil fe3d94f
Dan Vrátil 5f1f1cf
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil 5f1f1cf
- KDE Frameworks 5.16.0
Dan Vrátil 5f1f1cf
Dan Vrátil 86e246a
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil 86e246a
- KDE Frameworks 5.15.0
Dan Vrátil 86e246a
Dan Vrátil de96968
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil de96968
- KDE Frameworks 5.14.0
Dan Vrátil de96968
Dan Vrátil 3dc7db8
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 3dc7db8
- KDE Frameworks 5.13.0
Dan Vrátil 3dc7db8
Dan Vrátil 3dc7db8
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 3dc7db8
- KDE Frameworks 5.13.0
Dan Vrátil 3dc7db8
Dan Vrátil 3dc7db8
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil 3dc7db8
- KDE Frameworks 5.13
Dan Vrátil 3dc7db8
Rex Dieter d937d3f
* Sun Jul 12 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
Rex Dieter d937d3f
- 5.12.0
Rex Dieter d937d3f
bfabe90
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
bfabe90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bfabe90
Dan Vrátil c7b0106
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil c7b0106
- KDE Frameworks 5.11.0
Dan Vrátil c7b0106
Dan Vrátil 992e567
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil 992e567
- KDE Frameworks 5.10.0
Dan Vrátil 992e567
fde14f1
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.9.0-2
fde14f1
- Rebuilt for GCC 5 C++11 ABI change
fde14f1
Dan Vrátil 4c8106d
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil 4c8106d
- KDE Frameworks 5.9.0
Dan Vrátil 4c8106d
Dan Vrátil 093b6ad
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil 093b6ad
- KDE Frameworks 5.8.0
Dan Vrátil 093b6ad
Dan Vrátil 144abaa
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 144abaa
- Rebuild (GCC 5)
Dan Vrátil 144abaa
Dan Vrátil 5f3ec61
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 5f3ec61
- KDE Frameworks 5.7.0
Dan Vrátil 5f3ec61
Dan Vrátil 5f3ec61
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 5f3ec61
- KDE Frameworks 5.7.0
Dan Vrátil 5f3ec61
Dan Vrátil cfb5d4f
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil cfb5d4f
- KDE Frameworks 5.6.0
Dan Vrátil cfb5d4f
Dan Vrátil 638a965
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 638a965
- KDE Frameworks 5.5.0
Dan Vrátil 638a965
Dan Vrátil e1936c0
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil e1936c0
- KDE Frameworks 5.4.0
Dan Vrátil e1936c0
Dan Vrátil 5cabc65
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 5cabc65
- KDE Frameworks 5.3.0
Dan Vrátil 5cabc65
Dan Vrátil cfd2156
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil cfd2156
- KDE Frameworks 5.2.0
Dan Vrátil cfd2156
46e37f8
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
46e37f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
46e37f8
Dan Vrátil 4d9d3d1
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 4d9d3d1
- KDE Frameworks 5.1.0
Dan Vrátil 4d9d3d1
Dan Vrátil d2c9228
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil d2c9228
- KDE Frameworks 5.0.0
Dan Vrátil d2c9228
Dan Vrátil 7595b1a
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 7595b1a
- KDE Frameworks 4.100.0
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil 7595b1a
- KDE Frameworks 4.99.0
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 7595b1a
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 7595b1a
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 7595b1a
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 7595b1a
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 7595b1a
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 7595b1a
Dan Vrátil 7595b1a
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 7595b1a
- initial version