106 lines
3.8 KiB
RPMSpec
106 lines
3.8 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: kaccounts-providers
|
||
|
Version: 20.04.0
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Frameworks 5 account providers plugins
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde.org
|
||
|
Source: https://download.kde.org/stable/release-service/%{version}/src/kaccounts-providers-%{version}.tar.xz
|
||
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: ldconfig
|
||
|
BuildRequires: libQt5WebEngine-devel
|
||
|
BuildRequires: libaccounts-qt5-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkaccounts-integration-devel
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libkdeclarative-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libkio-devel
|
||
|
BuildRequires: libkpackage-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libsignon-qt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KDE Frameworks 5 account providers plugins.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries for %{name}
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%find_lang %{name}5_qt --with-qt --with-html --with-man --all-name || touch %{name}5_qt.lang
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}5_qt.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_sysconfdir}/signon-ui/webkit-options.d/accounts.google.com.conf
|
||
|
%{_sysconfdir}/signon-ui/webkit-options.d/api.twitter.com.conf
|
||
|
%{_sysconfdir}/signon-ui/webkit-options.d/identi.ca.conf
|
||
|
%{_sysconfdir}/signon-ui/webkit-options.d/www.facebook.com.conf
|
||
|
%{_datadir}/accounts/providers/kde/google.provider
|
||
|
%{_datadir}/accounts/providers/kde/nextcloud.provider
|
||
|
%{_datadir}/accounts/providers/kde/owncloud.provider
|
||
|
%{_datadir}/accounts/services/kde/nextcloud-contacts.service
|
||
|
%{_datadir}/accounts/services/kde/nextcloud-storage.service
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.nextcloud/contents/ui/main.qml
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.nextcloud/metadata.desktop
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.nextcloud/metadata.json
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/contents/ui/BasicInfo.qml
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/contents/ui/Services.qml
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/contents/ui/main.qml
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/metadata.desktop
|
||
|
%{_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/metadata.json
|
||
|
%{_datadir}/metainfo/org.kde.kaccounts.nextcloud.appdata.xml
|
||
|
%{_datadir}/metainfo/org.kde.kaccounts.owncloud.appdata.xml
|
||
|
%doc COPYING
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/qt5/plugins/kaccounts/ui/nextcloud_plugin_kaccounts.so
|
||
|
%{_libdir}/qt5/plugins/kaccounts/ui/owncloud_plugin_kaccounts.so
|
||
|
|
||
|
%changelog
|
||
|
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20.04.0-1mamba
|
||
|
- package created using the webbuild interface
|