libqaccessibilityclient/libqaccessibilityclient.spec

129 lines
3.7 KiB
RPMSpec

Name: libqaccessibilityclient
Version: 0.6.0
Release: 2mamba
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: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-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}.
%package qt6
Group: System/Libraries
Summary: Library used when writing accessibility clients such as screen readers
%description qt6
This package contains libraries and header files for developing applications that use %{name}.
%package qt6-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
%description qt6-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
cd ..
%cmake -d build-qt6 \
-DQT_MAJOR_VERSION=6
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build-qt6
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libqaccessibilityclient-qt5.so.*
%{_datadir}/qlogging-categories5/libqaccessibilityclient.categories
%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}/dumper
%files qt6
%defattr(-,root,root)
%{_libdir}/libqaccessibilityclient-qt6.so.*
%{_datadir}/qlogging-categories6/libqaccessibilityclient.categories
%doc AUTHORS LICENSES
%files qt6-devel
%defattr(-,root,root)
%dir %{_includedir}/QAccessibilityClient6/qaccessibilityclient
%{_includedir}/QAccessibilityClient6/qaccessibilityclient/*
%{_libdir}/libqaccessibilityclient-qt6.so
%dir %{_libdir}/cmake/QAccessibilityClient6
%{_libdir}/cmake/QAccessibilityClient6/QAccessibility*.cmake
%changelog
* Mon Feb 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-2mamba
- rebuilt with qt6 subpackages
* Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* 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