Initial import

This commit is contained in:
Martin Briza 2017-01-05 18:49:41 +01:00
parent 9ccb50e64a
commit df7e764beb
3 changed files with 76 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/highcontrast-qt-0.1.tar.gz

74
highcontrast-qt.spec Normal file
View File

@ -0,0 +1,74 @@
Name: highcontrast-qt
Version: 0.1
Release: 1%{?dist}
License: GPLv2+ and MIT
Summary: HighContrast theme for Qt-based applications
Url: https://github.com/MartinBriza/highcontrast-qt
Source0: https://github.com/MartinBriza/highcontrast-qt/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: qt4-devel
BuildRequires: qt5-qtbase-devel
Requires: highcontrast-qt5
%description
Theme to let Qt applications fit nicely into Fedora Workstation
%package -n highcontrast-qt4
Summary: HighContrast Qt4 theme
Requires: qt5-qtbase
%package -n highcontrast-qt5
Summary: HighContrast Qt5 theme
Requires: qt5-qtbase
%description -n highcontrast-qt4
HighContrast theme variant for applications utilizing Qt4
%description -n highcontrast-qt5
HighContrast theme variant for applications utilizing Qt5
%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 highcontrast-qt4
%license LICENSE.GPL2
%doc README.md
%{_qt4_plugindir}/styles/highcontrast.so
%files -n highcontrast-qt5
%license LICENSE.GPL2
%doc README.md
%{_qt5_plugindir}/styles/highcontrast.so
%files
%changelog
* Thu Jan 05 2017 Martin Briza <mbriza@redhat.com> - 0.1-1
- Initial build

View File

@ -0,0 +1 @@
SHA512 (highcontrast-qt-0.1.tar.gz) = e37628a3e1dd284d1a048e8451fb1cc264a95b36ba05745ef11514c1a3eb09567cd830d514a7febc092e7231ef17c759b1f14c33a325a61a1f548b558eca2f79