]>
Commit | Line | Data |
---|---|---|
f33b1a58 WF |
1 | # TODO: |
2 | # Not packaged: | |
3 | # /usr/include/KF5 | |
4 | # /usr/lib/qt5/plugins/kf5/emoticonsthemes | |
5 | # /usr/share/emoticons/Glass | |
6 | # /usr/share/kservices5 | |
7 | # /usr/share/kservicetypes5 | |
b07ed399 | 8 | %define kdeframever 5.10 |
f2df170d AM |
9 | %define qtver 5.3.2 |
10 | %define kfname kemoticons | |
f33b1a58 WF |
11 | |
12 | Summary: Convert text emoticons to graphical emoticons | |
f2df170d | 13 | Name: kf5-%{kfname} |
b07ed399 | 14 | Version: 5.10.0 |
f33b1a58 WF |
15 | Release: 0.1 |
16 | License: LGPL v2.1+ | |
17 | Group: X11/Libraries | |
f2df170d | 18 | Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
b07ed399 | 19 | # Source0-md5: 68860ec9f2ef32b3d2a5ed9b61b0ae17 |
f33b1a58 | 20 | URL: http://www.kde.org/ |
f2df170d AM |
21 | BuildRequires: Qt5Core-devel >= %{qtver} |
22 | BuildRequires: Qt5DBus-devel >= %{qtver} | |
23 | BuildRequires: Qt5Gui-devel >= %{qtver} | |
24 | BuildRequires: Qt5Test-devel >= %{qtver} | |
25 | BuildRequires: Qt5Widgets-devel >= %{qtver} | |
26 | BuildRequires: Qt5Xml-devel >= %{qtver} | |
f33b1a58 WF |
27 | BuildRequires: cmake >= 2.8.12 |
28 | BuildRequires: gettext-devel | |
f2df170d | 29 | BuildRequires: kf5-extra-cmake-modules >= 1.4.0 |
f33b1a58 WF |
30 | BuildRequires: kf5-karchive-devel >= %{version} |
31 | BuildRequires: kf5-kconfig-devel >= %{version} | |
32 | BuildRequires: kf5-kcoreaddons-devel >= %{version} | |
33 | BuildRequires: kf5-kdbusaddons-devel >= %{version} | |
34 | BuildRequires: kf5-ki18n-devel >= %{version} | |
35 | BuildRequires: kf5-kservice-devel >= %{version} | |
36 | BuildRequires: tar >= 1:1.22 | |
37 | BuildRequires: xz | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %define qt5dir %{_libdir}/qt5 | |
41 | ||
42 | %description | |
43 | KEmoticons converts emoticons from text to a graphical representation | |
44 | with images in HTML. It supports setting different themes for | |
45 | emoticons coming from different providers. | |
46 | ||
47 | %package devel | |
f2df170d AM |
48 | Summary: Header files for %{kfname} development |
49 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
f33b1a58 WF |
50 | Group: X11/Development/Libraries |
51 | Requires: %{name} = %{version}-%{release} | |
52 | ||
53 | %description devel | |
f2df170d | 54 | Header files for %{kfname} development. |
f33b1a58 WF |
55 | |
56 | %description devel -l pl.UTF-8 | |
f2df170d | 57 | Pliki nagłówkowe dla programistów używających %{kfname}. |
f33b1a58 WF |
58 | |
59 | %prep | |
f2df170d | 60 | %setup -q -n %{kfname}-%{version} |
f33b1a58 WF |
61 | |
62 | %build | |
63 | install -d build | |
64 | cd build | |
65 | %cmake \ | |
f2df170d | 66 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
f33b1a58 WF |
67 | ../ |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} -C build/ install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
84 | %doc README.md | |
85 | %attr(755,root,root) %ghost %{_libdir}/libKF5Emoticons.so.5 | |
b07ed399 | 86 | %attr(755,root,root) %{_libdir}/libKF5Emoticons.so.*.* |
f33b1a58 | 87 | %dir %{qt5dir}/plugins/kf5/emoticonsthemes |
b07ed399 | 88 | %attr(755,root,root) %{qt5dir}/plugins/kf5/KEmoticonsIntegrationPlugin.so |
f33b1a58 WF |
89 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/adium.so |
90 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/kde.so | |
91 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/pidgin.so | |
92 | %attr(755,root,root) %{qt5dir}/plugins/kf5/emoticonsthemes/xmpp.so | |
93 | %{_datadir}/kservices5/emoticonstheme_adium.desktop | |
94 | %{_datadir}/kservices5/emoticonstheme_kde.desktop | |
95 | %{_datadir}/kservices5/emoticonstheme_pidgin.desktop | |
96 | %{_datadir}/kservices5/emoticonstheme_xmpp.desktop | |
97 | %{_datadir}/kservicetypes5/kemoticonsTheme.desktop | |
98 | %{_datadir}/emoticons/Glass/angry.png | |
99 | %{_datadir}/emoticons/Glass/bat.png | |
100 | %{_datadir}/emoticons/Glass/beer.png | |
101 | %{_datadir}/emoticons/Glass/biggrin.png | |
102 | %{_datadir}/emoticons/Glass/cake.png | |
103 | %{_datadir}/emoticons/Glass/camera.png | |
104 | %{_datadir}/emoticons/Glass/cat.png | |
105 | %{_datadir}/emoticons/Glass/clock.png | |
106 | %{_datadir}/emoticons/Glass/cocktail.png | |
107 | %{_datadir}/emoticons/Glass/confused.png | |
108 | %{_datadir}/emoticons/Glass/cry.png | |
109 | %{_datadir}/emoticons/Glass/cup.png | |
110 | %{_datadir}/emoticons/Glass/dog.png | |
111 | %{_datadir}/emoticons/Glass/email.png | |
112 | %{_datadir}/emoticons/Glass/embarassed.png | |
113 | %{_datadir}/emoticons/Glass/emoticons.xml | |
114 | %{_datadir}/emoticons/Glass/film.png | |
115 | %{_datadir}/emoticons/Glass/foot_in_mouth.png | |
116 | %{_datadir}/emoticons/Glass/innocent.png | |
117 | %{_datadir}/emoticons/Glass/kiss.png | |
118 | %{_datadir}/emoticons/Glass/lightbulb.png | |
119 | %{_datadir}/emoticons/Glass/love.png | |
120 | %{_datadir}/emoticons/Glass/note.png | |
121 | %{_datadir}/emoticons/Glass/oh.png | |
122 | %{_datadir}/emoticons/Glass/omg.png | |
123 | %{_datadir}/emoticons/Glass/phone.png | |
124 | %{_datadir}/emoticons/Glass/present.png | |
125 | %{_datadir}/emoticons/Glass/rose.png | |
126 | %{_datadir}/emoticons/Glass/sad.png | |
127 | %{_datadir}/emoticons/Glass/shade.png | |
128 | %{_datadir}/emoticons/Glass/sleep.png | |
129 | %{_datadir}/emoticons/Glass/smile.png | |
130 | %{_datadir}/emoticons/Glass/star.png | |
131 | %{_datadir}/emoticons/Glass/teeth.png | |
132 | %{_datadir}/emoticons/Glass/thumbs_down.png | |
133 | %{_datadir}/emoticons/Glass/thumbs_up.png | |
134 | %{_datadir}/emoticons/Glass/tongue.png | |
135 | %{_datadir}/emoticons/Glass/undecided.png | |
136 | %{_datadir}/emoticons/Glass/unhappy.png | |
137 | %{_datadir}/emoticons/Glass/unlove.png | |
138 | %{_datadir}/emoticons/Glass/wilted_rose.png | |
139 | %{_datadir}/emoticons/Glass/wink.png | |
140 | ||
141 | %files devel | |
142 | %defattr(644,root,root,755) | |
143 | %{_includedir}/KF5/KEmoticons | |
144 | %{_includedir}/KF5/kemoticons_version.h | |
145 | %{_libdir}/cmake/KF5Emoticons | |
146 | %attr(755,root,root) %{_libdir}/libKF5Emoticons.so | |
147 | %{qt5dir}/mkspecs/modules/qt_KEmoticons.pri |