libqaccessibilityclient/libqaccessibilityclient.spec

84 lines
2.3 KiB
RPMSpec

Name: libqaccessibilityclient
Version: 0.5.0
Release: 1mamba
Summary: Library used when writing accessibility clients such as screen readers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/QAccessibilityClient
%dir %{_includedir}/QAccessibilityClient/qaccessibilityclient
%{_includedir}/QAccessibilityClient/qaccessibilityclient/*
%{_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
* Sat Nov 04 2023 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic version update by autodist
* Fri Oct 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
- package created using the webbuild interface