Initial version
This commit is contained in:
parent
d0c4befccb
commit
7bd3f10ecc
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/QGnomePlatform-0.1.tar.gz
|
||||
62
qgnomeplatform.spec
Normal file
62
qgnomeplatform.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%if 0%{?fedora} >= 24
|
||||
%global qt5_ver 5.6
|
||||
%global qt5_ver_minor 0
|
||||
%else
|
||||
%global qt5_ver 5.5
|
||||
%global qt5_ver_minor 1
|
||||
%endif
|
||||
%global qt5_version %{qt5_ver}.%{qt5_ver_minor}
|
||||
|
||||
Name: qgnomeplatform
|
||||
Version: 0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Qt Platform Theme aimed to accommodate Gnome settings
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/MartinBriza/QGnomePlatform
|
||||
Source0: https://github.com/MartinBriza/QGnomePlatform/archive/0.1.tar.gz#/QGnomePlatform-%{version}.tar.gz
|
||||
|
||||
# Upstream patches
|
||||
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: libinput-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: qt5-qtbase-devel >= %{qt5_ver}.0 qt5-qtbase-devel <= %{qt5_ver}.100
|
||||
BuildRequires: qt5-qtbase-static
|
||||
|
||||
Requires: qt5-qtbase%{?_isa} = %{qt5_version}
|
||||
|
||||
%description
|
||||
QGnomePlatform is a Qt 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
|
||||
%setup -q -n QGnomePlatform-%{version}
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{qmake_qt5} ..
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
|
||||
%install
|
||||
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_qt5_libdir}/qt5/plugins/platformthemes/libqgnomeplatform.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 16 2016 Jan Grulich <jgrulich@redhat.com> - 0.1-1
|
||||
- First version
|
||||
Loading…
Reference in New Issue
Block a user