78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: plasma-vault
|
||
|
Version: 5.11.2
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Plasma 5 Vault module
|
||
|
Group: Graphical Desktop/Applications/Configuration
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde.org
|
||
|
Source: https://download.kde.org/stable/plasma/%{version}/plasma-vault-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkactivities5-devel
|
||
|
BuildRequires: libkauth-devel
|
||
|
BuildRequires: libkcodecs-devel
|
||
|
BuildRequires: libkcompletion-devel
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkconfigwidgets-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libkdbusaddons-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libkio-devel
|
||
|
BuildRequires: libkjobwidgets-devel
|
||
|
BuildRequires: libkpackage-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libksysguard-devel
|
||
|
BuildRequires: libkwidgetsaddons-devel
|
||
|
BuildRequires: libplasma-framework-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KDE Plasma 5 Vault module.
|
||
|
|
||
|
%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 --all-name || touch %{name}5_qt.lang
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}5_qt.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/qt5/plugins/kf5/kded/plasmavault.so
|
||
|
%{_libdir}/qt5/plugins/plasma/applets/plasma_applet_vault.so
|
||
|
%{_datadir}/kservices5/plasma-applet-org.kde.plasma.vault.desktop
|
||
|
%{_datadir}/metainfo/org.kde.plasma.vault.appdata.xml
|
||
|
%dir %{_datadir}/plasma/plasmoids/org.kde.plasma.vault
|
||
|
%dir %{_datadir}/plasma/plasmoids/org.kde.plasma.vault/contents
|
||
|
%dir %{_datadir}/plasma/plasmoids/org.kde.plasma.vault/contents/ui
|
||
|
%{_datadir}/plasma/plasmoids/org.kde.plasma.vault/contents/ui/*
|
||
|
%{_datadir}/plasma/plasmoids/org.kde.plasma.vault/metadata.*
|
||
|
%doc COPYING COPYING.LIB
|
||
|
|
||
|
%changelog
|
||
|
* Mon Oct 30 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.2-1mamba
|
||
|
- package created using the webbuild interface
|