Blob Blame History Raw
Name:           greenisland
Summary:        QtQuick-based Wayland compositor in library form
Version:        0.7.1
Release:        2%{?dist}
License:        BSD and LGPLv2.1
URL:            http://hawaiios.org
Source0:        https://github.com/greenisland/greenisland/releases/download/v%{version}/%{name}-%{version}.tar.xz

Requires:       qt5-qtdeclarative
Requires:       xorg-x11-server-Xwayland
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  qt5-qtbase-static >= 5.5.0
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(wayland-cursor)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-server)
BuildRequires:  pkgconfig(wayland-egl)
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(libsystemd)
BuildRequires:  pkgconfig(libinput) >= 0.12
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(xkbcommon)
BuildRequires:  pkgconfig(libdrm)
BuildRequires:  pkgconfig(gbm)
BuildRequires:  pkgconfig(xcb-cursor)
BuildRequires:  pkgconfig(xcursor)
BuildRequires:  kf5-rpm-macros
BuildRequires:  extra-cmake-modules

%description
QtQuick-based Wayland compositor in library form.

The API extends QtCompositor with additional features needed by any real world
Wayland compositor.

Green Island offers multiple screen support and it also implements specific
protocols such as xdg-shell, gtk-shell and those for Plasma 5.

Also include a screencaster protocol and command line application, plus a
minimal Wayland compositor written with QML.

Green Island can be used by any desktop environment that wish to implement
its compositor by using QML or for shells deeply integrated with the compositor
in the same process.


%package devel
Summary:        Development files for %{name}
Group:          Development/System
Requires:       %{name} = %{version}-%{release}
Requires:       systemd-devel

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q -n %{name}-%{version}


%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd

make %{?_smp_mflags} -C %{_target_platform}


%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%files
%license LICENSE.BSD LICENSE.GPLv2 LICENSE.LGPLv2.1
%doc AUTHORS README.md
%{_bindir}/*
%{_libdir}/libGreenIslandCompositor.so.*
%{_libdir}/libGreenIslandPlatform.so.*
%{_libdir}/libGreenIslandServer.so.*
%{_kf5_qmldir}/GreenIsland
%{_qt5_plugindir}/greenisland/*
%{_qt5_plugindir}/platforms/*
%{_datadir}/greenisland/*


%files devel
%{_includedir}/Hawaii/GreenIsland
%{_includedir}/Hawaii/greenisland_version.h
%{_libdir}/cmake/GreenIsland
%{_libdir}/libGreenIslandCompositor.so
%{_libdir}/libGreenIslandPlatform.so
%{_libdir}/libGreenIslandServer.so
%{_kf5_archdatadir}/mkspecs/modules/qt_GreenIslandCompositor.pri
%{_kf5_archdatadir}/mkspecs/modules/qt_GreenIslandServer.pri
%{_kf5_archdatadir}/mkspecs/modules/qt_GreenIslandPlatform.pri
%{_libdir}/pkgconfig/GreenIslandCompositor.pc
%{_libdir}/pkgconfig/GreenIslandServer.pc
%{_libdir}/pkgconfig/GreenIslandPlatform.pc


%changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Jan 15 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 0.7.1-1
- Update to 0.7.1

* Sat Sep 26 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 0.6.92-2
- Remove weston dependency

* Thu Sep 24 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 0.6.92-1
- Update to 0.6.92.
- Use %%license.

* Sun Aug 23 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 0.6.0-1
- Update to 0.6.0.

* Sun Jul 05 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 0.5.95-1
- Update to 0.5.95.

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Thu Jul 24 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.3.0-1
- Update to 0.3 release

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Tue Feb 18 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.2.0.1-2
- Drop an extra BR

* Sat Jan 04 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.2.0.1-1
- Update to a new release tarball

* Mon Nov 25 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.1.91-2
- Fix file ownership
- Modernize a bit

* Sat Nov 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.1.91-1
- Initial packaging