diff --git a/.gitignore b/.gitignore index e69de29..6868df9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kdesignerplugin-4.100.0.tar.xz diff --git a/kf5-kdesignerplugin.spec b/kf5-kdesignerplugin.spec new file mode 100644 index 0000000..61d4982 --- /dev/null +++ b/kf5-kdesignerplugin.spec @@ -0,0 +1,133 @@ +#%define snapshot 20140205 +%define framework kdesignerplugin + +Name: kf5-%{framework} +Version: 4.100.0 +Release: 1%{?dist} +Summary: KDE Frameworks 5 Tier 3 integration module for Qt Designer + +License: LGPLv2+ +URL: http://www.kde.org +# git archive --format=tar --prefix=%{framework}-%{version}/ \ +# --remote=git://anongit.kde.org/%{framework}.git master | \ +# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2 +#Source0: %{name}-%{version}-%{snapshot}git.tar.bz2 +Source0: http://download.kde.org/unstable/frameworks/%{version}/%{framework}-%{version}.tar.xz + + +BuildRequires: kf5-rpm-macros +BuildRequires: extra-cmake-modules +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtwebkit-devel +BuildRequires: qt5-qttools-static +BuildRequires: qt5-qttools-devel +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtwebkit-devel + +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-kconfig-devel +BuildRequires: kf5-kdoctools-devel + +# optional requirements +BuildRequires: kf5-kcompletion-devel +BuildRequires: kf5-kconfigwidgets-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-kitemviews-devel +BuildRequires: kf5-kplotting-devel +BuildRequires: kf5-ktextwidgets-devel +BuildRequires: kf5-kwidgetsaddons-devel +BuildRequires: kf5-kxmlgui-devel +BuildRequires: kf5-sonnet-devel +BuildRequires: kf5-kdewebkit-devel + + +Requires: kf5-filesystem + +%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} +Requires: kf5-kcoreaddons-devel +Requires: kf5-kconfig-devel +Requires: kf5-kdoctools-devel +Requires: kf5-kcompletion-devel +Requires: kf5-kconfigwidgets-devel +Requires: kf5-kiconthemes-devel +Requires: kf5-kio-devel +Requires: kf5-kitemviews-devel +Requires: kf5-kplotting-devel +Requires: kf5-ktextwidgets-devel +Requires: kf5-kwidgetsaddons-devel +Requires: kf5-kxmlgui-devel +Requires: kf5-sonnet-devel +Requires: kf5-kdewebkit-devel + +%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} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +%install +%make_install -C %{_target_platform} +%find_lang kdesignerplugin5_qt --with-qt --all-name + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files -f kdesignerplugin5_qt.lang +%doc COPYING.LIB README.md +%{_kf5_bindir}/kgendesignerplugin +%{_kf5_mandir}/man1/* +%{_kf5_qtplugindir}/designer/*.so +%{_kf5_datadir}/kf5/widgets/* + +%files devel +%{_kf5_libdir}/cmake/KF5DesignerPlugin + + +%changelog +* Tue Jun 03 2014 Daniel Vrátil - 4.100.0-1 +- KDE Frameworks 4.100.0 + +* Mon May 05 2014 Daniel Vrátil - 4.99.0 +- KDE Frameworks 4.99.0 + +* Mon Mar 31 2014 Jan Grulich 4.98.0-1 +- Update to KDE Frameworks 5 Beta 1 (4.98.0) + +* Wed Mar 05 2014 Jan Grulich 4.97.0-1 +- Update to KDE Frameworks 5 Alpha 1 (4.97.0) + +* Wed Feb 12 2014 Daniel Vrátil 4.96.0-1 +- Update to KDE Frameworks 5 Alpha 1 (4.96.0) + +* Wed Feb 05 2014 Daniel Vrátil 4.96.0-0.1.20140205git +- Update to pre-relase snapshot of 4.96.0 + +* Sat Jan 11 2014 Daniel Vrátil 4.95.0-2 +- rebuild + +* Thu Jan 09 2014 Daniel Vrátil 4.95.0-1 +- Update to KDE Frameworks 5 TP1 (4.95.0) + +* Sat Jan 4 2014 Daniel Vrátil +- initial version diff --git a/sources b/sources index e69de29..a2bb80e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f5a93ac896b1ddb4c338e99eb1102b1b kdesignerplugin-4.100.0.tar.xz