format spec
This commit is contained in:
parent
1e0073ce77
commit
3036d40961
@ -1,12 +1,12 @@
|
|||||||
%global framework kemoticons
|
%global framework kemoticons
|
||||||
|
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Version: 5.55.0
|
Version: 5.55.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: KDE Frameworks 5 Tier 3 module with support for emoticons and emoticons themes
|
Summary: KDE Frameworks 5 Tier 3 module with support for emoticons and emoticons themes
|
||||||
|
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://cgit.kde.org/%{framework}.git
|
URL: https://cgit.kde.org/%{framework}.git
|
||||||
|
|
||||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
%global revision %(echo %{version} | cut -d. -f3)
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
@ -15,28 +15,19 @@ URL: https://cgit.kde.org/%{framework}.git
|
|||||||
%else
|
%else
|
||||||
%global stable stable
|
%global stable stable
|
||||||
%endif
|
%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
|
# filter plugin provides
|
||||||
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
||||||
|
|
||||||
BuildRequires: extra-cmake-modules >= %{majmin}
|
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
|
||||||
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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
KDE Frameworks 5 Tier 3 module that provides emoticons themes as well as
|
KDE Frameworks 5 Tier 3 module that provides emoticons themes as well as
|
||||||
helper classes to automatically convert text emoticons to graphical emoticons.
|
helper classes to automatically convert text emoticons to graphical emoticons.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release} kf5-kservice-devel >= %{majmin} qt5-qtbase-devel
|
||||||
Requires: kf5-kservice-devel >= %{majmin}
|
|
||||||
Requires: qt5-qtbase-devel
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
@ -70,7 +61,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%{_kf5_plugindir}/KEmoticonsIntegrationPlugin.so
|
%{_kf5_plugindir}/KEmoticonsIntegrationPlugin.so
|
||||||
%{_kf5_datadir}/kservices5/*
|
%{_kf5_datadir}/kservices5/*
|
||||||
%{_kf5_datadir}/kservicetypes5/*
|
%{_kf5_datadir}/kservicetypes5/*
|
||||||
# track specific emoticon themes or not? (no, for now) -- rex
|
|
||||||
%{_kf5_datadir}/emoticons/
|
%{_kf5_datadir}/emoticons/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -84,3 +74,4 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
||||||
- Initial release for OpenEuler
|
- Initial release for OpenEuler
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user