diff --git a/kf5-kemoticons.spec b/kf5-kemoticons.spec index 401977f..5fae30a 100644 --- a/kf5-kemoticons.spec +++ b/kf5-kemoticons.spec @@ -1,12 +1,12 @@ %global framework kemoticons -Name: kf5-%{framework} -Version: 5.55.0 -Release: 1 -Summary: KDE Frameworks 5 Tier 3 module with support for emoticons and emoticons themes +Name: kf5-%{framework} +Version: 5.55.0 +Release: 1 +Summary: KDE Frameworks 5 Tier 3 module with support for emoticons and emoticons themes -License: GPLv2+ and LGPLv2+ -URL: https://cgit.kde.org/%{framework}.git +License: GPLv2+ and LGPLv2+ +URL: https://cgit.kde.org/%{framework}.git %global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -15,28 +15,19 @@ URL: https://cgit.kde.org/%{framework}.git %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$ -BuildRequires: extra-cmake-modules >= %{majmin} -BuildRequires: kf5-karchive-devel >= %{majmin} -BuildRequires: kf5-kconfig-devel >= %{majmin} -BuildRequires: kf5-kcoreaddons-devel >= %{majmin} -BuildRequires: kf5-kservice-devel >= %{majmin} -BuildRequires: kf5-rpm-macros -BuildRequires: qt5-qtbase-devel - +BuildRequires: extra-cmake-modules >= %{majmin} kf5-karchive-devel >= %{majmin} kf5-kconfig-devel >= %{majmin} kf5-kcoreaddons-devel >= %{majmin} kf5-kservice-devel >= %{majmin} kf5-rpm-macros qt5-qtbase-devel %description KDE Frameworks 5 Tier 3 module that provides emoticons themes as well as helper classes to automatically convert text emoticons to graphical emoticons. %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: kf5-kservice-devel >= %{majmin} -Requires: qt5-qtbase-devel +Requires: %{name}%{?_isa} = %{version}-%{release} kf5-kservice-devel >= %{majmin} qt5-qtbase-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -70,7 +61,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_kf5_plugindir}/KEmoticonsIntegrationPlugin.so %{_kf5_datadir}/kservices5/* %{_kf5_datadir}/kservicetypes5/* -# track specific emoticon themes or not? (no, for now) -- rex %{_kf5_datadir}/emoticons/ %files devel @@ -84,3 +74,4 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog * Mon Aug 17 2020 yeqinglong - 5.55.0-1 - Initial release for OpenEuler +