Dan Vrátil 3be4865
%global framework kjs
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
Name:           kf5-%{framework}
Rex Dieter 7e725c4
Version: 5.33.0
Rex Dieter 0ee8744
Release: 1%{?dist}
Rex Dieter 7a0f1c0
Summary:        KDE Frameworks 5 Tier 3 functional module with JavaScript interpreter
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
License:        GPLv2+ and BSD
Rex Dieter 7e725c4
URL:            https://cgit.kde.org/%{framework}.git
Dan Vrátil 5128c8e
Dan Vrátil 7651ee7
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 5128c8e
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 5128c8e
%if %{revision} >= 50
Dan Vrátil 5128c8e
%global stable unstable
Dan Vrátil 5128c8e
%else
Dan Vrátil 5128c8e
%global stable stable
Dan Vrátil 5128c8e
%endif
Dan Vrátil 7651ee7
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz
Dan Vrátil 158b8aa
Dan Vrátil bfd6958
BuildRequires:  extra-cmake-modules >= %{version}
Dan Vrátil bfd6958
BuildRequires:  kf5-kdoctools-devel >= %{version}
Rex Dieter 7a0f1c0
BuildRequires:  kf5-rpm-macros >= %{version}
Rex Dieter 7a0f1c0
BuildRequires:  pcre-devel
Rex Dieter 7a0f1c0
BuildRequires:  perl
f8ccc34
BuildRequires:  perl-generators
Rex Dieter 7a0f1c0
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 0cf6f09
Dan Vrátil bfd6958
Requires:       kf5-filesystem >= %{version}
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
%description
Dan Vrátil 158b8aa
KDE Frameworks 1 Tier 1 functional module with JavaScript interpret.
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
%package        devel
Dan Vrátil 158b8aa
Summary:        Development files for %{name}
Dan Vrátil 158b8aa
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 8e64836
Requires:       qt5-qtbase-devel
Dan Vrátil 158b8aa
%description    devel
Dan Vrátil 158b8aa
The %{name}-devel package contains libraries and header files for
Dan Vrátil 158b8aa
developing applications that use %{name}.
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
%prep
Rex Dieter 953f5eb
%autosetup -n %{framework}-%{version}
Dan Vrátil 158b8aa
Rex Dieter 7a0f1c0
Dan Vrátil 158b8aa
%build
Rex Dieter 7a0f1c0
mkdir %{_target_platform}
Dan Vrátil 158b8aa
pushd %{_target_platform}
Dan Vrátil 158b8aa
%{cmake_kf5} ..
Dan Vrátil 158b8aa
popd
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 158b8aa
Rex Dieter 7a0f1c0
Dan Vrátil 158b8aa
%install
Rex Dieter 7a0f1c0
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 158b8aa
Rex Dieter 7a0f1c0
chmod +x %{buildroot}%{_kf5_datadir}/kf5/kjs/create_hash_table
Dan Vrátil 158b8aa
Rex Dieter 79c0785
%find_lang %{name} --with-man --with-qt --all-name
Rex Dieter 79c0785
Dan Vrátil 158b8aa
Dan Vrátil 5128c8e
%post -p /sbin/ldconfig
Dan Vrátil 158b8aa
%postun -p /sbin/ldconfig
Dan Vrátil 158b8aa
Rex Dieter 79c0785
%files -f %{name}.lang
Rex Dieter 7a0f1c0
%doc README.md
Rex Dieter 7a0f1c0
%license COPYING.LIB
Dan Vrátil 158b8aa
%{_kf5_bindir}/kjs5
Dan Vrátil 158b8aa
%{_kf5_libdir}/libKF5JS.so.*
Dan Vrátil 158b8aa
%{_kf5_libdir}/libKF5JSApi.so.*
Dan Vrátil 158b8aa
%{_kf5_datadir}/kf5/kjs/create_hash_table
Dan Vrátil feb22c5
%{_mandir}/man1/kjs5.1.gz
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
%files devel
Dan Vrátil 158b8aa
%{_kf5_includedir}/kjs_version.h
Rex Dieter 7a0f1c0
%{_kf5_includedir}/kjs/
Rex Dieter 7a0f1c0
%{_kf5_includedir}/wtf/
Dan Vrátil 158b8aa
%{_kf5_libdir}/libKF5JS.so
Dan Vrátil 158b8aa
%{_kf5_libdir}/libKF5JSApi.so
Rex Dieter 7a0f1c0
%{_kf5_libdir}/cmake/KF5JS/
Dan Vrátil 389720c
%{_kf5_archdatadir}/mkspecs/modules/qt_KJS.pri
Dan Vrátil 158b8aa
%{_kf5_archdatadir}/mkspecs/modules/qt_KJSApi.pri
Dan Vrátil 158b8aa
Dan Vrátil 5128c8e
Dan Vrátil 158b8aa
%changelog
Rex Dieter 7e725c4
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
Rex Dieter 7e725c4
- 5.33.0
Rex Dieter 7e725c4
Rex Dieter 7cf6e2e
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
Rex Dieter 7cf6e2e
- 5.32.0
Rex Dieter 7cf6e2e
Rex Dieter 9c68d20
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
Rex Dieter 9c68d20
- 5.31.0
Rex Dieter 9c68d20
Rex Dieter 0ee8744
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
Rex Dieter 0ee8744
- 5.29.0
Rex Dieter 0ee8744
Rex Dieter f1529bf
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
Rex Dieter f1529bf
- 5.27.0
Rex Dieter f1529bf
8a71f2f
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
8a71f2f
- KDE Frameworks 5.26.0
8a71f2f
1660347
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
1660347
- KDE Frameworks 5.25.0
1660347
Daniel Vrátil 9c1a8d7
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
Daniel Vrátil 9c1a8d7
- KDE Frameworks 5.24.0
Daniel Vrátil 9c1a8d7
Rex Dieter 98b0fc0
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
Rex Dieter 98b0fc0
- KDE Frameworks 5.23.0
Rex Dieter 98b0fc0
Rex Dieter 953f5eb
* Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-2
Rex Dieter 953f5eb
- update URL, use autosetup
Rex Dieter 953f5eb
Rex Dieter 252a08e
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
Rex Dieter 252a08e
- KDE Frameworks 5.22.0
Rex Dieter 252a08e
Rex Dieter ee5eab7
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter ee5eab7
- KDE Frameworks 5.21.0
Rex Dieter ee5eab7
Daniel Vrátil 3ff9a66
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil 3ff9a66
- KDE Frameworks 5.20.0
Daniel Vrátil 3ff9a66
Daniel Vrátil a7140f8
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil a7140f8
- KDE Frameworks 5.19.0
Daniel Vrátil a7140f8
331d596
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
331d596
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
331d596
Rex Dieter 7a0f1c0
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter 7a0f1c0
- cosmetics, update URL, use %%license
Rex Dieter 7a0f1c0
Daniel Vrátil 726a65f
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil 726a65f
- KDE Frameworks 5.18.0
Daniel Vrátil 726a65f
Dan Vrátil dc17805
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil dc17805
- KDE Frameworks 5.17.0
Dan Vrátil dc17805
Dan Vrátil b8c183b
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil b8c183b
- KDE Frameworks 5.16.0
Dan Vrátil b8c183b
Dan Vrátil c14ba3d
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil c14ba3d
- KDE Frameworks 5.15.0
Dan Vrátil c14ba3d
Dan Vrátil 363d4cc
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 363d4cc
- KDE Frameworks 5.14.0
Dan Vrátil 363d4cc
Dan Vrátil bfd6958
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil bfd6958
- KDE Frameworks 5.13.0
Dan Vrátil bfd6958
Dan Vrátil bfd6958
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil bfd6958
- KDE Frameworks 5.13.0
Dan Vrátil bfd6958
Dan Vrátil bfd6958
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil bfd6958
- KDE Frameworks 5.13
Dan Vrátil bfd6958
Rex Dieter d650155
* Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
Rex Dieter d650155
- 5.12.0
Rex Dieter d650155
ec181c3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
ec181c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ec181c3
Dan Vrátil 7747abd
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil 7747abd
- KDE Frameworks 5.11.0
Dan Vrátil 7747abd
Dan Vrátil 7650af7
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil 7650af7
- KDE Frameworks 5.10.0
Dan Vrátil 7650af7
3b6212a
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.9.0-2
3b6212a
- Rebuilt for GCC 5 C++11 ABI change
3b6212a
Dan Vrátil 2478783
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil 2478783
- KDE Frameworks 5.9.0
Dan Vrátil 2478783
Dan Vrátil 0cf6f09
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-2
Dan Vrátil 0cf6f09
- BR kf5-kdoctools-devel (move to Tier 3)
Dan Vrátil 0cf6f09
Dan Vrátil be0f2bd
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil be0f2bd
- KDE Frameworks 5.8.0
Dan Vrátil be0f2bd
Dan Vrátil 964b582
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 964b582
- Rebuild (GCC 5)
Dan Vrátil 964b582
Dan Vrátil 8e64836
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 8e64836
- KDE Frameworks 5.7.0
Dan Vrátil 8e64836
Dan Vrátil b42479d
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil b42479d
- KDE Frameworks 5.6.0
Dan Vrátil b42479d
Dan Vrátil 7651ee7
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 7651ee7
- KDE Frameworks 5.5.0
Dan Vrátil 7651ee7
Dan Vrátil 454f696
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 454f696
- KDE Frameworks 5.4.0
Dan Vrátil 454f696
Dan Vrátil ef68d38
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil ef68d38
- KDE Frameworks 5.3.0
Dan Vrátil ef68d38
Dan Vrátil 47e98be
* Thu Sep 11 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil 47e98be
- KDE Frameworks 5.2.0
Dan Vrátil 47e98be
2d884d1
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
2d884d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2d884d1
Dan Vrátil 2412025
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 2412025
- KDE Frameworks 5.1.0
Dan Vrátil 2412025
Dan Vrátil 17d9eb3
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 17d9eb3
- KDE Frameworks 5.0.0
Dan Vrátil 17d9eb3
09d4c4c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.100.0-2
09d4c4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
09d4c4c
Dan Vrátil 84fcd96
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 84fcd96
- KDE Frameworks 4.100.0
Dan Vrátil 84fcd96
Dan Vrátil 158b8aa
* Tue May 27 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-3
Dan Vrátil 158b8aa
- Fix license
Dan Vrátil 158b8aa
- Fix changelog
Dan Vrátil 158b8aa
- Fix source URL
Dan Vrátil 158b8aa
- chmod +x create_hash_table
Dan Vrátil 389720c
- install qt_KJS.pri
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Tue May 06 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-2
Dan Vrátil 158b8aa
- Rebuild against updated kf5-rpm-macros
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-1
Dan Vrátil 158b8aa
- KDE Frameworks 4.99.0
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 158b8aa
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 158b8aa
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 158b8aa
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 158b8aa
- Update to pre-release snapshot of 4.96.0
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 158b8aa
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 158b8aa
Dan Vrátil 158b8aa
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 158b8aa
- initial version