From 301aff49f4c458959f5c878b96f5a8319e7a4389 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:31:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.5.0-1mamba;Fri Oct 02 2020] --- README.md | 2 ++ libqtxdg.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 libqtxdg.spec diff --git a/README.md b/README.md index 2b34f5f..ea6cafc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqtxdg +libqtxdg is a Qt 5 implementation of freedesktop.org XDG specifications. + diff --git a/libqtxdg.spec b/libqtxdg.spec new file mode 100644 index 0000000..46728bf --- /dev/null +++ b/libqtxdg.spec @@ -0,0 +1,93 @@ +Name: libqtxdg +Version: 3.5.0 +Release: 1mamba +Summary: A Qt 5 implementation of freedesktop.org XDG specifications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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: ldconfig +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: lxqt-build-tools-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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) +%{_bindir}/qtxdg-mat + +%changelog +* Fri Oct 02 2020 Silvan Calarco 3.5.0-1mamba +- package created using the webbuild interface