Init package
This commit is contained in:
parent
9736d81bea
commit
b3bab43db8
BIN
grantleetheme-22.08.0.tar.xz
Normal file
BIN
grantleetheme-22.08.0.tar.xz
Normal file
Binary file not shown.
81
kf5-grantleetheme.spec
Normal file
81
kf5-grantleetheme.spec
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
%global framework grantleetheme
|
||||||
|
|
||||||
|
Name: kf5-%{framework}
|
||||||
|
Version: 22.08.0
|
||||||
|
Release: 1
|
||||||
|
Summary: KDE PIM library for Grantlee template system
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://invent.kde.org/pim/%{framework}
|
||||||
|
|
||||||
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
|
%if %{revision} >= 50
|
||||||
|
%global stable unstable
|
||||||
|
%else
|
||||||
|
%global stable stable
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: extra-cmake-modules >= 5.32.0
|
||||||
|
BuildRequires: kf5-rpm-macros
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: grantlee-qt5-devel >= 5.1.0-2
|
||||||
|
%{?grantlee5_requires}
|
||||||
|
|
||||||
|
BuildRequires: cmake(KF5GuiAddons)
|
||||||
|
BuildRequires: cmake(KF5I18n)
|
||||||
|
BuildRequires: cmake(KF5IconThemes)
|
||||||
|
BuildRequires: cmake(KF5NewStuff)
|
||||||
|
|
||||||
|
Conflicts: kdepim-libs < 7:16.04.0
|
||||||
|
Obsoletes: kdepim-libs < 7:16.04.0
|
||||||
|
|
||||||
|
Conflicts: kde-l10n < 17.03
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%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 --with-html
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%license LICENSES/*
|
||||||
|
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
||||||
|
%{_kf5_libdir}/libKF5GrantleeTheme.so.*
|
||||||
|
%{grantlee5_plugindir}/kde_grantlee_plugin.so
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_kf5_includedir}/GrantleeTheme/
|
||||||
|
%{_kf5_libdir}/libKF5GrantleeTheme.so
|
||||||
|
%{_kf5_libdir}/cmake/KF5GrantleeTheme/
|
||||||
|
%{_kf5_archdatadir}/mkspecs/modules/qt_GrantleeTheme.pri
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 28 2022 misaka00251 <misaka00251@misakanet.cn> - 22.08.0-1
|
||||||
|
- Init package
|
||||||
4
kf5-grantleetheme.yaml
Normal file
4
kf5-grantleetheme.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: KDE/grantleetheme
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user