pkcon install rpm-build meego-rpm-config
Name: sailfishos-eventsview-swipe-remove Summary: Eventsview notifications remove swipe Version: 0.0.1 Release: 1 Group: Qt/Qt License: TODO Requires: patchmanager Requires: lipstick-jolla-home-qt5 = 0.24.41.4-10.75.1.jolla %description Eventsview patch adding swipe right to remove notification action. %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/patchmanager/patches/sailfishos-eventsview-swipe-remove cp -r %{workdir}/patch/* %{buildroot}/usr/share/patchmanager/patches/sailfishos-eventsview-swipe-remove %pre if [ -f /usr/sbin/patchmanager ]; then /usr/sbin/patchmanager -u sailfishos-eventsview-swipe-remove || true fi %preun if [ -f /usr/sbin/patchmanager ]; then /usr/sbin/patchmanager -u sailfishos-eventsview-swipe-remove || true fi %files %defattr(-,root,root,-) %{_datadir}/patchmanager/patches/sailfishos-eventsview-swipe-remove
rpmbuild --define "workdir $PWD" -ba rpm/sailfishos-eventsview-swipe-remove.spec