Init package
This commit is contained in:
parent
1977c84539
commit
4fdb287617
BIN
kaccounts-integration-22.08.0.tar.xz
Normal file
BIN
kaccounts-integration-22.08.0.tar.xz
Normal file
Binary file not shown.
104
kaccounts-integration.spec
Normal file
104
kaccounts-integration.spec
Normal file
@ -0,0 +1,104 @@
|
||||
Name: kaccounts-integration
|
||||
Version: 22.08.0
|
||||
Release: 1
|
||||
Summary: Small system to administer web accounts across the KDE desktop
|
||||
License: GPLv2+
|
||||
URL: https://invent.kde.org/network/%{name}
|
||||
|
||||
%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/%{name}-%{version}.tar.xz
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kf5-rpm-macros
|
||||
BuildRequires: kf5-kcmutils-devel
|
||||
BuildRequires: kf5-kdeclarative-devel
|
||||
BuildRequires: kf5-kio-devel
|
||||
BuildRequires: kf5-ki18n-devel
|
||||
BuildRequires: kf5-kwidgetsaddons-devel
|
||||
BuildRequires: kf5-kcoreaddons-devel
|
||||
BuildRequires: kf5-kiconthemes-devel
|
||||
BuildRequires: kf5-kconfig-devel
|
||||
BuildRequires: kf5-kwallet-devel
|
||||
BuildRequires: kf5-kdbusaddons-devel
|
||||
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Qml)
|
||||
|
||||
BuildRequires: pkgconfig(accounts-qt5) >= 1.13
|
||||
BuildRequires: pkgconfig(libaccounts-glib) >= 1.21
|
||||
BuildRequires: pkgconfig(libsignon-qt5) >= 8.55
|
||||
|
||||
BuildRequires: cmake
|
||||
|
||||
Requires: accounts-qml-module%{?_isa}
|
||||
Requires: signon-plugin-oauth2%{?_isa}
|
||||
|
||||
Obsoletes: kaccounts < 15.03
|
||||
Provides: kaccounts = %{version}-%{release}
|
||||
|
||||
Conflicts: kde-l10n < 17.03
|
||||
|
||||
%description
|
||||
Small system to administer web accounts for the sites and services
|
||||
across the KDE desktop.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt5-qtbase-devel%{?_isa}
|
||||
Requires: kf5-kcoreaddons-devel%{?_isa}
|
||||
Requires: libaccounts-glib-devel%{?_isa}
|
||||
Requires: libaccounts-qt5-devel%{?_isa}
|
||||
Requires: signon-devel%{?_isa}
|
||||
Requires: intltool
|
||||
|
||||
%description devel
|
||||
Headers, development libraries and documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -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
|
||||
%doc README*
|
||||
%license LICENSES/*
|
||||
%{_kf5_qtplugindir}/kcms/kcm_kaccounts.so
|
||||
%{_kf5_datadir}/kpackage/kcms/kcm_kaccounts/
|
||||
%{_kf5_datadir}/kservices5/kcm_kaccounts.desktop
|
||||
%{_kf5_plugindir}/kded/kded_accounts.so
|
||||
%{_qt5_plugindir}/kaccounts/daemonplugins/kaccounts_kio_webdav_plugin.so
|
||||
%{_kf5_libdir}/libkaccounts.so.2
|
||||
%{_kf5_libdir}/libkaccounts.so.%{version}
|
||||
%{_kf5_qmldir}/org/kde/kaccounts/
|
||||
|
||||
%files devel
|
||||
%{_kf5_libdir}/libkaccounts.so
|
||||
%{_kf5_libdir}/cmake/KAccounts/
|
||||
%{_includedir}/KAccounts/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 14 2022 misaka00251 <misaka00251@misakanet.cn> - 22.08.0-1
|
||||
- Init package
|
||||
4
kaccounts-integration.yaml
Normal file
4
kaccounts-integration.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/kaccounts-integration
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user