116 lines
3.8 KiB
RPMSpec
116 lines
3.8 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: kalarm
|
||
|
Version: 20.04.0
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Frameworks 5 personal alarm message, audio, command and email scheduler
|
||
|
Group: Graphical Desktop/Applications/Office
|
||
|
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/kalarm-%{version}.tar.xz
|
||
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: ldconfig
|
||
|
BuildRequires: libX11-devel
|
||
|
BuildRequires: libakonadi-contacts-devel
|
||
|
BuildRequires: libakonadi-devel
|
||
|
BuildRequires: libakonadi-mime-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkalarmcal-devel
|
||
|
BuildRequires: libkauth-devel
|
||
|
BuildRequires: libkbookmarks-devel
|
||
|
BuildRequires: libkcalendarcore-devel
|
||
|
BuildRequires: libkcalutils-devel
|
||
|
BuildRequires: libkcodecs-devel
|
||
|
BuildRequires: libkcompletion-devel
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkconfigwidgets-devel
|
||
|
BuildRequires: libkcontacts-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libkcrash-devel
|
||
|
BuildRequires: libkdbusaddons-devel
|
||
|
BuildRequires: libkdepim-devel
|
||
|
BuildRequires: libkglobalaccel-devel
|
||
|
BuildRequires: libkguiaddons-devel
|
||
|
BuildRequires: libkholidays-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libkidentitymanagement-devel
|
||
|
BuildRequires: libkio-devel
|
||
|
BuildRequires: libkitemmodels-devel
|
||
|
BuildRequires: libkitemviews-devel
|
||
|
BuildRequires: libkjobwidgets-devel
|
||
|
BuildRequires: libkmailtransport-devel
|
||
|
BuildRequires: libkmime-devel
|
||
|
BuildRequires: libknotifications-devel
|
||
|
BuildRequires: libkpimtextedit-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libktextwidgets-devel
|
||
|
BuildRequires: libkwallet-devel
|
||
|
BuildRequires: libkwidgetsaddons-devel
|
||
|
BuildRequires: libkwindowsystem-devel
|
||
|
BuildRequires: libkxmlgui-devel
|
||
|
BuildRequires: libphonon-devel
|
||
|
BuildRequires: libpimcommon-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libsolid-devel
|
||
|
BuildRequires: libsonnet-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: perl-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KDE Frameworks 5 personal alarm message, audio, command and email scheduler.
|
||
|
|
||
|
%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-man --with-html --all-name || touch %{name}5_qt.lang
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}5_qt.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_sysconfdir}/xdg/autostart/kalarm.autostart.desktop
|
||
|
%{_bindir}/kalarm
|
||
|
%{_bindir}/kalarmautostart
|
||
|
%{_libexecdir}/kf5/kauth/kalarm_helper
|
||
|
%{_datadir}/applications/org.kde.kalarm.desktop
|
||
|
%{_datadir}/config.kcfg/kalarmconfig.kcfg
|
||
|
%{_datadir}/dbus-1/interfaces/org.kde.kalarm.kalarm.xml
|
||
|
%{_datadir}/dbus-1/system-services/org.kde.kalarm.rtcwake.service
|
||
|
%{_datadir}/dbus-1/system.d/org.kde.kalarm.rtcwake.conf
|
||
|
%{_datadir}/kconf_update/kalarm-*.pl
|
||
|
%{_datadir}/kconf_update/kalarm-*-kickoff.sh
|
||
|
%{_datadir}/kconf_update/kalarm.upd
|
||
|
%{_datadir}/kxmlgui5/kalarm/kalarmui.rc
|
||
|
%{_datadir}/metainfo/org.kde.kalarm.appdata.xml
|
||
|
%{_datadir}/polkit-1/actions/org.kde.kalarm.rtcwake.policy
|
||
|
%{_datadir}/qlogging-categories5/kalarm.categories
|
||
|
%{_datadir}/qlogging-categories5/kalarm.renamecategories
|
||
|
%{_datadir}/icons/hicolor/*/apps/kalarm.png
|
||
|
%{_datadir}/kalarm/icons/oxygen/*/actions/*.png
|
||
|
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
|
||
|
|
||
|
%changelog
|
||
|
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20.04.0-1mamba
|
||
|
- package created using the webbuild interface
|