From 81fea6d51fb95ba42655f86731ed8f57f5a53caf Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:15:03 +0000 Subject: import adwaita-qt-1.0-1.el7 --- diff --git a/.adwaita-qt.metadata b/.adwaita-qt.metadata new file mode 100644 index 0000000..68456c7 --- /dev/null +++ b/.adwaita-qt.metadata @@ -0,0 +1 @@ +21170cbaa71d4614867e04dee2ef957bb46e17f0 SOURCES/adwaita-qt-1.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d140324 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/adwaita-qt-1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/adwaita-qt.spec b/SPECS/adwaita-qt.spec new file mode 100644 index 0000000..a43a56b --- /dev/null +++ b/SPECS/adwaita-qt.spec @@ -0,0 +1,92 @@ +Name: adwaita-qt +Version: 1.0 +Release: 1%{?dist} +License: LGPLv2+ +Summary: Adwaita theme for Qt-based applications + +Url: https://github.com/MartinBriza/adwaita-qt +Source0: https://github.com/MartinBriza/adwaita-qt/archive/%{version}/adwaita-qt-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: qt4-devel +BuildRequires: qt5-qtbase-devel + +Requires: adwaita-qt4 + +%description +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 + + +%prep +%setup -q -n %{name}-%{version} + + +%build +mkdir -p "%{_target_platform}-qt4" +pushd "%{_target_platform}-qt4" +%{cmake} -DUSE_QT4=true .. +popd + +mkdir -p "%{_target_platform}-qt5" +pushd "%{_target_platform}-qt5" +%{cmake} .. +popd + +make %{?_smp_mflags} -C "%{_target_platform}-qt4" +make %{?_smp_mflags} -C "%{_target_platform}-qt5" + + +%install +make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt4" +make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt5" + + +%files -n adwaita-qt4 +%doc LICENSE.LGPL2 README.md +%{_qt4_plugindir}/styles/adwaita.so + +%files -n adwaita-qt5 +%doc LICENSE.LGPL2 README.md +%{_qt5_plugindir}/styles/adwaita.so + +%files -n adwaita-qt-common + +%files + + +%changelog +* 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