]>
Commit | Line | Data |
---|---|---|
155698ad | 1 | %define kdeframever 5.24 |
f2df170d AM |
2 | %define qtver 5.3.2 |
3 | %define kfname kemoticons | |
f33b1a58 WF |
4 | |
5 | Summary: Convert text emoticons to graphical emoticons | |
f2df170d | 6 | Name: kf5-%{kfname} |
155698ad | 7 | Version: 5.24.0 |
fe27e0eb | 8 | Release: 1 |
f33b1a58 WF |
9 | License: LGPL v2.1+ |
10 | Group: X11/Libraries | |
f2df170d | 11 | Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
155698ad | 12 | # Source0-md5: cb1d8819afe3b2b57804bbcfe6993ddc |
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 | |
f2df170d | 22 | BuildRequires: kf5-extra-cmake-modules >= 1.4.0 |
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} | |
29 | BuildRequires: tar >= 1:1.22 | |
30 | BuildRequires: xz | |
bd89a838 | 31 | Requires: kf5-dirs |
f33b1a58 WF |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %define qt5dir %{_libdir}/qt5 | |
35 | ||
36 | %description | |
37 | KEmoticons converts emoticons from text to a graphical representation | |
38 | with images in HTML. It supports setting different themes for | |
39 | emoticons coming from different providers. | |
40 | ||
41 | %package devel | |
f2df170d AM |
42 | Summary: Header files for %{kfname} development |
43 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
f33b1a58 WF |
44 | Group: X11/Development/Libraries |
45 | Requires: %{name} = %{version}-%{release} | |
46 | ||
47 | %description devel | |
f2df170d | 48 | Header files for %{kfname} development. |
f33b1a58 WF |
49 | |
50 | %description devel -l pl.UTF-8 | |
f2df170d | 51 | Pliki nagłówkowe dla programistów używających %{kfname}. |
f33b1a58 WF |
52 | |
53 | %prep | |
f2df170d | 54 | %setup -q -n %{kfname}-%{version} |
f33b1a58 WF |
55 | |
56 | %build | |
57 | install -d build | |
58 | cd build | |
59 | %cmake \ | |
f2df170d | 60 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
f33b1a58 WF |
61 | ../ |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} -C build/ install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc README.md | |
79 | %attr(755,root,root) %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 |
cd4fea64 | 94 | #%%{_datadir}/emoticons/Glass |
bd89a838 | 95 | %{_datadir}/emoticons/Konqi |
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 | |
102 | %attr(755,root,root) %{_libdir}/libKF5Emoticons.so | |
103 | %{qt5dir}/mkspecs/modules/qt_KEmoticons.pri |