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