libqtxdg/libqtxdg.spec

133 lines
4.0 KiB
RPMSpec

Name: libqtxdg
Version: 4.0.1
Release: 1mamba
Summary: A Qt 5 implementation of freedesktop.org XDG specifications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/libqtxdg
Source: https://github.com/lxqt/libqtxdg.git/%{version}/libqtxdg-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets
BuildRequires: libQt6Xml
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: lxqt-build-tools-devel
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description
libqtxdg is a Qt 5 implementation of freedesktop.org XDG specifications.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: System/Tools
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}"
%files
%defattr(-,root,root)
%{_libdir}/libQt6Xdg.so.*
%{_libdir}/libQt6XdgIconLoader.so.*
%{_libdir}/qt6/plugins/iconengines/libQt6XdgIconPlugin.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6xdg
%{_includedir}/qt6xdg/*
%dir %{_includedir}/qt6xdgiconloader
%{_includedir}/qt6xdgiconloader/%{version}/private/xdgiconloader/xdgiconloader_p.h
%{_includedir}/qt6xdgiconloader/xdgiconloader_export.h
%{_libdir}/libQt6Xdg.so
%{_libdir}/libQt6XdgIconLoader.so
%{_libdir}/pkgconfig/Qt6Xdg.pc
%{_libdir}/pkgconfig/Qt6XdgIconLoader.pc
%dir %{_datadir}/cmake/qt6xdg
%{_datadir}/cmake/qt6xdg/qt6xdg-*.cmake
%dir %{_datadir}/cmake/qt6xdgiconloader
%{_datadir}/cmake/qt6xdgiconloader/qt6xdgiconloader-*.cmake
%doc README.md
%files tools
%defattr(-,root,root)
%config %{_sysconfdir}/xdg/lxqt-qtxdg.conf
%config %{_sysconfdir}/xdg/qtxdg.conf
#%{_bindir}/qtxdg-mat
%changelog
* Sun Oct 13 2024 Automatic Build System <autodist@openmamba.org> 4.0.1-1mamba
- automatic version update by autodist
* Tue Apr 23 2024 Automatic Build System <autodist@openmamba.org> 4.0.0-1mamba
- automatic version update by autodist
* Sun Nov 05 2023 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue Apr 18 2023 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
- automatic version update by autodist
* Wed Nov 09 2022 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
- automatic version update by autodist
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
- automatic version update by autodist
* Mon Apr 18 2022 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
- automatic version update by autodist
* Sun Nov 07 2021 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
- automatic version update by autodist
* Fri Apr 16 2021 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic version update by autodist
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.0-1mamba
- update to 3.6.0
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0-1mamba
- package created using the webbuild interface