]> git.pld-linux.org Git - packages/kf5-kwidgetsaddons.git/blame - kf5-kwidgetsaddons.spec
- Updated BR: kf5-extra-cmake-modules.
[packages/kf5-kwidgetsaddons.git] / kf5-kwidgetsaddons.spec
CommitLineData
55f3ddbe 1%define kdeframever 5.67
0723cb55 2%define qtver 5.9.0
2382771a 3%define kfname kwidgetsaddons
938c12b8
WF
4
5Summary: Large set of desktop widgets
2382771a 6Name: kf5-%{kfname}
55f3ddbe 7Version: 5.67.0
c482eb0e 8Release: 1
938c12b8
WF
9License: LGPL v2.1+
10Group: X11/Libraries
2382771a 11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
55f3ddbe 12# Source0-md5: 9616a12c63a1c65562e7f5b5fcb29e07
a069a333 13Patch0: failed-tests.patch
938c12b8 14URL: http://www.kde.org/
2382771a
AM
15BuildRequires: Qt5Core-devel >= %{qtver}
16BuildRequires: Qt5Gui-devel >= %{qtver}
17BuildRequires: Qt5Test-devel >= %{qtver}
18BuildRequires: Qt5UiTools-devel >= %{qtver}
19BuildRequires: Qt5Widgets-devel >= %{qtver}
938c12b8 20BuildRequires: cmake >= 2.8.12
2b8e4a0c 21BuildRequires: kf5-extra-cmake-modules >= %{version}
9fdb64b6 22BuildRequires: ninja
2382771a 23BuildRequires: qt5-linguist >= %{qtver}
938c12b8 24BuildRequires: rpmbuild(macros) >= 1.164
4e91442d
ER
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
3416b7c4 27Requires: kf5-dirs
938c12b8
WF
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%define qt5dir %{_libdir}/qt5
31
32%description
33This repository contains add-on widgets and classes for applications
34that use the Qt Widgets module. If you are porting applications from
35KDE Platform 4 "kdeui" library, you will find many of its classes
36here.
37
38Provided are action classes that can be added to toolbars or menus, a
39wide range of widgets for selecting characters, fonts, colors,
40actions, dates and times, or MIME types, as well as platform-aware
41dialogs for configuration pages, message boxes, and password requests.
42
43Further widgets and classes can be found in other KDE frameworks. For
44a full list, please see
45<https://projects.kde.org/projects/frameworks/>
46
47
48%package devel
2382771a
AM
49Summary: Header files for %{kfname} development
50Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
938c12b8
WF
51Group: X11/Development/Libraries
52Requires: %{name} = %{version}-%{release}
38aea8e8
JP
53Requires: Qt5Widgets-devel >= %{qtver}
54Requires: cmake >= 2.6.0
938c12b8
WF
55
56%description devel
2382771a 57Header files for %{kfname} development.
938c12b8
WF
58
59%description devel -l pl.UTF-8
2382771a 60Pliki nagłówkowe dla programistów używających %{kfname}.
938c12b8
WF
61
62%prep
2382771a 63%setup -q -n %{kfname}-%{version}
da3aa334 64#%%patch0 -p1
938c12b8
WF
65
66%build
67install -d build
68cd build
9fdb64b6 69%cmake -G Ninja \
2382771a 70 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
938c12b8 71 ../
9fdb64b6 72%ninja_build
938c12b8
WF
73
74%install
75rm -rf $RPM_BUILD_ROOT
9fdb64b6 76%ninja_install -C build
938c12b8 77
e7f5a885 78%find_lang %{kfname}5_qt --with-qm --all-name --with-kde
938c12b8
WF
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
2382771a 86%files -f %{kfname}5_qt.lang
938c12b8
WF
87%defattr(644,root,root,755)
88%doc README.md
89%attr(755,root,root) %ghost %{_libdir}/libKF5WidgetsAddons.so.5
fe0f7078 90%attr(755,root,root) %{_libdir}/libKF5WidgetsAddons.so.*.*
db93af64 91%attr(755,root,root) %{_libdir}/qt5/plugins/designer/kwidgetsaddons5widgets.so
938c12b8
WF
92%dir %{_datadir}/kf5/kcharselect
93%{_datadir}/kf5/kcharselect/kcharselect-data
94
95%files devel
96%defattr(644,root,root,755)
97%{_includedir}/KF5/KWidgetsAddons
98%{_includedir}/KF5/kwidgetsaddons_version.h
99%{_libdir}/cmake/KF5WidgetsAddons
100%attr(755,root,root) %{_libdir}/libKF5WidgetsAddons.so
101%{qt5dir}/mkspecs/modules/qt_KWidgetsAddons.pri
This page took 0.054694 seconds and 4 git commands to generate.