1 %define kdeframever 5.4
3 %define kfname kwidgetsaddons
5 Summary: Large set of desktop widgets
11 Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
12 # Source0-md5: ac2a39d3de060c91c3f65d21a21d6693
13 URL: http://www.kde.org/
14 BuildRequires: Qt5Core-devel >= %{qtver}
15 BuildRequires: Qt5Gui-devel >= %{qtver}
16 BuildRequires: Qt5Test-devel >= %{qtver}
17 BuildRequires: Qt5UiTools-devel >= %{qtver}
18 BuildRequires: Qt5Widgets-devel >= %{qtver}
19 BuildRequires: cmake >= 2.8.12
20 BuildRequires: kf5-extra-cmake-modules >= 1.0.0
21 BuildRequires: qt5-linguist >= %{qtver}
22 BuildRequires: rpmbuild(macros) >= 1.164
23 BuildRequires: tar >= 1:1.22
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define qt5dir %{_libdir}/qt5
30 This repository contains add-on widgets and classes for applications
31 that use the Qt Widgets module. If you are porting applications from
32 KDE Platform 4 "kdeui" library, you will find many of its classes
35 Provided are action classes that can be added to toolbars or menus, a
36 wide range of widgets for selecting characters, fonts, colors,
37 actions, dates and times, or MIME types, as well as platform-aware
38 dialogs for configuration pages, message boxes, and password requests.
40 Further widgets and classes can be found in other KDE frameworks. For
41 a full list, please see
42 <https://projects.kde.org/projects/frameworks/>
46 Summary: Header files for %{kfname} development
47 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
48 Group: X11/Development/Libraries
49 Requires: %{name} = %{version}-%{release}
52 Header files for %{kfname} development.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe dla programistów używających %{kfname}.
58 %setup -q -n %{kfname}-%{version}
64 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
69 rm -rf $RPM_BUILD_ROOT
71 %{__make} -C build/ install \
72 DESTDIR=$RPM_BUILD_ROOT
74 %find_lang %{kfname}5_qt --with-qm
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
82 %files -f %{kfname}5_qt.lang
83 %defattr(644,root,root,755)
85 %attr(755,root,root) %ghost %{_libdir}/libKF5WidgetsAddons.so.5
86 %attr(755,root,root) %{_libdir}/libKF5WidgetsAddons.so.5.4.0
87 %dir %{_datadir}/kf5/kcharselect
88 %{_datadir}/kf5/kcharselect/kcharselect-data
91 %defattr(644,root,root,755)
92 %{_includedir}/KF5/KWidgetsAddons
93 %{_includedir}/KF5/kwidgetsaddons_version.h
94 %{_libdir}/cmake/KF5WidgetsAddons
95 %attr(755,root,root) %{_libdir}/libKF5WidgetsAddons.so
96 %{qt5dir}/mkspecs/modules/qt_KWidgetsAddons.pri