]> git.pld-linux.org Git - packages/kf5-kitemmodels.git/blame - kf5-kitemmodels.spec
- updated to 5.53.0
[packages/kf5-kitemmodels.git] / kf5-kitemmodels.spec
CommitLineData
9f97ff37
WF
1%define kdeframever 5.53
2%define qtver 5.9.0
133f9fc6 3%define kfname kitemmodels
2c8b5e74
WF
4
5Summary: Set of item models extending the Qt model-view framework
133f9fc6 6Name: kf5-%{kfname}
9f97ff37 7Version: 5.53.0
7b012b58 8Release: 1
2c8b5e74
WF
9License: LGPL v2.1+
10Group: X11/Libraries
133f9fc6 11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
9f97ff37 12# Source0-md5: f4d5826a20517d81387d20afb558ad0a
2c8b5e74 13URL: http://www.kde.org/
133f9fc6
AM
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: Qt5Gui-devel >= %{qtver}
16BuildRequires: Qt5Test-devel >= %{qtver}
17BuildRequires: Qt5Widgets-devel >= %{qtver}
2c8b5e74
WF
18BuildRequires: cmake >= 2.8.12
19BuildRequires: kf5-extra-cmake-modules >= 1.0.0
133f9fc6 20BuildRequires: qt5-linguist >= %{qtver}
2c8b5e74 21BuildRequires: rpmbuild(macros) >= 1.164
d54e7fc9
ER
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
ac80d6f0 24Requires: kf5-dirs
2c8b5e74
WF
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%define qt5dir %{_libdir}/qt5
28
29%description
30KItemModels provides the following models:
31
32- KBreadcrumbSelectionModel - Selects the parents of selected items to
33 create breadcrumbs
34- KCheckableProxyModel - Adds a checkable capability to a source model
35- KDescendantsProxyModel - Proxy Model for restructuring a Tree into a
36 list
37- KLinkItemSelectionModel - Share a selection in multiple views which
38 do not have the same source model
39- KModelIndexProxyMapper - Mapping of indexes and selections through
40 proxy models
41- KRecursiveFilterProxyModel - Recursive filtering of models
42- KSelectionProxyModel - A Proxy Model which presents a subset of its
43 source model to observers
44
45%package devel
133f9fc6
AM
46Summary: Header files for %{kfname} development
47Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
2c8b5e74
WF
48Group: X11/Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description devel
133f9fc6 52Header files for %{kfname} development.
2c8b5e74
WF
53
54%description devel -l pl.UTF-8
133f9fc6 55Pliki nagłówkowe dla programistów używających %{kfname}.
2c8b5e74
WF
56
57%prep
133f9fc6 58%setup -q -n %{kfname}-%{version}
2c8b5e74
WF
59
60%build
61install -d build
62cd build
63%cmake \
133f9fc6 64 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
2c8b5e74
WF
65 ../
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} -C build/ install \
72 DESTDIR=$RPM_BUILD_ROOT
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
80%files
81%defattr(644,root,root,755)
82%doc README.md
83%attr(755,root,root) %ghost %{_libdir}/libKF5ItemModels.so.5
7b012b58 84%attr(755,root,root) %{_libdir}/libKF5ItemModels.so.*.*
381c8ba8 85/etc/xdg/kitemmodels.categories
2c8b5e74
WF
86
87%files devel
88%defattr(644,root,root,755)
89%{_includedir}/KF5/KItemModels
90%{_includedir}/KF5/kitemmodels_version.h
91%{_libdir}/cmake/KF5ItemModels
92%attr(755,root,root) %{_libdir}/libKF5ItemModels.so
93%{qt5dir}/mkspecs/modules/qt_KItemModels.pri
This page took 0.605828 seconds and 4 git commands to generate.