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