]> git.pld-linux.org Git - packages/kf5-kwidgetsaddons.git/blame - kf5-kwidgetsaddons.spec
- updated to 5.39.0
[packages/kf5-kwidgetsaddons.git] / kf5-kwidgetsaddons.spec
CommitLineData
a069a333 1%define kdeframever 5.39
38aea8e8 2%define qtver 5.4.0
2382771a 3%define kfname kwidgetsaddons
938c12b8
WF
4
5Summary: Large set of desktop widgets
2382771a 6Name: kf5-%{kfname}
a069a333 7Version: 5.39.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
a069a333
WF
12# Source0-md5: 285d6efcd5ac88a85f783b5cdbeeb9ae
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
WF
20BuildRequires: cmake >= 2.8.12
21BuildRequires: kf5-extra-cmake-modules >= 1.0.0
2382771a 22BuildRequires: qt5-linguist >= %{qtver}
938c12b8 23BuildRequires: rpmbuild(macros) >= 1.164
4e91442d
ER
24BuildRequires: tar >= 1:1.22
25BuildRequires: xz
3416b7c4 26Requires: kf5-dirs
938c12b8
WF
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%define qt5dir %{_libdir}/qt5
30
31%description
32This repository contains add-on widgets and classes for applications
33that use the Qt Widgets module. If you are porting applications from
34KDE Platform 4 "kdeui" library, you will find many of its classes
35here.
36
37Provided are action classes that can be added to toolbars or menus, a
38wide range of widgets for selecting characters, fonts, colors,
39actions, dates and times, or MIME types, as well as platform-aware
40dialogs for configuration pages, message boxes, and password requests.
41
42Further widgets and classes can be found in other KDE frameworks. For
43a full list, please see
44<https://projects.kde.org/projects/frameworks/>
45
46
47%package devel
2382771a
AM
48Summary: Header files for %{kfname} development
49Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
938c12b8
WF
50Group: X11/Development/Libraries
51Requires: %{name} = %{version}-%{release}
38aea8e8
JP
52Requires: Qt5Widgets-devel >= %{qtver}
53Requires: cmake >= 2.6.0
938c12b8
WF
54
55%description devel
2382771a 56Header files for %{kfname} development.
938c12b8
WF
57
58%description devel -l pl.UTF-8
2382771a 59Pliki nagłówkowe dla programistów używających %{kfname}.
938c12b8
WF
60
61%prep
2382771a 62%setup -q -n %{kfname}-%{version}
a069a333 63%patch0 -p1
938c12b8
WF
64
65%build
66install -d build
67cd build
68%cmake \
2382771a 69 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
938c12b8
WF
70 ../
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} -C build/ install \
77 DESTDIR=$RPM_BUILD_ROOT
78
e7f5a885 79%find_lang %{kfname}5_qt --with-qm --all-name --with-kde
938c12b8
WF
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
2382771a 87%files -f %{kfname}5_qt.lang
938c12b8
WF
88%defattr(644,root,root,755)
89%doc README.md
90%attr(755,root,root) %ghost %{_libdir}/libKF5WidgetsAddons.so.5
fe0f7078 91%attr(755,root,root) %{_libdir}/libKF5WidgetsAddons.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.074837 seconds and 4 git commands to generate.