Dan Vrátil 9c74b37
%global framework kdesignerplugin
Dan Vrátil 4de209d
Dan Vrátil 4de209d
Name:           kf5-%{framework}
Rex Dieter acb4fd5
Version: 5.33.0
Rex Dieter 8344e3d
Release: 1%{?dist}
Dan Vrátil 4de209d
Summary:        KDE Frameworks 5 Tier 3 integration module for Qt Designer
Dan Vrátil 4de209d
Dan Vrátil 4de209d
License:        LGPLv2+
Rex Dieter acb4fd5
URL:            https://cgit.kde.org/%{framework}.git
Dan Vrátil 4de209d
Dan Vrátil 26bbbc6
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 2aeffa2
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 2aeffa2
%if %{revision} >= 50
Dan Vrátil 2aeffa2
%global stable unstable
Dan Vrátil 2aeffa2
%else
Dan Vrátil 2aeffa2
%global stable stable
Dan Vrátil 2aeffa2
%endif
Dan Vrátil 26bbbc6
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil 4de209d
Dan Vrátil ffbbe7b
BuildRequires:  extra-cmake-modules >= %{version}
Rex Dieter 7e36f12
BuildRequires:  kf5-kconfig-devel >= %{version}
Rex Dieter 7e36f12
BuildRequires:  kf5-kcoreaddons-devel >= %{version}
Rex Dieter 7e36f12
BuildRequires:  kf5-kdoctools-devel >= %{version}
Rex Dieter 7e36f12
BuildRequires:  kf5-rpm-macros >= %{version}
afa1baa
#BuildRequires:  qt5-designer-plugin-webkit
Dan Vrátil 4de209d
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 4de209d
BuildRequires:  qt5-qtdeclarative-devel
Rex Dieter 7e36f12
BuildRequires:  qt5-qttools-devel
Rex Dieter 7e36f12
BuildRequires:  qt5-qttools-static
Dan Vrátil 4de209d
BuildRequires:  qt5-qtwebkit-devel
Dan Vrátil 4de209d
Dan Vrátil 4de209d
# optional requirements
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kcompletion-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kconfigwidgets-devel >= %{version}
Rex Dieter 7e36f12
BuildRequires:  kf5-kdewebkit-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kiconthemes-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kio-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kitemviews-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kplotting-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-ktextwidgets-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kwidgetsaddons-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-kxmlgui-devel >= %{version}
Dan Vrátil ffbbe7b
BuildRequires:  kf5-sonnet-devel >= %{version}
Dan Vrátil ffbbe7b
Dan Vrátil ffbbe7b
Requires:       kf5-filesystem >= %{version}
Dan Vrátil 4de209d
Rex Dieter 7e36f12
Obsoletes: kf5-kdesignerplugin-devel < 5.18.0-2
Rex Dieter 7e36f12
Provides:  kf5-kdesignerplugin-devel = %{version}-%{release}
Rex Dieter 7e36f12
Dan Vrátil 4de209d
%description
Dan Vrátil 4de209d
This framework provides plugins for Qt Designer that allow it to display
Dan Vrátil 4de209d
the widgets provided by various KDE frameworks, as well as a utility
Dan Vrátil 4de209d
(kgendesignerplugin) that can be used to generate other such plugins
Dan Vrátil 4de209d
from ini-style description files.
Dan Vrátil 4de209d
Dan Vrátil 2aeffa2
Dan Vrátil 4de209d
%prep
Rex Dieter 00c0f8b
%autosetup -n %{framework}-%{version}
Dan Vrátil 4de209d
Rex Dieter 7e36f12
Dan Vrátil 4de209d
%build
Rex Dieter 7e36f12
mkdir %{_target_platform}
Dan Vrátil 4de209d
pushd %{_target_platform}
Dan Vrátil 4de209d
%{cmake_kf5} ..
Dan Vrátil 4de209d
popd
Dan Vrátil 4de209d
Dan Vrátil 4de209d
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 4de209d
Rex Dieter 7e36f12
Dan Vrátil 4de209d
%install
Dan Vrátil 29f821f
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 7e36f12
Rex Dieter 7e36f12
%find_lang kdesignerplugin5_qt --all-name --with-man --with-qt
Dan Vrátil 4de209d
Dan Vrátil 4de209d
Dan Vrátil 2aeffa2
%post -p /sbin/ldconfig
Dan Vrátil 4de209d
%postun -p /sbin/ldconfig
Dan Vrátil 4de209d
Dan Vrátil 4de209d
%files -f kdesignerplugin5_qt.lang
Rex Dieter 7e36f12
%doc README.md
Rex Dieter 7e36f12
%license COPYING.LIB
Dan Vrátil 4de209d
%{_kf5_bindir}/kgendesignerplugin
Dan Vrátil 4de209d
%{_kf5_qtplugindir}/designer/*.so
Rex Dieter 7e36f12
%dir %{_kf5_datadir}/kf5/widgets/
Dan Vrátil 4de209d
%{_kf5_datadir}/kf5/widgets/*
Rex Dieter 7e36f12
%{_kf5_mandir}/man1/kgendesignerplugin.1*
Rex Dieter 7e36f12
# runtime config, no need for -devel pkg
Rex Dieter 7e36f12
%{_kf5_libdir}/cmake/KF5DesignerPlugin/
Dan Vrátil 4de209d
Dan Vrátil 4de209d
Dan Vrátil 4de209d
%changelog
Rex Dieter acb4fd5
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
Rex Dieter acb4fd5
- 5.33.0
Rex Dieter acb4fd5
Rex Dieter 9edfa59
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
Rex Dieter 9edfa59
- 5.32.0
Rex Dieter 9edfa59
Rex Dieter 9c27228
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
Rex Dieter 9c27228
- 5.31.0
Rex Dieter 9c27228
Rex Dieter ec55672
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
Rex Dieter ec55672
- 5.29.0
Rex Dieter ec55672
Rex Dieter 8344e3d
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
Rex Dieter 8344e3d
- 5.27.0
Rex Dieter 8344e3d
6db42cc
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
6db42cc
- KDE Frameworks 5.26.0
6db42cc
5ecff73
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
5ecff73
- KDE Frameworks 5.25.0
5ecff73
Daniel Vrátil ec3435a
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
Daniel Vrátil ec3435a
- KDE Frameworks 5.24.0
Daniel Vrátil ec3435a
Rex Dieter 6415975
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
Rex Dieter 6415975
- KDE Frameworks 5.23.0
Rex Dieter 6415975
Rex Dieter 1916687
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
Rex Dieter 1916687
- KDE Frameworks 5.22.0
Rex Dieter 1916687
Rex Dieter 00c0f8b
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-2
Rex Dieter 00c0f8b
- update URL, use autosetup
Rex Dieter 00c0f8b
Rex Dieter 553d1bf
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter 553d1bf
- KDE Frameworks 5.21.0
Rex Dieter 553d1bf
Daniel Vrátil 95d1e89
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil 95d1e89
- KDE Frameworks 5.20.0
Daniel Vrátil 95d1e89
Daniel Vrátil b079d25
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil b079d25
- KDE Frameworks 5.19.0
Daniel Vrátil b079d25
ed30c95
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
ed30c95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ed30c95
Rex Dieter 7e36f12
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter 7e36f12
- cosmetics, update URL, use %%license, drop -devel subpkg
Rex Dieter 7e36f12
Daniel Vrátil d387175
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil d387175
- KDE Frameworks 5.18.0
Daniel Vrátil d387175
Dan Vrátil db24aff
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil db24aff
- KDE Frameworks 5.17.0
Dan Vrátil db24aff
Dan Vrátil 6b93b89
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil 6b93b89
- KDE Frameworks 5.16.0
Dan Vrátil 6b93b89
Dan Vrátil 594da0b
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil 594da0b
- KDE Frameworks 5.15.0
Dan Vrátil 594da0b
Dan Vrátil 5eb1922
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 5eb1922
- KDE Frameworks 5.14.0
Dan Vrátil 5eb1922
Dan Vrátil ffbbe7b
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil ffbbe7b
- KDE Frameworks 5.13.0
Dan Vrátil ffbbe7b
Dan Vrátil ffbbe7b
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil ffbbe7b
- KDE Frameworks 5.13.0
Dan Vrátil ffbbe7b
Dan Vrátil ffbbe7b
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil ffbbe7b
- KDE Frameworks 5.13
Dan Vrátil ffbbe7b
Dan Vrátil 6e1c635
* Fri Jul 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.12.0-1
Dan Vrátil 6e1c635
- KDE Frameworks 5.12.0
Dan Vrátil 6e1c635
36ff5a8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
36ff5a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
36ff5a8
Dan Vrátil ec6d984
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil ec6d984
- KDE Frameworks 5.11.0
Dan Vrátil ec6d984
Dan Vrátil da7d2b2
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil da7d2b2
- KDE Frameworks 5.10.0
Dan Vrátil da7d2b2
Dan Vrátil ac61fdd
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil ac61fdd
- KDE Frameworks 5.9.0
Dan Vrátil ac61fdd
Dan Vrátil b29b5fc
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil b29b5fc
- KDE Frameworks 5.8.0
Dan Vrátil b29b5fc
Dan Vrátil 1b21e4b
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 1b21e4b
- Rebuild (GCC 5)
Dan Vrátil 1b21e4b
Dan Vrátil db5b1fb
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil db5b1fb
- KDE Frameworks 5.7.0
Dan Vrátil db5b1fb
Dan Vrátil db5b1fb
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil db5b1fb
- KDE Frameworks 5.7.0
Dan Vrátil db5b1fb
Dan Vrátil d21c03a
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil d21c03a
- KDE Frameworks 5.6.0
Dan Vrátil d21c03a
Dan Vrátil 26bbbc6
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 26bbbc6
- KDE Frameworks 5.5.0
Dan Vrátil 26bbbc6
Dan Vrátil 86e8ff3
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 86e8ff3
- KDE Frameworks 5.4.0
Dan Vrátil 86e8ff3
Dan Vrátil 440bbfa
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 440bbfa
- KDE Frameworks 5.3.0
Dan Vrátil 440bbfa
Dan Vrátil 8afc66a
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil 8afc66a
- KDE Frameworks 5.2.0
Dan Vrátil 8afc66a
259f274
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
259f274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
259f274
Dan Vrátil d06d014
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil d06d014
- KDE Frameworks 5.1.0
Dan Vrátil d06d014
Dan Vrátil 39b49c6
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 39b49c6
- KDE Frameworks 5.0.0
Dan Vrátil 39b49c6
Dan Vrátil 4de209d
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 4de209d
- KDE Frameworks 4.100.0
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil 4de209d
- KDE Frameworks 4.99.0
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 4de209d
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 4de209d
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 4de209d
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 4de209d
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Sat Jan 11 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-2
Dan Vrátil 4de209d
- rebuild
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 4de209d
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 4de209d
Dan Vrátil 4de209d
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 4de209d
- initial version