libqtxdg/libqtxdg.spec

114 lines
3.3 KiB
RPMSpec

Name: libqtxdg
Version: 3.9.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: libQt5Svg-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-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}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libQt5Xdg.so.*
%{_libdir}/libQt5XdgIconLoader.so.*
%{_libdir}/qt5/plugins/iconengines/libQt5XdgIconPlugin.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt5xdg
%{_includedir}/qt5xdg/*
%dir %{_includedir}/qt5xdgiconloader
%{_includedir}/qt5xdgiconloader/%{version}/private/xdgiconloader/xdgiconloader_p.h
%{_includedir}/qt5xdgiconloader/xdgiconloader_export.h
%{_libdir}/libQt5Xdg.so
%{_libdir}/libQt5XdgIconLoader.so
%{_libdir}/pkgconfig/Qt5Xdg.pc
%{_libdir}/pkgconfig/Qt5XdgIconLoader.pc
%dir %{_datadir}/cmake/qt5xdg
%{_datadir}/cmake/qt5xdg/qt5xdg-*.cmake
%dir %{_datadir}/cmake/qt5xdgiconloader
%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-*.cmake
%doc README.md
%files tools
%defattr(-,root,root)
%config %{_sysconfdir}/xdg/lxqt-qtxdg.conf
%config %{_sysconfdir}/xdg/qtxdg.conf
#%{_bindir}/qtxdg-mat
%changelog
* 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