Blob Blame Raw
Name:           adwaita-qt
Version:        1.0
Release:        1%{?dist}
License:        LGPLv2+
Summary:        Adwaita theme for Qt-based applications


BuildRequires:  cmake
BuildRequires:  qt4-devel
BuildRequires:  qt5-qtbase-devel

Requires:       adwaita-qt4

Theme to let Qt applications fit nicely into Gnome environment

%package -n adwaita-qt4
Summary:        Adwaita Qt4 theme

%description -n adwaita-qt4
Adwaita theme variant for applications utilizing Qt4

%package -n adwaita-qt5
Summary:        Adwaita Qt5 theme

%description -n adwaita-qt5
Adwaita theme variant for applications utilizing Qt5

%package -n adwaita-qt-common
Summary:        Adwaita Qt common files

%description -n adwaita-qt-common

%setup -q -n %{name}-%{version}

mkdir -p "%{_target_platform}-qt4"
pushd "%{_target_platform}-qt4"
%{cmake} -DUSE_QT4=true ..

mkdir -p "%{_target_platform}-qt5"
pushd "%{_target_platform}-qt5"
%{cmake} ..

make %{?_smp_mflags} -C "%{_target_platform}-qt4"
make %{?_smp_mflags} -C "%{_target_platform}-qt5"

make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt4"
make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt5"

%files -n adwaita-qt4

%files -n adwaita-qt5

%files -n adwaita-qt-common


* Wed Oct 11 2017 Martin Bříza <> - 1.0-1
- Update to version 1.0
  Resolves: bz#1479346

* Thu Apr 21 2016 Jan Grulich <> - 0.4-1
- Update to version 0.4
  Resolves: bz#1306307

* Mon Apr 18 2016 Jan Grulich <> - 0.3-2
- Enable Qt5 version
  Resolves: bz#1306307

* Mon Feb 29 2016 Jan Grulich <> - 0.3-1
- Initial package
  Resolves: bz#1306307