Blob Blame History Raw
Name:           greenisland
Summary:        Compositor and shell for the Hawaii desktop environment
Version:        0.1.91
Release:        1%{?dist}
Group:          Applications/System
License:        BSD and LGPLv2+ and GPLv3+
URL:            https://github.com/hawaii-desktop/greenisland
# git clone --no-checkout https://github.com/hawaii-desktop/greenisland.git
# cd greenisland/
# git archive v0.1.91 --prefix=greenisland/ |gzip >greenisland-0.1.91.tar.gz
Source0:        greenisland-0.1.91.tar.gz

# From mer
Patch0:         greenisland-nogit.patch

Requires:       hawaii-icon-theme
Requires:       qt5-qtbase-x11
Requires:       qt5-qtdeclarative
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  pkgconfig(liblzma)
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Xml)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5OpenGL)
BuildRequires:  pkgconfig(Qt5Designer)
BuildRequires:  pkgconfig(Qt5Compositor)
BuildRequires:  pkgconfig(polkit-qt-1)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-cursor)
BuildRequires:  pkgconfig(wayland-server)
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(glesv2)
BuildRequires:  cmake
BuildRequires:  python
BuildRequires:  bzip2-devel
BuildRequires:  qt5-qtaccountsservice-devel

%description
Wayland compositor and shell library for the Hawaii desktop environment.


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

%description devel
Development files for GreenIsland.


%prep
%setup -q -n %{name}
%patch0 -p1


%build
%cmake .
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_libdir}/libGreenIsland.so.*
%{_libdir}/hawaii
%doc AUTHORS
%doc LICENSE.LGPL
%doc README.md


%files devel
%defattr(-,root,root,-)
%{_includedir}/GreenIsland/*
%{_libdir}/cmake/GreenIsland/*
%{_libdir}/libGreenIsland.so


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