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