Blame SPECS/adwaita-qt.spec

b8a4eb
Name:           adwaita-qt
b8a4eb
Version:        1.0
b8a4eb
Release:        1%{?dist}
b8a4eb
License:        LGPLv2+
b8a4eb
Summary:        Adwaita theme for Qt-based applications
b8a4eb
b8a4eb
Url:            https://github.com/MartinBriza/adwaita-qt
b8a4eb
Source0:        https://github.com/MartinBriza/adwaita-qt/archive/%{version}/adwaita-qt-%{version}.tar.gz
b8a4eb
b8a4eb
BuildRequires:  cmake
b8a4eb
BuildRequires:  qt4-devel
b8a4eb
BuildRequires:  qt5-qtbase-devel
b8a4eb
b8a4eb
Requires:       adwaita-qt4
b8a4eb
b8a4eb
%description
b8a4eb
Theme to let Qt applications fit nicely into Gnome environment
b8a4eb
b8a4eb
b8a4eb
%package -n adwaita-qt4
b8a4eb
Summary:        Adwaita Qt4 theme
b8a4eb
b8a4eb
%description -n adwaita-qt4
b8a4eb
Adwaita theme variant for applications utilizing Qt4
b8a4eb
b8a4eb
b8a4eb
%package -n adwaita-qt5
b8a4eb
Summary:        Adwaita Qt5 theme
b8a4eb
b8a4eb
%description -n adwaita-qt5
b8a4eb
Adwaita theme variant for applications utilizing Qt5
b8a4eb
b8a4eb
b8a4eb
%package -n adwaita-qt-common
b8a4eb
Summary:        Adwaita Qt common files
b8a4eb
b8a4eb
%description -n adwaita-qt-common
b8a4eb
b8a4eb
b8a4eb
%prep
b8a4eb
%setup -q -n %{name}-%{version}
b8a4eb
b8a4eb
b8a4eb
%build
b8a4eb
mkdir -p "%{_target_platform}-qt4"
b8a4eb
pushd "%{_target_platform}-qt4"
b8a4eb
%{cmake} -DUSE_QT4=true ..
b8a4eb
popd
b8a4eb
b8a4eb
mkdir -p "%{_target_platform}-qt5"
b8a4eb
pushd "%{_target_platform}-qt5"
b8a4eb
%{cmake} ..
b8a4eb
popd
b8a4eb
b8a4eb
make %{?_smp_mflags} -C "%{_target_platform}-qt4"
b8a4eb
make %{?_smp_mflags} -C "%{_target_platform}-qt5"
b8a4eb
b8a4eb
b8a4eb
%install
b8a4eb
make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt4"
b8a4eb
make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt5"
b8a4eb
b8a4eb
b8a4eb
%files -n adwaita-qt4
b8a4eb
%doc LICENSE.LGPL2 README.md
b8a4eb
%{_qt4_plugindir}/styles/adwaita.so
b8a4eb
b8a4eb
%files -n adwaita-qt5
b8a4eb
%doc LICENSE.LGPL2 README.md
b8a4eb
%{_qt5_plugindir}/styles/adwaita.so
b8a4eb
b8a4eb
%files -n adwaita-qt-common
b8a4eb
b8a4eb
%files
b8a4eb
b8a4eb
b8a4eb
%changelog
b8a4eb
* Wed Oct 11 2017 Martin Bříza <mbriza@redhat.com> - 1.0-1
b8a4eb
- Update to version 1.0
b8a4eb
  Resolves: bz#1479346
b8a4eb
b8a4eb
* Thu Apr 21 2016 Jan Grulich <jgrulich@redhat.com> - 0.4-1
b8a4eb
- Update to version 0.4
b8a4eb
  Resolves: bz#1306307
b8a4eb
b8a4eb
* Mon Apr 18 2016 Jan Grulich <jgrulich@redhat.com> - 0.3-2
b8a4eb
- Enable Qt5 version
b8a4eb
  Resolves: bz#1306307
b8a4eb
b8a4eb
* Mon Feb 29 2016 Jan Grulich <jgrulich@redhat.com> - 0.3-1
b8a4eb
- Initial package
b8a4eb
  Resolves: bz#1306307