Dan Vrátil 9c74b37
%global framework kdesignerplugin
Dan Vrátil 4de209d
Dan Vrátil 4de209d
Name:           kf5-%{framework}
Dan Vrátil ec6d984
Version:        5.11.0
Dan Vrátil b29b5fc
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+
Dan Vrátil 4de209d
URL:            http://www.kde.org
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 4de209d
BuildRequires:  kf5-rpm-macros
Dan Vrátil 4de209d
BuildRequires:  extra-cmake-modules
Dan Vrátil 4de209d
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 4de209d
BuildRequires:  qt5-qtwebkit-devel
Dan Vrátil 4de209d
BuildRequires:  qt5-qttools-static
Dan Vrátil 4de209d
BuildRequires:  qt5-qttools-devel
Dan Vrátil 4de209d
BuildRequires:  qt5-qtdeclarative-devel
Dan Vrátil 4de209d
BuildRequires:  qt5-qtwebkit-devel
Dan Vrátil 83b8902
BuildRequires:  qt5-designer-plugin-webkit
Dan Vrátil 4de209d
Dan Vrátil 4de209d
BuildRequires:  kf5-kcoreaddons-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kconfig-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kdoctools-devel
Dan Vrátil 4de209d
Dan Vrátil 4de209d
# optional requirements
Dan Vrátil 4de209d
BuildRequires:  kf5-kcompletion-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kconfigwidgets-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kiconthemes-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kio-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kitemviews-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kplotting-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-ktextwidgets-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kwidgetsaddons-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kxmlgui-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-sonnet-devel
Dan Vrátil 4de209d
BuildRequires:  kf5-kdewebkit-devel
Dan Vrátil 4de209d
Dan Vrátil 4de209d
Requires:       kf5-filesystem
Dan Vrátil 4de209d
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 4de209d
%package        devel
Dan Vrátil 4de209d
Summary:        Development files for %{name}
Dan Vrátil 4de209d
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 4de209d
Dan Vrátil 4de209d
%description    devel
Dan Vrátil 4de209d
The %{name}-devel package contains libraries and header files for
Dan Vrátil 4de209d
developing applications that use %{name}.
Dan Vrátil 4de209d
Dan Vrátil 2aeffa2
Dan Vrátil 4de209d
%prep
Dan Vrátil 4de209d
%setup -q -n %{framework}-%{version}
Dan Vrátil 4de209d
Dan Vrátil 4de209d
%build
Dan Vrátil 4de209d
mkdir -p %{_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
Dan Vrátil 4de209d
%install
Dan Vrátil 29f821f
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 4de209d
%find_lang kdesignerplugin5_qt --with-qt --all-name
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
Dan Vrátil 4de209d
%doc COPYING.LIB README.md
Dan Vrátil 4de209d
%{_kf5_bindir}/kgendesignerplugin
Dan Vrátil 4de209d
%{_kf5_qtplugindir}/designer/*.so
Dan Vrátil 4de209d
%{_kf5_datadir}/kf5/widgets/*
Dan Vrátil af8859d
%{_kf5_mandir}/man1/*
Dan Vrátil af8859d
%{_kf5_mandir}/*/man1/*kgendesignerplugin.1.gz
Dan Vrátil af8859d
%exclude %{_kf5_mandir}/man1
Dan Vrátil 4de209d
Dan Vrátil 4de209d
%files devel
Dan Vrátil 4de209d
%{_kf5_libdir}/cmake/KF5DesignerPlugin
Dan Vrátil 4de209d
Dan Vrátil 4de209d
Dan Vrátil 4de209d
%changelog
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