[packages/kf5-kdesignerplugin] - new
witekfl
witekfl at pld-linux.org
Fri Jul 11 16:58:03 CEST 2014
commit 671f17341fa7df59f729a35d34c7fbb8dae8e377
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Jul 11 16:57:46 2014 +0200
- new
kf5-kdesignerplugin.spec | 163 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 163 insertions(+)
---
diff --git a/kf5-kdesignerplugin.spec b/kf5-kdesignerplugin.spec
new file mode 100644
index 0000000..37bae2c
--- /dev/null
+++ b/kf5-kdesignerplugin.spec
@@ -0,0 +1,163 @@
+# TODO:
+# Not packaged dirs:
+# /usr/share/kf5/widgets/pics
+
+%define _state stable
+%define orgname kdesignerplugin
+
+Summary: Framework for managing menu and toolbar actions
+Name: kf5-%{orgname}
+Version: 5.0.0
+Release: 0.1
+License: LGPL v2.1+
+Group: X11/Libraries
+Source0: ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
+# Source0-md5: 19f3b825535ee7f837d0061f0fde0672
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= 5.2.0
+BuildRequires: Qt5DBus-devel >= 5.2.0
+BuildRequires: Qt5Designer-devel >= 5.2.0
+BuildRequires: Qt5Gui-devel >= 5.3.1
+BuildRequires: Qt5Network-devel >= 5.2.0
+BuildRequires: Qt5OpenGL-devel >= 5.3.1
+BuildRequires: Qt5Positioning-devel >= 5.3.1
+BuildRequires: Qt5PrintSupport-devel >= 5.3.1
+BuildRequires: Qt5Qml-devel >= 5.3.1
+BuildRequires: Qt5Quick-devel >= 5.3.1
+BuildRequires: Qt5Sensors-devel >= 5.3.1
+BuildRequires: Qt5WebKit-devel >= 5.3.1
+BuildRequires: Qt5Xml-devel >= 5.3.1
+BuildRequires: gettext-devel
+BuildRequires: kf5-attica-devel >= %{version}
+BuildRequires: kf5-extra-cmake-modules >= 1.0.0
+BuildRequires: kf5-karchive-devel >= %{version}
+BuildRequires: kf5-kauth-devel >= %{version}
+BuildRequires: kf5-kbookmarks-devel >= %{version}
+BuildRequires: kf5-kcodecs-devel >= %{version}
+BuildRequires: kf5-kcompletion-devel >= %{version}
+BuildRequires: kf5-kconfig-devel >= %{version}
+BuildRequires: kf5-kconfigwidgets-devel >= %{version}
+BuildRequires: kf5-kcoreaddons-devel >= %{version}
+BuildRequires: kf5-kdbusaddons-devel >= %{version}
+BuildRequires: kf5-kdewebkit-devel >= %{version}
+BuildRequires: kf5-kdoctools-devel >= %{version}
+BuildRequires: kf5-kglobalaccel-devel >= %{version}
+BuildRequires: kf5-kguiaddons-devel >= %{version}
+BuildRequires: kf5-ki18n-devel >= %{version}
+BuildRequires: kf5-kiconthemes-devel >= %{version}
+BuildRequires: kf5-kio-devel >= %{version}
+BuildRequires: kf5-kitemviews-devel >= %{version}
+BuildRequires: kf5-kjobwidgets-devel >= %{version}
+BuildRequires: kf5-kplotting-devel >= %{version}
+BuildRequires: kf5-kservice-devel >= %{version}
+BuildRequires: kf5-ktextwidgets-devel >= %{version}
+BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
+BuildRequires: kf5-kwindowsystem-devel >= %{version}
+BuildRequires: kf5-kxmlgui-devel >= %{version}
+BuildRequires: kf5-solid-devel >= %{version}
+BuildRequires: kf5-sonnet-devel >= %{version}
+BuildRequires: qt5-linguist
+
+BuildRequires: cmake >= 2.8.12
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define qt5dir %{_libdir}/qt5
+
+%description
+KXMLGUI provides a framework for managing menu and toolbar actions in
+an abstract way. The actions are configured through a XML description
+and hooks in the application code. The framework supports merging of
+multiple description for example for integrating actions from plugins.
+
+%package devel
+Summary: Header files for %{orgname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{orgname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{orgname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{orgname}.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DBIN_INSTALL_DIR=%{_bindir} \
+ -DKCFG_INSTALL_DIR=%{_datadir}/config.kcfg \
+ -DPLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
+ -DQT_PLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
+ -DQML_INSTALL_DIR=%{qt5dir}/qml \
+ -DIMPORTS_INSTALL_DIR=%{qt5dirs}/imports \
+ -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
+ -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
+ -DKF5_LIBEXEC_INSTALL_DIR=%{_libexecdir} \
+ -DKF5_INCLUDE_INSTALL_DIR=%{_includedir} \
+ -DECM_MKSPECS_INSTALL_DIR=%{qt5dir}/mkspecs/modules \
+ -D_IMPORT_PREFIX=%{_prefix} \
+ ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{orgname}5_qt --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{orgname}5_qt.lang
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/kgendesignerplugin
+%attr(755,root,root) %{_libdir}/qt5/plugins/designer/kdewebkit5widgets.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/designer/kf5widgets.so
+%{_datadir}/kf5/widgets/pics/k3iconview.png
+%{_datadir}/kf5/widgets/pics/k3listview.png
+%{_datadir}/kf5/widgets/pics/kactionselector.png
+%{_datadir}/kf5/widgets/pics/kactivelabel.png
+%{_datadir}/kf5/widgets/pics/kcharselect.png
+%{_datadir}/kf5/widgets/pics/kcmodule.png
+%{_datadir}/kf5/widgets/pics/kcolorbutton.png
+%{_datadir}/kf5/widgets/pics/kcolorcombo.png
+%{_datadir}/kf5/widgets/pics/kcombobox.png
+%{_datadir}/kf5/widgets/pics/kdatepicker.png
+%{_datadir}/kf5/widgets/pics/kdatetable.png
+%{_datadir}/kf5/widgets/pics/kdualcolorbutton.png
+%{_datadir}/kf5/widgets/pics/kfontcombo.png
+%{_datadir}/kf5/widgets/pics/kfontrequester.png
+%{_datadir}/kf5/widgets/pics/kgradientselector.png
+%{_datadir}/kf5/widgets/pics/khistorycombo.png
+%{_datadir}/kf5/widgets/pics/khsselector.png
+%{_datadir}/kf5/widgets/pics/kiconbutton.png
+%{_datadir}/kf5/widgets/pics/kkeybutton.png
+%{_datadir}/kf5/widgets/pics/kled.png
+%{_datadir}/kf5/widgets/pics/klineedit.png
+%{_datadir}/kf5/widgets/pics/klistbox.png
+%{_datadir}/kf5/widgets/pics/kpalettetable.png
+%{_datadir}/kf5/widgets/pics/kpasswordedit.png
+%{_datadir}/kf5/widgets/pics/kruler.png
+%{_datadir}/kf5/widgets/pics/ksqueezedtextlabel.png
+%{_datadir}/kf5/widgets/pics/ktextedit.png
+%{_datadir}/kf5/widgets/pics/kurlcomborequester.png
+%{_datadir}/kf5/widgets/pics/kurllabel.png
+%{_datadir}/kf5/widgets/pics/kurlrequester.png
+%{_mandir}/man1/kgendesignerplugin.1*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/cmake/KF5DesignerPlugin
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-kdesignerplugin.git/commitdiff/671f17341fa7df59f729a35d34c7fbb8dae8e377
More information about the pld-cvs-commit
mailing list