!1 init package

Merge pull request !1 from yeqinglong/master
This commit is contained in:
openeuler-ci-bot 2020-09-03 09:02:12 +08:00 committed by Gitee
commit 1a28d2a63e
3 changed files with 75 additions and 0 deletions

71
kf5-kiconthemes.spec Normal file
View File

@ -0,0 +1,71 @@
%global framework kiconthemes
Name: kf5-%{framework}
Version: 5.55.0
Release: 1
Summary: KDE Frameworks 5 Tier 3 integration module with icon themes
License: LGPLv2+ and GPLv2+
URL: https://api.kde.org/frameworks/kiconthemes/
%global majmin %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{majmin} kf5-karchive-devel >= %{majmin} kf5-kconfigwidgets-devel >= %{majmin} kf5-kconfigwidgets-devel >= %{majmin} kf5-kcoreaddons-devel >= %{majmin} kf5-ki18n-devel >= %{majmin} kf5-kitemviews-devel >= %{majmin} kf5-kwidgetsaddons-devel >= %{majmin} kf5-rpm-macros qt5-qtbase-devel qt5-qtsvg-devel
Requires: hicolor-icon-theme
%description
KDE Frameworks 5 Tier 3 integration module with icon themes
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} qt5-qtbase-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n %{framework}-%{version} -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --all-name
%ldconfig_scriptlets
%files -f %{name}.lang
%doc README.md
%license COPYING.LIB
%{_kf5_sysconfdir}/xdg/%{framework}.*
%{_kf5_bindir}/kiconfinder5
%{_kf5_libdir}/libKF5IconThemes.so.*
%{_kf5_qtplugindir}/iconengines/KIconEnginePlugin.so
%files devel
%{_kf5_includedir}/kiconthemes_version.h
%{_kf5_includedir}/KIconThemes/
%{_kf5_libdir}/libKF5IconThemes.so
%{_kf5_libdir}/cmake/KF5IconThemes/
%{_kf5_archdatadir}/mkspecs/modules/qt_KIconThemes.pri
%changelog
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
- Initial release for OpenEuler

4
kf5-kiconthemes.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: KDE/kiconthemes
tag_prefix: "^v"
seperator: "."

BIN
kiconthemes-5.55.0.tar.xz Normal file

Binary file not shown.