]>
Commit | Line | Data |
---|---|---|
e5334776 | 1 | %define kdeframever 5.90 |
568c1544 | 2 | %define qtver 5.9.0 |
f2df170d | 3 | %define kfname kemoticons |
f33b1a58 WF |
4 | |
5 | Summary: Convert text emoticons to graphical emoticons | |
f2df170d | 6 | Name: kf5-%{kfname} |
e5334776 | 7 | Version: 5.90.0 |
fe27e0eb | 8 | Release: 1 |
f33b1a58 WF |
9 | License: LGPL v2.1+ |
10 | Group: X11/Libraries | |
071a7715 | 11 | Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
e5334776 | 12 | # Source0-md5: bbde26573af9fef0073e225f698c2032 |
f33b1a58 | 13 | URL: http://www.kde.org/ |
f2df170d AM |
14 | BuildRequires: Qt5Core-devel >= %{qtver} |
15 | BuildRequires: Qt5DBus-devel >= %{qtver} | |
16 | BuildRequires: Qt5Gui-devel >= %{qtver} | |
17 | BuildRequires: Qt5Test-devel >= %{qtver} | |
18 | BuildRequires: Qt5Widgets-devel >= %{qtver} | |
19 | BuildRequires: Qt5Xml-devel >= %{qtver} | |
f33b1a58 WF |
20 | BuildRequires: cmake >= 2.8.12 |
21 | BuildRequires: gettext-devel | |
ac7f15f6 | 22 | BuildRequires: kf5-extra-cmake-modules >= %{version} |
f33b1a58 WF |
23 | BuildRequires: kf5-karchive-devel >= %{version} |
24 | BuildRequires: kf5-kconfig-devel >= %{version} | |
25 | BuildRequires: kf5-kcoreaddons-devel >= %{version} | |
26 | BuildRequires: kf5-kdbusaddons-devel >= %{version} | |
27 | BuildRequires: kf5-ki18n-devel >= %{version} | |
28 | BuildRequires: kf5-kservice-devel >= %{version} | |
85335b37 | 29 | BuildRequires: ninja |
f33b1a58 WF |
30 | BuildRequires: tar >= 1:1.22 |
31 | BuildRequires: xz | |
bd89a838 | 32 | Requires: kf5-dirs |
f33b1a58 WF |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %define qt5dir %{_libdir}/qt5 | |
36 | ||
37 | %description | |
38 | KEmoticons converts emoticons from text to a graphical representation | |
39 | with images in HTML. It supports setting different themes for | |
40 | emoticons coming from different providers. | |
41 | ||
42 | %package devel | |
f2df170d AM |
43 | Summary: Header files for %{kfname} development |
44 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
f33b1a58 WF |
45 | Group: X11/Development/Libraries |
46 | Requires: %{name} = %{version}-%{release} | |
47 | ||
48 | %description devel | |
f2df170d | 49 | Header files for %{kfname} development. |
f33b1a58 WF |
50 | |
51 | %description devel -l pl.UTF-8 | |
f2df170d | 52 | Pliki nagłówkowe dla programistów używających %{kfname}. |
f33b1a58 WF |
53 | |
54 | %prep | |
f2df170d | 55 | %setup -q -n %{kfname}-%{version} |
f33b1a58 WF |
56 | |
57 | %build | |
58 | install -d build | |
59 | cd build | |
85335b37 | 60 | %cmake -G Ninja \ |
f2df170d | 61 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
f33b1a58 | 62 | ../ |
85335b37 | 63 | %ninja_build |
f33b1a58 WF |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
85335b37 | 67 | %ninja_install -C build |
f33b1a58 WF |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc README.md | |
6cf3e9d2 | 78 | %{_datadir}/qlogging-categories5/kemoticons.categories |
c97745ed | 79 | %ghost %{_libdir}/libKF5Emoticons.so.5 |
b07ed399 | 80 | %attr(755,root,root) %{_libdir}/libKF5Emoticons.so.*.* |
f33b1a58 | 81 | %dir %{qt5dir}/plugins/kf5/emoticonsthemes |
b07ed399 | 82 | %attr(755,root,root) %{qt5dir}/plugins/kf5/KEmoticonsIntegrationPlugin.so |
f33b1a58 WF |
83 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/adium.so |
84 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/kde.so | |
85 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/pidgin.so | |
86 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/xmpp.so | |
87 | %{_datadir}/kservices5/emoticonstheme_adium.desktop | |
88 | %{_datadir}/kservices5/emoticonstheme_kde.desktop | |
89 | %{_datadir}/kservices5/emoticonstheme_pidgin.desktop | |
90 | %{_datadir}/kservices5/emoticonstheme_xmpp.desktop | |
91 | %{_datadir}/kservicetypes5/kemoticonsTheme.desktop | |
4c5ba6a5 | 92 | %{_datadir}/emoticons/Breeze |
bd89a838 | 93 | %{_datadir}/emoticons/EmojiOne |
bd89a838 | 94 | %{_datadir}/emoticons/Konqi |
0ecdd8e2 | 95 | %{_datadir}/qlogging-categories5/kemoticons.renamecategories |
f33b1a58 WF |
96 | |
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
99 | %{_includedir}/KF5/KEmoticons | |
100 | %{_includedir}/KF5/kemoticons_version.h | |
101 | %{_libdir}/cmake/KF5Emoticons | |
c97745ed | 102 | %{_libdir}/libKF5Emoticons.so |
f33b1a58 | 103 | %{qt5dir}/mkspecs/modules/qt_KEmoticons.pri |