From 7f5a7cf53b5f2f75a77d43cb38e35682296341c4d8bcaab7d2dcf38470c8a71e Mon Sep 17 00:00:00 2001 From: Shawn Dunn Date: Wed, 30 Oct 2024 18:37:35 +0000 Subject: [PATCH 1/2] - Change BuildRequires from lxqt-build-tools-devel to cmake(lxqt-build-tools) OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/libqt5xdg?expand=0&rev=40 --- .gitattributes | 23 +++ .gitignore | 1 + libqt5xdg.changes | 381 +++++++++++++++++++++++++++++++++++++ libqt5xdg.keyring | 52 +++++ libqt5xdg.spec | 126 ++++++++++++ libqtxdg-3.12.0.tar.xz | 3 + libqtxdg-3.12.0.tar.xz.asc | 17 ++ 7 files changed, 603 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libqt5xdg.changes create mode 100644 libqt5xdg.keyring create mode 100644 libqt5xdg.spec create mode 100644 libqtxdg-3.12.0.tar.xz create mode 100644 libqtxdg-3.12.0.tar.xz.asc diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libqt5xdg.changes b/libqt5xdg.changes new file mode 100644 index 0000000..0137195 --- /dev/null +++ b/libqt5xdg.changes @@ -0,0 +1,381 @@ +------------------------------------------------------------------- +Wed Oct 30 18:37:01 UTC 2024 - Shawn Dunn + +- Change BuildRequires from lxqt-build-tools-devel to + cmake(lxqt-build-tools) + +------------------------------------------------------------------- +Tue Jun 4 15:05:05 UTC 2024 - Shawn Dunn + +- Removed %{buildroot}%{_sysconfdir}/xdg/*.conf + * Conflicts with libQt6Xdg4, as both packages cannot provide + identical conf files, libQt5Xdg won't ever be installed + on it's own, with LXQt >= 2.0 +- Specfile Cleanup + +------------------------------------------------------------------- +Sun Nov 5 14:27:40 UTC 2023 - Michael Vetter + +- Update to 3.12.0: + * Just corrected a typo and bumped the version. + +------------------------------------------------------------------- +Sat Apr 15 17:25:39 UTC 2023 - Shawn Dunn + +- Update to 3.11.0: + * File association is fixed with desktop entries that are + symlinks + +------------------------------------------------------------------- +Sat Nov 5 17:05:32 UTC 2022 - Shawn Dunn + +- Update to 3.10.0: + * Invalidate GTK icon cache as soon as icons are installed. + * Follow `freedesktop.org` in adding dirs under `DefaultDirectoryDirs`. + +------------------------------------------------------------------- +Mon May 9 11:23:17 UTC 2022 - Michael Vetter + +- Update to 3.9.1: + For making it possible to have Qt5 and Qt6 installations of + libqtxdg alongside each other in near future, two changes are + made to this point release: + * qtxdg-mat has been separated from libqtxdg and put into qtxdg-tools. + * The installation of config files has been made optional. + +------------------------------------------------------------------- +Wed Apr 27 19:19:43 UTC 2022 - Michael Vetter + +- Update to 3.9.0: + * String literals are supported in Exec keys of desktop entries. + * Enhancements to qtxdg-mat. + +------------------------------------------------------------------- +Fri Nov 5 15:48:22 UTC 2021 - Michael Vetter + +- Update to 3.8.0: + * Added support for default terminal. + * Considered XDG_DATA_HOME when computing desktop entry id. + * Made sure that hicolor is searched before dash fallbacks. + * Considered Qt's fallback search paths when finding icons. + * Handle relative paths in qtxdg-desktop-file-start. + +------------------------------------------------------------------- +Fri Apr 16 11:23:47 UTC 2021 - Michael Vetter + +- Update 3.7.1: + * Fixed compilation against Qt < 5.14. + * Added a nullity check for paint device. + +------------------------------------------------------------------- +Fri Apr 16 06:31:20 UTC 2021 - Michael Vetter + +- Update to 3.7.0: + * QSvgRenderer is used with a cache for SVG icons, so that LXQt's + icon handling could not be broken by intruding icon engines + that register themselves for "svg" (like kiconthemes 5.80). + * Allow runtime overriding of detachment of processes by + setting QTXDG_START_DETACH_TRULY. + * XTerm is added as a runtime dependency. + * Code cleanup. +- Remove libqt5xdg-svg-render.patch: upstreamed + +------------------------------------------------------------------- +Wed Mar 31 10:02:43 UTC 2021 - Michael Vetter + +- bsc#1183834: Fix displaying of icons by using QSvgRenderer + * Add libqt5xdg-svg-render.patch + +------------------------------------------------------------------- +Wed Nov 4 13:17:31 UTC 2020 - Michael Vetter + +- Update to 3.6.0: + *Dropped deprecated QLinkedList. + *Code cleanup. + * Memory leaks are fixed. + *Fixed setting of default apps with GLib backend. + *Fixed (recommended) apps list given by GLib backend. + *Added a XdgDefaultApps class with email client, file + manager and web browser set/get methods. + *Used Qt's fix for too big SVG icons with scale factors > 1. + *Added methods to XdgDefaultApps for getting special applications. + *Fixed unneeded URL encoding for %U/%u in "xdgdesktopfile.cpp". + +------------------------------------------------------------------- +Mon Apr 27 10:45:27 UTC 2020 - Callum Farmer + +- Changed libqt5xdg.keyring to tsujan's key + +------------------------------------------------------------------- +Fri Apr 24 19:50:57 UTC 2020 - Callum Farmer + +- Update to version 3.5.0 + * Sharp SVG icons with scale factors > 1, especially non-integer ones. + * Removed obsolete qSwap. + * Removed obsolete Qt4 Mac code. + +------------------------------------------------------------------- +Fri Jan 3 10:36:08 UTC 2020 - Michael Vetter + +- Add subpackage qtxdg-tools (Debian name qtxdg-dev-tools) + +------------------------------------------------------------------- +Sun Oct 27 18:20:36 UTC 2019 - Michael Vetter + +- Update to 3.4.0: + * Adds an command line MimeType (mimetype) tool + * Adds a command line Open (open) Tool + * Adds a command line Default App (defapp) Tool + * Adds a MIME Applications Associations (XdgMimeApps) class + * XdgDesktopFile: + - Deprecates XdgDesktopFileCache and drop XdgDesktopFileCache use + - Add explanation comment + - Avoid freeze for DBusActivatable apps + * CMake: + - Remove string conversion flags + - Removes not used helper function + * test: + - Use qAsConst() + * Build and Implementation: + - Don't use automatic string conversion + - Prevent a c++11 range-loop possible detach + - Fixed icon cache with absolute paths + - Use more precise wording + - Use the QString multi-arg overload + - Use qEnvironmentVariableIntValue() + - Use qAsConst + - Drop QRegExp. + - Port even more towards C++ raw string literal + - Port towards return with a braced init list + - Port towards raw string literal use. + - Use bool literals + - Ports towards C++11 override specifiers + - Port towards C++ headers + - Port towards C++11 nullptr + * Reworded github issue template + +------------------------------------------------------------------- +Mon Feb 25 10:07:22 UTC 2019 - mvetter@suse.com + +- Update to 3.3.1: + * Silenced compiler warnings about not used variables. + * Dropped not needed MOC stuff, we already use CMAKE_AUTOMOC. + * Dropped using libqtxdg's own versions of things that are in + lxqt-build-tools + * Updated translations + +------------------------------------------------------------------- +Thu Jan 31 09:43:45 UTC 2019 - Michael Vetter + +- Update to 3.3.0: + * Use C++ ISO Standard 14, removed support for < 14 + * XdgDesktopFile: Simplify scheme handling + * XdgDesktopFile: Clear internal data before loading a new file + * XdgDesktopFile: Don’t try read non existent files + * xdgaction: Set icon in updateIcon() only if needed + * xdgiconloader: Support more classes for “FollowColors” icons + * xdgiconloader: Consider device pixel ratio when painting + * xdgiconloader: Cover all KDE colors schemes for symbolic icons + * xdgiconloader: Fixes pedantic warning + * xdgmenuwidget: Fix menu-item drag url + +------------------------------------------------------------------- +Tue May 22 13:54:39 UTC 2018 - mvetter@suse.com + +- Update to 3.2.0: + * xdgiconloader: Add GTK cache revalidation (fixes finding and + showing new icons, especially in main menu) + * xdgiconloader: Cache ScalableFollowsColorEntry properly + * Set genericName as tooltip (for main menu) + * Fix symbolic SVG icons with Qt >= 5.10 + +------------------------------------------------------------------- +Mon Oct 23 09:54:57 UTC 2017 - mvetter@suse.com + +- Update to 3.1.0: + * Bump version to 3.1.0 + * xdgdesktopfile: Add API for getting actions info + * xdgdesktopfile: Add support for activating actions + * xdgdesktopfile: Add getting actions + * Check $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS for mimeapps.list first. + * Fix reading and writing mimeapps.list file. + * Don't export github templates + * Release 3.0.0: Update changelog + * Backport support for Scale directory key according to Icon Theme spec + * Bump Major to 3 + * test: Drop Q_FOREACH + * Drop Q_FOREACH + * liblxqt make no sense here + * Copied issue template + * Drops Qt5Core_VERSION_STRING + * Avoid Qt special keywords collision + * XdgDesktopFile: Stops allocating unneeded QMap::keys() + * XdgDesktopFile: Stop allocating unneeded QHash:values() + * XdgDesktopFile: Improve const-ness + * xdgiconloader: Reworks the unthemed/pixmap search + * xdgiconloader: Puts the hicolor at the end of the theme hierarchy + * XdgIcon: Add flag for "FollowsColorScheme" processing + * xdgiconloader: Honor "FolowsColorScheme" theme hint + * xdgiconloader: Support symbolic SVG icons + * More fixes (#131) + * xdgiconloader: Correct hierarchy of fallbacks (#116) + * xdgiconloader: Fix XdgIconLoaderEngine::actualSize() (#130) + * Update CMakeLists.txt + * It adds loadIcon() timing measurements. + * xdgiconloader: Consider all existing files/images + * Check QTXDGX_ICONENGINEPLUGIN_INSTALL_PATH existence + * Mark QTXDGX_ICONENGINEPLUGIN_INSTALL_PATH as advanced + * xdgiconloader: Implement QIconEnginePlugin interface + * Disables uninstall target + * Remove last uses of Java-style (non-mutable) iterators from QtBase + * Adds a development qtxdg-iconfinder utility tool + * Enable strict iterators for debug builds + * Removes extra semi-colons + * Improve build warnings + * Bump year + * QtGui: eradicate Q_FOREACH loops [already const] + * Optimize QIconLoader::findIconHelper() + * Remove unused variable in QIconLoader::findIconHelper() + * Improve use of QHash to minimize double hashing + * QIconLoaderEngine: add missing Q_DECL_OVERRIDEs + * Replace QLatin1Literal with QLatin1String + * QIconCacheGtkReader: use QStringRef more + * Gui: use const (and const APIs) more + * Adds Link Time Optimization + * Replaces CMAKE_SOURCE_DIR by PROJECT_SOURCE_DIR + * Refactors superbuild support + * Remove duplicate use of source header files + * Use AUTOMOC everywhere + * Stop using include_directories() + * Removes test project definition + * Use CMAKE_INCLUDE_CURRENT_DIR + * Adds PROJECT_NAME to the build Qt version message + * Simplify target_compile_definitions() and target_include_directories() + * qiconloader: Reuse Qt implementation + * XdgIconLoader: Fix FTBFS in super-build/in-tree builds + * Allow xdg-user-dirs in the realpath of $HOME. On some systems /home is a symlink and $HOME points to the symlink. This commit allows the xdg-user-dirs to start with the real/canonical path. + * Updates version requirements in pkg-config (.pc) stuff + * Make Qt5Xdg use only the same version Qt5XdgIconLoader + * Adds minimum Qt version requirement (5.4.2) + * test: Fixes false positive in tst_xdgdesktopfile::testReadLocalized() + * Remove cpack (#106) + +------------------------------------------------------------------- +Sat Sep 24 18:02:50 UTC 2016 - mvetter@suse.com + +- Update to to 2.0.0: + * BACKWARDS-INCOMPATIBLE: New XdgIconLoader library + * New explicit dependency Qt SVG + * The IconLoader can use GTK+ icon cache + * Improved overall performance + * Better XDG handling + * Overall polishing + +------------------------------------------------------------------- +Thu Nov 5 10:36:47 UTC 2015 - mvetter@suse.com + +- Upstream release 0.10.0 + +------------------------------------------------------------------- +Fri Feb 20 19:53:39 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + +------------------------------------------------------------------- +Mon Feb 9 16:27:11 UTC 2015 - sfalken@opensuse.org + +- New upstream version 1.1.0 + +------------------------------------------------------------------- +Sun Jan 25 19:07:55 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to build for Fedora (Only needed for F20) + +------------------------------------------------------------------- +Tue Oct 28 15:19:02 UTC 2014 - andrea@opensuse.org + +- changed license tag in the spec file to GPL-3.0 + +------------------------------------------------------------------- +Sun Oct 26 11:23:03 UTC 2014 - andrea@opensuse.org + +- ported to QT5 + +------------------------------------------------------------------- +Sat Oct 25 11:15:54 UTC 2014 - andrea@opensuse.org + +- new upstream version 1.0.0 + +------------------------------------------------------------------- +Tue May 13 14:52:16 UTC 2014 - andrea@opensuse.org + +- spec file clean up +- removed statically defined requires , we let rpm work for us +- use pkg-config where possible + +------------------------------------------------------------------- +Tue May 13 14:43:44 UTC 2014 - sfalken@opensuse.org + +- BuildRequires and patch cleanup + +------------------------------------------------------------------- +Mon May 12 15:29:43 UTC 2014 - sfalken@opensuse.org + +- Removed fedora spec, split into subproject + Del: libqtxdg-Fedora_20.spec + +------------------------------------------------------------------- +Sun May 11 14:32:30 UTC 2014 - sfalken@opensuse.org + +- Removed BuildRequires: pkgconfig() in favour of BuildRequires: libqt4-devel at the request of X11:lxde:lxqt maintainers + +------------------------------------------------------------------- +Sat May 10 17:52:32 UTC 2014 - sfalken@opensuse.org + +- Ran spec-cleaner on spec file + +------------------------------------------------------------------- +Fri May 9 21:19:56 UTC 2014 - sfalken@opensuse.org + +- Added specfile for Fedora_20 + Add: libqtxdg-Fedora_20.spec + +------------------------------------------------------------------- +Fri May 9 13:40:04 UTC 2014 - sfalken@opensuse.org + +- Repackaged tarball to unpack to libqtxdg-0.5.3 instead of . + +------------------------------------------------------------------- +Fri May 9 13:15:46 UTC 2014 - sfalken@opensuse.org + +- First stable release, added stable tarball + Added: libqtxdg-0.5.3.tar.xz + Delete: _service + +------------------------------------------------------------------- +Thu Apr 17 17:21:56 UTC 2014 - sfalken@opensuse.org + +- .spec file cleanup for rpmlint checks + Removed explicit Requires: + Adjusted description + +------------------------------------------------------------------- +Wed Apr 2 14:35:21 UTC 2014 - sfalken@opensuse.org + +- Removed direct cmake calls, in favour of %cmake and %cmake_install + +------------------------------------------------------------------- +Mon Mar 24 04:47:11 UTC 2014 - sfalken@opensuse.org + +- Specfile complete, successful build and packaging + +------------------------------------------------------------------- +Mon Mar 24 04:16:14 UTC 2014 - sfalken@opensuse.org + +- Added 0001-translation-dir.patch to correct for openSUSE directories + +------------------------------------------------------------------- +Mon Mar 24 02:53:11 UTC 2014 - sfalken@opensuse.org + +- Wrote initial _service file and first source pull + diff --git a/libqt5xdg.keyring b/libqt5xdg.keyring new file mode 100644 index 0000000..35388e4 --- /dev/null +++ b/libqt5xdg.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0 +ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K +X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF +uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/ +1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGYH0gnj0GpOve4ftnaG +sAId2CQwm3oYF4Tu7yBPTOBpkaKkNaT+UdwTyeKERuCZ9ocZWX++/YF9ItRkJ5mM +zoP1GluWn2atNWpRh/K97gyAGgr2fSmrAA4d1JrVbMujZAHoHAOKwJKqX9jPziPZ +BFHfhcIOzG3ZhXAuumHsd7uwfPBVt20g+G+cOjBghbSSu9EOtMkAZl1g3ybvZixu +Jtxa5exZWEmU7vtytEb8eq9Dj5XcGoTDbErE2RpJ/20HPzhyRKg9RN4iGS+0OiHS +oRbDi5IEOizvQjp2bsBmfa3rsoDSOqF2pevp+u8I56I6bU1GFpxxNC5IGvgo2Q79 +quz0oIk5hs3eLlUdEYsLGwR6pWJaJyf36vuDsq7iLrLyvHI5irAowO4r1QARAQAB +tCVQZWRyYW0gUG91cmFuZyA8dHN1amFuMjAwMEBnbW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eWHgQJwsD +bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO +NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO +sw== +=gSIv +-----END PGP PUBLIC KEY BLOCK----- \ No newline at end of file diff --git a/libqt5xdg.spec b/libqt5xdg.spec new file mode 100644 index 0000000..f91d583 --- /dev/null +++ b/libqt5xdg.spec @@ -0,0 +1,126 @@ +# +# spec file for package libqt5xdg +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define _name libqtxdg +Name: libqt5xdg +Version: 3.12.0 +Release: 0 +Summary: Qt implementation of xdg specs for lxqt +License: GPL-3.0-only +URL: https://lxqt.org +Source: https://github.com/lxqt/libqtxdg/releases/download/%{version}/%{_name}-%{version}.tar.xz +Source1: https://github.com/lxqt/libqtxdg/releases/download/%{version}/%{_name}-%{version}.tar.xz.asc +Source2: %{name}.keyring +BuildRequires: cmake >= 3.1.0 +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: libQt5Gui-private-headers-devel +BuildRequires: pkgconfig +BuildRequires: cmake(lxqt-build-tools) >=0.13.0 +BuildRequires: pkgconfig(Qt5Core) >= 5.15 +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Test) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(glib-2.0) >= 2.41 + +%description +Qt implementation of freedesktop.org XDG specs for LXQt + +%package -n libQt5Xdg3 +Summary: Libraries for qtxdg +Provides: libqtxdg + +%description -n libQt5Xdg3 +QtXDG libraries for development + +%package devel +Summary: Devel files for libqtxdg +Requires: libQt5Xdg3 = %{version} +Requires: pkgconfig +Requires: pkgconfig(Qt5UiTools) +Recommends: qtxdg-tools + +%description devel +QtXDG libraries for development + +%package -n libQt5XdgIconLoader3 +Summary: IconLoader library for QtXDG +Provides: libqtxdgiconloader + +%description -n libQt5XdgIconLoader3 +QtXDG icon loader libraries used in LXQt + +%package -n libQt5XdgIconLoader-devel +Summary: Devel files for libQt5XdgIconLoader +Requires: libQt5XdgIconLoader3 = %{version} + +%description -n libQt5XdgIconLoader-devel +Development files for QtXDG icon loader libraries used in LXQt + +%prep +%setup -q -n %{_name}-%{version} + +%build +%cmake +%cmake_build + +%install +%cmake_install +# Remove lxqt-qtxdg.conf and qtxdg.conf, both are now provided by libQt6Xdg4, and cannot be provided by both packages +rm %{buildroot}%{_sysconfdir}/xdg/*.conf +%fdupes -s %{buildroot}/%{_datadir}/locale + +%post -n libQt5Xdg3 -p /sbin/ldconfig +%postun -n libQt5Xdg3 -p /sbin/ldconfig +%post -n libQt5XdgIconLoader3 -p /sbin/ldconfig +%postun -n libQt5XdgIconLoader3 -p /sbin/ldconfig + +%files -n libQt5Xdg3 +%license COPYING +%doc AUTHORS +%{_libdir}/libQt5Xdg.so.* + +%files devel +%{_datadir}/cmake/qt5xdg +%{_includedir}/qt5xdg +%{_libdir}/pkgconfig/Qt5Xdg.pc +%{_libdir}/libQt5Xdg.so + +%files -n libQt5XdgIconLoader3 +%{_libdir}/libQt5XdgIconLoader.so.3 +%{_libdir}/libQt5XdgIconLoader.so.3.* + +%files -n libQt5XdgIconLoader-devel +%dir %{_includedir}/qt5xdgiconloader +%dir %{_includedir}/qt5xdgiconloader/%{version} +%dir %{_includedir}/qt5xdgiconloader/%{version}/private +%dir %{_includedir}/qt5xdgiconloader/%{version}/private/xdgiconloader +%dir %{_datadir}/cmake/qt5xdgiconloader +%{_libdir}/libQt5XdgIconLoader.so +%{_libdir}/qt5/plugins/iconengines/libQt5XdgIconPlugin.so +%{_includedir}/qt5xdgiconloader/xdgiconloader_export.h +%{_includedir}/qt5xdgiconloader/%{version}/private/xdgiconloader/xdgiconloader_p.h +%{_libdir}/pkgconfig/Qt5XdgIconLoader.pc +%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-config-version.cmake +%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-config.cmake +%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-targets-*.cmake +%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-targets.cmake + +%changelog diff --git a/libqtxdg-3.12.0.tar.xz b/libqtxdg-3.12.0.tar.xz new file mode 100644 index 0000000..38d9f1a --- /dev/null +++ b/libqtxdg-3.12.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:726856ff447220575c84461800b151328e784c6c326a5065ef3f9a7f9506d4dc +size 71684 diff --git a/libqtxdg-3.12.0.tar.xz.asc b/libqtxdg-3.12.0.tar.xz.asc new file mode 100644 index 0000000..a4a7df0 --- /dev/null +++ b/libqtxdg-3.12.0.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHcZkVHHRzdWphbjIw +MDBAZ21haWwuY29tAAoJEL55MAetIt9+PbQQAIGpvE2Lqa4vGUUsFpBIbIGkXssR +kGQwDRTehWXsjCyvY+CqbSPw4FqW4l5y+ehMna7cu8TjRvGvdC7HcosQNuRHa4gk +qSV8FnbIrLNnQkjDWNgCqo+Cb2w7NxvloNOSWntSQTOGRghYqk6TlFYd9TveXREx +634bBKqSGo8X3D9J+WG46mfqzbypqf8fzt1r1GC3QbDhTvc7k418W2vI2mDjMWnC +567ZcQ/X/LDoRmMQEljBeLlZ+tIRDOc5npD3LhQl1aJuGyCfy4D7t3hKrWXCSF+o +tsK4LFap5+3ejXxEl1wdffwQLJF/ZdhJHYCRixyRbJGoD1JNWo6mpCOr1CEdQKPz +hkqhO5jGMQgZZ0uKmO0+3D+pWvAPNHsjEzhUqmtOwMQSmIYkJgD3zO5pCBQ9Zpl9 +SfmIyL8k7fvhZZFLR2k4a76yocjvZKcMvxB/WT30zHix5wHW6PZrmRIqh6ebwRHH +ynJKmZImGXa0WAvJIML440juqAuGq0baafWLk4bxvCLBhQvfNgZj6ROJhu49Btm0 ++onnSzm2d0z5RCa6/yXBEEfhN/SDmi5EfsZNJ2Bq+16I4U+/y7A8xSQb2JPIIpiJ +tuzQlvryAgcsgT1663yOOk0reQwxrJqHhdhtgLSYS6m5n+Sr21LZyzJb2rIae5ZI +Ngoxz2QaOqQX8XJC +=Gb57 +-----END PGP SIGNATURE----- From 5ad3fc3ea86fc999519a7b234610cbc8a5d68a590e2c21abd0b6984294e3fce4 Mon Sep 17 00:00:00 2001 From: Shawn Dunn Date: Wed, 30 Oct 2024 21:56:16 +0000 Subject: [PATCH 2/2] added missing space in BuildRequires OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/libqt5xdg?expand=0&rev=41 --- libqt5xdg.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqt5xdg.spec b/libqt5xdg.spec index f91d583..81fb1f0 100644 --- a/libqt5xdg.spec +++ b/libqt5xdg.spec @@ -31,7 +31,7 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libQt5Gui-private-headers-devel BuildRequires: pkgconfig -BuildRequires: cmake(lxqt-build-tools) >=0.13.0 +BuildRequires: cmake(lxqt-build-tools) >= 0.13.0 BuildRequires: pkgconfig(Qt5Core) >= 5.15 BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Svg)