diff --git a/catpaw.spec b/catpaw.spec new file mode 100644 index 0000000..b08cad6 --- /dev/null +++ b/catpaw.spec @@ -0,0 +1,46 @@ +Name: catpaw +Version: 0.1.0 +Release: 0 +License: GPLv3 +Summary: A CLI utility to change tablet configuration on the KDE Plasma Desktop +Url: https://invent.kde.org/redstrate/catpaw +Source0: https://invent.kde.org/redstrate/catpaw/-/archive/master/catpaw-master.tar.gz + +BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: git + +BuildRequires: cmake(KF6CoreAddons) +BuildRequires: cmake(KF6I18n) +BuildRequires: cmake(KF6Config) +BuildRequires: kwin-devel + +BuildRequires: cmake(Qt6Core) +BuildRequires: cmake(Qt6DBus) + +%description +cat paw + +%prep +%autosetup -c -p1 + +%build +cd catpaw-master +%cmake_kf6 +%cmake_build + +%install +cd catpaw-master +%cmake_install + + +%files +%doc catpaw-master/README.md + +%{_libdir}/qt6/plugins/kwin/effects/plugins/catpaw.so +%{_libdir}/qt6/plugins/kwin/effects/configs/catpaw_config.so + +%changelog +%autochangelog