diff --git a/README.md b/README.md index 8c84c52..1e4e2ca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqaccessibilityclient +Library used when writing accessibility clients such as screen readers. + diff --git a/libqaccessibilityclient.spec b/libqaccessibilityclient.spec new file mode 100644 index 0000000..0d0cf35 --- /dev/null +++ b/libqaccessibilityclient.spec @@ -0,0 +1,79 @@ +Name: libqaccessibilityclient +Version: 0.4.1 +Release: 1mamba +Summary: Library used when writing accessibility clients such as screen readers +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org/ +Source: https://download.kde.org/stable/libqaccessibilityclient/libqaccessibilityclient-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Library used when writing accessibility clients such as screen readers. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Accessibility +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libqaccessibilityclient-qt5.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/qaccessibilityclient +%{_includedir}/qaccessibilityclient/*.h +%{_libdir}/libqaccessibilityclient-qt5.so +%dir %{_libdir}/cmake/QAccessibilityClient +%{_libdir}/cmake/QAccessibilityClient/QAccessibility*.cmake +%doc ChangeLog README.md + +%files tools +%defattr(-,root,root) +%{_bindir}/accessibleapps +%{_bindir}/dumper + +%changelog +* Fri Oct 28 2022 Silvan Calarco 0.4.1-1mamba +- package created using the webbuild interface