kwrited/kwrited.spec

60 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kwrited
Version: 5.18.4.1
Release: 1mamba
Summary: KDE Plasma 5 write daemon
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/plasma/5.18.4/kwrited-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libknotifications-devel
BuildRequires: libkpty-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 write daemon.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/kwrited-autostart.desktop
%{_bindir}/kwrited
%{_datadir}/knotifications5/kwrited.notifyrc
%doc COPYING
%changelog
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.4.1-1mamba
- package created using the webbuild interface