update to version 0.9.2
This commit is contained in:
parent
bb679d2296
commit
5d7edf78b1
Binary file not shown.
BIN
QGnomePlatform-0.9.2.tar.gz
Normal file
BIN
QGnomePlatform-0.9.2.tar.gz
Normal file
Binary file not shown.
@ -1,37 +1,105 @@
|
|||||||
Name: qgnomeplatform
|
Name: qgnomeplatform
|
||||||
Version: 0.5
|
Version: 0.9.2
|
||||||
Release: 9
|
Release: 1
|
||||||
Summary: The module provides Qt Theme aimed to accommodate Gnome settings
|
Summary: The module provides Qt Theme aimed to accommodate Gnome settings
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/MartinBriza/QGnomePlatform
|
URL: https://github.com/MartinBriza/QGnomePlatform
|
||||||
Source0: https://github.com/MartinBriza/QGnomePlatform/archive/%{version}/QGnomePlatform-%{version}.tar.gz
|
Source0: https://github.com/MartinBriza/QGnomePlatform/archive/%{version}/QGnomePlatform-%{version}.tar.gz
|
||||||
BuildRequires: pkgconfig(gio-2.0) pkgconfig(udev) pkgconfig(xkbcommon) gtk3-devel libinput-devel
|
|
||||||
BuildRequires: libXrender-devel qt5-qtbase-devel qt5-qtbase-static qt5-qtbase-private-devel
|
BuildRequires: make
|
||||||
Requires: adwaita-qt5
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
|
BuildRequires: pkgconfig(udev)
|
||||||
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
|
BuildRequires: gtk3-devel
|
||||||
|
BuildRequires: gsettings-desktop-schemas-devel
|
||||||
|
BuildRequires: libinput-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Qt Platform Theme named QGnomePlatform which aimed to accomodate multies
|
QGnomePlatform is a Qt Platform Theme aimed to accommodate as much of
|
||||||
GNOME settings.The utilize Qt applications without modify this them could use
|
GNOME settings as possibleand utilize them in Qt applications without
|
||||||
the them as well as possible.
|
modifying them - making them fit into the environment as well as possible.
|
||||||
|
|
||||||
|
%package qt5
|
||||||
|
Summary: Qt5 Platform Theme aimed to accommodate Gnome settings
|
||||||
|
BuildRequires: qt5-qtbase-devel >= 5.15.2
|
||||||
|
BuildRequires: qt5-qtbase-static >= 5.15.2
|
||||||
|
BuildRequires: qt5-qtquickcontrols2-devel >= 5.15.2
|
||||||
|
BuildRequires: qt5-qtwayland-devel >= 5.15.2
|
||||||
|
BuildRequires: qt5-qtbase-private-devel >= 5.15.2
|
||||||
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
|
|
||||||
|
BuildRequires: libadwaita-qt5-devel >= 1.4.2
|
||||||
|
Requires: adwaita-qt5%{?_isa}
|
||||||
|
|
||||||
|
# Replace QGnomePlatform package with this as it was the Qt5 flavor
|
||||||
|
Obsoletes: %{name} < 0.8.4-5
|
||||||
|
Provides: %{name} = %{version}-%{release}
|
||||||
|
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (qt5-qtbase and gnome-shell)
|
||||||
|
|
||||||
|
%description qt5
|
||||||
|
QGnomePlatform is a Qt5 Platform Theme aimed to accommodate as much of
|
||||||
|
GNOME settings as possibleand utilize them in Qt applications without
|
||||||
|
modifying them - making them fit into the environment as well as possible.
|
||||||
|
|
||||||
|
%package qt6
|
||||||
|
Summary: Qt6 Platform Theme aimed to accommodate Gnome settings
|
||||||
|
BuildRequires: qt6-qtbase-devel >= 6.2.0
|
||||||
|
BuildRequires: qt6-qtbase-static >= 6.2.0
|
||||||
|
BuildRequires: qt6-qtquickcontrols2-devel >= 6.2.0
|
||||||
|
BuildRequires: qt6-qtwayland-devel >= 6.2.0
|
||||||
|
BuildRequires: qt6-qtbase-private-devel >= 6.2.0
|
||||||
|
BuildRequires: libadwaita-qt6-devel >= 1.4.1
|
||||||
|
|
||||||
|
%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
|
||||||
|
Requires: adwaita-qt6%{?_isa}
|
||||||
|
|
||||||
|
|
||||||
|
%description qt6
|
||||||
|
QGnomePlatform is a Qt6 Platform Theme aimed to accommodate as much of
|
||||||
|
GNOME settings as possibleand utilize them in Qt applications without
|
||||||
|
modifying them - making them fit into the environment as well as possible.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n QGnomePlatform-%{version} -p1
|
%autosetup -p1 -n QGnomePlatform-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
install -d %{_target_platform}
|
%global _vpath_builddir %{_target_platform}-qt5
|
||||||
cd %{_target_platform}
|
%cmake -B "%{_vpath_builddir}" -DDECORATION_SHADOWS_SUPPORT=true
|
||||||
%{qmake_qt5} ..
|
%__cmake --build "%{_vpath_builddir}"
|
||||||
cd -
|
|
||||||
%make_build -C %{_target_platform}
|
%global _vpath_builddir %{_target_platform}-qt6
|
||||||
|
%cmake -B "%{_vpath_builddir}" -DUSE_QT6=true
|
||||||
|
%__cmake --build "%{_vpath_builddir}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
%global _vpath_builddir %{_target_platform}-qt5
|
||||||
|
DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}"
|
||||||
|
|
||||||
%files
|
%global _vpath_builddir %{_target_platform}-qt6
|
||||||
%doc README.md LICENSE
|
DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}"
|
||||||
%{_qt5_libdir}/qt5/plugins/platformthemes/libqgnomeplatform.so
|
|
||||||
|
%files qt5
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_datadir}/color-schemes/*.colors
|
||||||
|
%{_qt5_libdir}/libqgnomeplatform.so
|
||||||
|
%{_qt5_plugindir}/platformthemes/libqgnomeplatformtheme.so
|
||||||
|
%{_qt5_plugindir}/wayland-decoration-client/libqgnomeplatformdecoration.so
|
||||||
|
|
||||||
|
%files qt6
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_qt6_libdir}/libqgnomeplatform6.so
|
||||||
|
%{_qt6_plugindir}/platformthemes/libqgnomeplatformtheme.so
|
||||||
|
%{_qt6_plugindir}/wayland-decoration-client/libqgnomeplatformdecoration.so
|
||||||
|
%exclude %{_datadir}/color-schemes/*.colors
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 21 2023 lwg <liweiganga@uniontech.com> - 0.9.2-1
|
||||||
|
- update to version 0.9.2
|
||||||
|
|
||||||
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.5-9
|
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.5-9
|
||||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version-control: github
|
version-control: github
|
||||||
src_repo: FedoraQt/QGnomePlatform
|
src_repo: FedoraQt/QGnomePlatform
|
||||||
tag_prefix: QGnomePlatform
|
tag_prefix: QGnomePlatform
|
||||||
seperator: .
|
separator: .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user