[greenisland] Import greenisland-0.1.91-1.fc20.src.rpm

Lubomir Rintel lkundrak at fedoraproject.org
Mon Nov 25 13:37:07 UTC 2013


commit 7350b28baf530fa3cab1e92c6446087310664dc3
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Mon Nov 25 14:33:03 2013 +0100

    Import greenisland-0.1.91-1.fc20.src.rpm

 .gitignore              |    1 +
 greenisland-nogit.patch |   21 ++++++++++
 greenisland.spec        |   96 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 4 files changed, 119 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d740fde 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/greenisland-0.1.91.tar.gz
diff --git a/greenisland-nogit.patch b/greenisland-nogit.patch
new file mode 100644
index 0000000..724e7f4
--- /dev/null
+++ b/greenisland-nogit.patch
@@ -0,0 +1,21 @@
+--- greenisland/cmake/GetGitRevision.cmake	2013-02-16 16:13:17.000000000 +1100
++++ b/cmake/GetGitRevision.cmake	2013-02-24 15:55:52.095167515 +1100
+@@ -31,14 +31,14 @@
+ #=============================================================================
+ 
+ function(create_git_head_revision_file _file _target)
+-    if(NOT GIT_FOUND)
+-        find_package(Git QUIET)
+-    endif()
++#    if(NOT GIT_FOUND)
++#        find_package(Git QUIET)
++#    endif()
+ 
+     add_custom_target(gitsha1
+         ${CMAKE_COMMAND} -E remove -f ${CMAKE_CURRENT_BINARY_DIR}/${_file}
+         COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/${_file}.in ${CMAKE_CURRENT_BINARY_DIR}/${_file}
+-        COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD >> ${CMAKE_CURRENT_BINARY_DIR}/${_file}
++        COMMAND echo 20130509.7753f0e >> ${CMAKE_CURRENT_BINARY_DIR}/${_file}
+         WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+         VERBATIM)
+     add_dependencies(${_target} gitsha1)
diff --git a/greenisland.spec b/greenisland.spec
new file mode 100644
index 0000000..de84732
--- /dev/null
+++ b/greenisland.spec
@@ -0,0 +1,96 @@
+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 at v3.sk> - 0.1.91-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..ba562d2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+212c389703324fcbc5a925892008cea9  greenisland-0.1.91.tar.gz


More information about the scm-commits mailing list