]> git.pld-linux.org Git - packages/kf5-kiconthemes.git/blame - kf5-kiconthemes.spec
- up to 5.4.0
[packages/kf5-kiconthemes.git] / kf5-kiconthemes.spec
CommitLineData
aa980ada
WF
1# TODO:
2# - dir /usr/include/KF5 not packaged
3# /usr/share/kf5 not packaged
9c5a809c
AM
4%define kdeframever 5.4
5%define qtver 5.3.2
6%define kfname kiconthemes
aa980ada
WF
7
8Summary: Icon GUI utilities
9c5a809c
AM
9Name: kf5-%{kfname}
10Version: 5.4.0
aa980ada
WF
11Release: 0.1
12License: LGPL v2.1+
13Group: X11/Libraries
9c5a809c
AM
14Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
15# Source0-md5: 431d0485dbd53453269f1fe0fdda7feb
aa980ada 16URL: http://www.kde.org/
9c5a809c
AM
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5DBus-devel >= %{qtver}
19BuildRequires: Qt5Gui-devel >= %{qtver}
20BuildRequires: Qt5Svg-devel >= %{qtver}
21BuildRequires: Qt5Test-devel >= %{qtver}
22BuildRequires: Qt5Widgets-devel >= %{qtver}
23BuildRequires: Qt5Xml-devel >= %{qtver}
aa980ada
WF
24BuildRequires: cmake >= 2.8.12
25BuildRequires: gettext-devel
9c5a809c 26BuildRequires: kf5-extra-cmake-modules >= 1.4.0
aa980ada
WF
27BuildRequires: kf5-kauth-devel >= %{version}
28BuildRequires: kf5-kcodecs-devel >= %{version}
29BuildRequires: kf5-kconfig-devel >= %{version}
30BuildRequires: kf5-kconfigwidgets-devel >= %{version}
31BuildRequires: kf5-kcoreaddons-devel >= %{version}
32BuildRequires: kf5-kguiaddons-devel >= %{version}
33BuildRequires: kf5-ki18n-devel >= %{version}
34BuildRequires: kf5-kitemviews-devel >= %{version}
35BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
36BuildRequires: pkgconfig
9c5a809c 37BuildRequires: qt5-linguist >= %{qtver}
aa980ada 38BuildRequires: rpmbuild(macros) >= 1.164
ac64d46c
ER
39BuildRequires: tar >= 1:1.22
40BuildRequires: xz
aa980ada
WF
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%define qt5dir %{_libdir}/qt5
44
45%description
46This library contains classes to improve the handling of icons in
47applications using the KDE Frameworks. Provided are:
48
49- KIconDialog: Dialog class to let the user select an icon from the
50 list of installed icons.
51- KIconButton: Custom button class that displays an icon. When
52 clicking it, the user can change it using the icon dialog.
53- KIconEffect: Applies various colorization effects to icons, which
54 can be used to create selected/disabled icon images.
55
56Other classes in this repository are used internally by the icon theme
57configuration dialogs, and should not be used by applications.
58
59%package devel
9c5a809c
AM
60Summary: Header files for %{kfname} development
61Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
aa980ada
WF
62Group: X11/Development/Libraries
63Requires: %{name} = %{version}-%{release}
64
65%description devel
9c5a809c 66Header files for %{kfname} development.
aa980ada
WF
67
68%description devel -l pl.UTF-8
9c5a809c 69Pliki nagłówkowe dla programistów używających %{kfname}.
aa980ada
WF
70
71%prep
9c5a809c 72%setup -q -n %{kfname}-%{version}
aa980ada
WF
73
74%build
75install -d build
76cd build
77%cmake \
9c5a809c 78 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
aa980ada
WF
79 ../
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} -C build/ install \
86 DESTDIR=$RPM_BUILD_ROOT
87
9c5a809c 88%find_lang %{kfname}5
aa980ada
WF
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
9c5a809c 96%files -f %{kfname}5.lang
aa980ada
WF
97%defattr(644,root,root,755)
98%doc README.md
99%attr(755,root,root) %{_bindir}/kiconfinder5
100%attr(755,root,root) %ghost %{_libdir}/libKF5IconThemes.so.5
9c5a809c 101%attr(755,root,root) %{_libdir}/libKF5IconThemes.so.5.4.0
aa980ada
WF
102
103%files devel
104%defattr(644,root,root,755)
105%{_includedir}/KF5/KIconThemes
106%{_includedir}/KF5/kiconthemes_version.h
107%{_libdir}/cmake/KF5IconThemes
108%attr(755,root,root) %{_libdir}/libKF5IconThemes.so
109%{qt5dir}/mkspecs/modules/qt_KIconThemes.pri
This page took 0.2422 seconds and 4 git commands to generate.