diff --git a/.gitignore b/.gitignore index ed92c5d..b12e654 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1 @@ -/kdesignerplugin-4.100.0.tar.xz -/kdesignerplugin-5.0.0.tar.xz -/kdesignerplugin-5.1.0.tar.xz -/kdesignerplugin-5.2.0.tar.xz -/kdesignerplugin-5.3.0.tar.xz -/kdesignerplugin-5.4.0.tar.xz -/kdesignerplugin-5.5.0.tar.xz -/kdesignerplugin-5.6.0.tar.xz -/kdesignerplugin-5.7.0.tar.xz -/kdesignerplugin-5.8.0.tar.xz -/kdesignerplugin-5.9.0.tar.xz -/kdesignerplugin-5.10.0.tar.xz -/kdesignerplugin-5.11.0.tar.xz -/kdesignerplugin-5.12.0.tar.xz -/kdesignerplugin-5.13.0.tar.xz -/kdesignerplugin-5.14.0.tar.xz -/kdesignerplugin-5.15.0.tar.xz -/kdesignerplugin-5.16.0.tar.xz -/kdesignerplugin-5.17.0.tar.xz /kdesignerplugin-5.18.0.tar.xz diff --git a/kf5-kdesignerplugin.spec b/kf5-kdesignerplugin.spec index d53cfea..ea4f6ab 100644 --- a/kf5-kdesignerplugin.spec +++ b/kf5-kdesignerplugin.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 integration module for Qt Designer License: LGPLv2+ -URL: http://www.kde.org +URL: http://projects.kde.org/kdesignerplugin %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,23 +17,22 @@ URL: http://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz -BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: kf5-kconfig-devel >= %{version} +BuildRequires: kf5-kcoreaddons-devel >= %{version} +BuildRequires: kf5-kdoctools-devel >= %{version} +BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: qt5-designer-plugin-webkit BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtwebkit-devel -BuildRequires: qt5-qttools-static -BuildRequires: qt5-qttools-devel BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qttools-devel +BuildRequires: qt5-qttools-static BuildRequires: qt5-qtwebkit-devel -BuildRequires: qt5-designer-plugin-webkit - -BuildRequires: kf5-kcoreaddons-devel >= %{version} -BuildRequires: kf5-kconfig-devel >= %{version} -BuildRequires: kf5-kdoctools-devel >= %{version} # optional requirements BuildRequires: kf5-kcompletion-devel >= %{version} BuildRequires: kf5-kconfigwidgets-devel >= %{version} +BuildRequires: kf5-kdewebkit-devel >= %{version} BuildRequires: kf5-kiconthemes-devel >= %{version} BuildRequires: kf5-kio-devel >= %{version} BuildRequires: kf5-kitemviews-devel >= %{version} @@ -42,58 +41,57 @@ BuildRequires: kf5-ktextwidgets-devel >= %{version} BuildRequires: kf5-kwidgetsaddons-devel >= %{version} BuildRequires: kf5-kxmlgui-devel >= %{version} BuildRequires: kf5-sonnet-devel >= %{version} -BuildRequires: kf5-kdewebkit-devel >= %{version} Requires: kf5-filesystem >= %{version} +Obsoletes: kf5-kdesignerplugin-devel < 5.18.0-2 +Provides: kf5-kdesignerplugin-devel = %{version}-%{release} + %description This framework provides plugins for Qt Designer that allow it to display the widgets provided by various KDE frameworks, as well as a utility (kgendesignerplugin) that can be used to generate other such plugins from ini-style description files. -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. - %prep %setup -q -n %{framework}-%{version} + %build -mkdir -p %{_target_platform} +mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} + %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -%find_lang kdesignerplugin5_qt --with-qt --all-name + +%find_lang kdesignerplugin5_qt --all-name --with-man --with-qt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f kdesignerplugin5_qt.lang -%doc COPYING.LIB README.md +%doc README.md +%license COPYING.LIB %{_kf5_bindir}/kgendesignerplugin %{_kf5_qtplugindir}/designer/*.so +%dir %{_kf5_datadir}/kf5/widgets/ %{_kf5_datadir}/kf5/widgets/* -%{_kf5_mandir}/man1/* -%{_kf5_mandir}/*/man1/*kgendesignerplugin.1.gz -%exclude %{_kf5_mandir}/man1 - -%files devel -%{_kf5_libdir}/cmake/KF5DesignerPlugin +%{_kf5_mandir}/man1/kgendesignerplugin.1* +# runtime config, no need for -devel pkg +%{_kf5_libdir}/cmake/KF5DesignerPlugin/ %changelog +* Thu Jan 14 2016 Rex Dieter 5.18.0-2 +- cosmetics, update URL, use %%license, drop -devel subpkg + * Sun Jan 03 2016 Daniel Vrátil - 5.18.0-1 - KDE Frameworks 5.18.0