074431
6cfec3
Name:           adwaita-qt
074431
Version:        1.2.1
cfffaa
Release:        4%{?dist}
074431
License:        LGPLv2+ and GPLv2+
6cfec3
Summary:        Adwaita theme for Qt-based applications
6cfec3
074431
Url:            https://github.com/FedoraQt/adwaita-qt
074431
Source0:        https://github.com/FedoraQt/adwaita-qt/archive/%{version}/adwaita-qt-%{version}.tar.gz
6cfec3
6cfec3
BuildRequires:  cmake
074431
6cfec3
BuildRequires:  qt5-qtbase-devel
074431
BuildRequires:  qt5-qtx11extras-devel
074431
074431
BuildRequires:  libxcb-devel
6cfec3
6cfec3
Obsoletes:      adwaita-qt4 < 1.0-5
6cfec3
6cfec3
Provides:       adwaita-qt-common = %{version}-%{release}
6cfec3
Obsoletes:      adwaita-qt-common < 1.0-5
6cfec3
074431
Requires:       adwaita-qt5
074431
6cfec3
%description
6cfec3
Theme to let Qt applications fit nicely into Fedora Workstation
6cfec3
074431
# Use -qt5 naming in case we provide -qt6 version in the future
074431
%package -n adwaita-qt5
074431
Summary:        Adwaita Qt5 theme
074431
Requires:       libadwaita-qt5%{?_isa} = %{version}-%{release}
074431
Provides:       adwaita-qt = %{version}-%{release}
074431
Obsoletes:      adwaita-qt < 1.2.1
6cfec3
074431
%description -n adwaita-qt5
074431
Adwaita theme variant for applications utilizing Qt5.
6cfec3
074431
%package -n libadwaita-qt5
074431
Summary:        Adwaita Qt5 library
6cfec3
074431
%description -n libadwaita-qt5
074431
%{summary}.
6cfec3
074431
%package -n libadwaita-qt5-devel
074431
Summary:        Development files for libadwaita-qt5
074431
Requires:       libadwaita-qt5%{?_isa} = %{version}-%{release}
6cfec3
074431
%description -n libadwaita-qt5-devel
074431
The libadwaita-qt5-devel package contains libraries and header files for
074431
developing applications that use libadwaita-qt5.
074431
074431
%prep
074431
%autosetup -n %{name}-%{version} -p1
6cfec3
074431
%build
074431
%{cmake} .
074431
074431
%make_build
6cfec3
074431
%install
074431
make install/fast DESTDIR=%{buildroot}
074431
074431
%files -n adwaita-qt5
6cfec3
%doc LICENSE.LGPL2 README.md
6cfec3
%{_qt5_plugindir}/styles/adwaita.so
6cfec3
074431
%files -n libadwaita-qt5
074431
%{_libdir}/libadwaitaqt.so.*
074431
%{_libdir}/libadwaitaqtpriv.so.*
074431
074431
%files -n libadwaita-qt5-devel
074431
%dir %{_includedir}/AdwaitaQt
074431
%{_includedir}/AdwaitaQt/*.h
074431
%dir %{_libdir}/cmake/AdwaitaQt
074431
%{_libdir}/cmake/AdwaitaQt/*.cmake
074431
%{_libdir}/pkgconfig/adwaita-qt.pc
074431
%{_libdir}/libadwaitaqt.so
074431
%{_libdir}/libadwaitaqtpriv.so
074431
6cfec3
6cfec3
%changelog
cfffaa
* Fri Apr 01 2022 Jan Grulich <jgrulich@redhat.com> - 1.2.1-4
cfffaa
- Rebuild (Qt 5.15.3)
cfffaa
  Resolves: bz#2061414
cfffaa
074431
* Wed Apr 28 2021 Jan Grulich <jgrulich@redhat.com> - 1.2.1-3
074431
- Rebuild (binutils)
074431
  Resolves: bz#1930074
074431
074431
* Fri Apr 16 2021 Jan Grulich <jgrulich@redhat.com> - 1.2.1-2
074431
- Adwaita-qt5 replaces adwaita-qt
074431
  Resolves: bz#1930074
074431
074431
* Thu Apr 08 2021 Jan Grulich <jgrulich@redhat.com> - 1.2.1-1
074431
- 1.2.1
074431
  Resolves: bz#1930074
074431
6cfec3
* Mon May 14 2018 Jan Grulich <jgrulich@redhat.com> - 1.0-5
6cfec3
- Drop Qt4 variant
6cfec3
6cfec3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4
6cfec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6cfec3
6cfec3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
6cfec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6cfec3
6cfec3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
6cfec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6cfec3
6cfec3
* Fri May 26 2017 Martin Bříza <mbriza@redhat.com> - 1.0-1
6cfec3
- Update to 1.0
6cfec3
6cfec3
* Mon Feb 27 2017 Martin Briza <mbriza@redhat.com> - 0.98-1
6cfec3
- Update to 0.98
6cfec3
- Fixes #1410597
6cfec3
6cfec3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-3
6cfec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6cfec3
6cfec3
* Thu Jan 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.97-2
6cfec3
- drop hardcoded Requires: qt4/qt5-qtbase
6cfec3
6cfec3
* Wed Dec 14 2016 Martin Briza <mbriza@redhat.com> - 0.97-1
6cfec3
- Update to 0.97
6cfec3
6cfec3
* Tue Dec 13 2016 Martin Briza <mbriza@redhat.com> - 0.95-1
6cfec3
- Update to 0.95
6cfec3
6cfec3
* Thu Jun 30 2016 Jan Grulich <jgrulich@redhat.com> - 0.4-3
6cfec3
- Properly fix missing menubar in QtCreator
6cfec3
6cfec3
* Wed Jun 22 2016 Jan Grulich <jgrulich@redhat.com> - 0.4-2
6cfec3
- Attempt to fix missing menubar issue in QtCreator
6cfec3
6cfec3
* Thu Apr 21 2016 Jan Grulich <jgrulich@redhat.com> - 0.4-1
6cfec3
- Update to version 0.4
6cfec3
6cfec3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-2
6cfec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6cfec3
6cfec3
* Mon Jul 20 2015 Martin Briza <mbriza@redhat.com> - 0.3-1
6cfec3
- Updated to the latest release
6cfec3
- Added a Qt5 build
6cfec3
6cfec3
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.7.20141216git024b00bf
6cfec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6cfec3
6cfec3
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0-0.6.20141216git024b00bf
6cfec3
- Rebuilt for GCC 5 C++11 ABI change
6cfec3
6cfec3
* Fri Jan 16 2015 Martin Briza <mbriza@redhat.com> - 0-0.5
6cfec3
- Package review cleanup
6cfec3
- Split into a base and a subpackage
6cfec3
- Fedora import
6cfec3
6cfec3
* Tue Dec 16 2014 Martin Briza <mbriza@redhat.com> - 0-0.4.copr
6cfec3
- Update to latest commit
6cfec3
6cfec3
* Fri Dec 05 2014 Martin Briza <mbriza@redhat.com> - 0-0.3.copr
6cfec3
- Update to latest commit
6cfec3
6cfec3
* Mon Sep 15 2014 Martin Briza <mbriza@redhat.com> - 0-0.2.copr
6cfec3
- Update to latest commit
6cfec3
6cfec3
* Mon Sep 15 2014 Martin Briza <mbriza@redhat.com> - 0-0.1.copr
6cfec3
- Initial build