wayland-fits initial packaging
authorEwan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
Tue, 13 May 2014 08:46:43 +0000 (10:46 +0200)
committerEwan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
Thu, 6 Nov 2014 11:17:22 +0000 (12:17 +0100)
Change-Id: I7056a167bae30611e1c1859d6b8b4b117c4e0c69
Signed-off-by: Ewan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
packaging/ADN_animation.gif [new file with mode: 0644]
packaging/bridge_of_the_gods.png [new file with mode: 0644]
packaging/wayland-fits-master.spec [new file with mode: 0644]
src/test/efl/Makefile.am

diff --git a/packaging/ADN_animation.gif b/packaging/ADN_animation.gif
new file mode 100644 (file)
index 0000000..50516d0
Binary files /dev/null and b/packaging/ADN_animation.gif differ
diff --git a/packaging/bridge_of_the_gods.png b/packaging/bridge_of_the_gods.png
new file mode 100644 (file)
index 0000000..c7f4135
Binary files /dev/null and b/packaging/bridge_of_the_gods.png differ
diff --git a/packaging/wayland-fits-master.spec b/packaging/wayland-fits-master.spec
new file mode 100644 (file)
index 0000000..320e0b0
--- /dev/null
@@ -0,0 +1,70 @@
+#
+# spec file for package
+#
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+Name:           wayland-fits-master
+Version:       0.2.1
+Release:       0
+License:       GPL-2.0+
+Summary:        Wayland Test Suite
+Url:           https://github.com/01org/wayland-fits
+Group:         Applications/Core Applications
+Source0:       https://github.com/01org/wayland-fits/archive/master.zip
+Source101:      ADN_animation.gif
+Source1001:     bridge_of_the_gods.png
+BuildRequires:  boost-devel
+BuildRequires:  pkgconfig(pixman-1)
+BuildRequires:  pkgconfig(wayland-egl)
+BuildRequires:  pkgconfig(weston)
+BuildRequires:  pkgconfig(elementary)
+BuildRequires:  pkgconfig(ecore-wayland)
+BuildRequires:  pkgconfig(evas)
+BuildRequires:  pkgconfig(evas-wayland-shm)
+BuildRequires:  pkgconfig(check)
+BuildRequires:  pkgconfig(xkbcommon)
+BuildRequires:  unzip
+BuildRequires:  pkgconfig(evas-wayland-egl)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+Graphical Test Suite for wayland
+
+%prep
+%setup -q
+
+%build
+export CXXFLAGS="-DMEDIA_PATH='\"%{_datadir}/media\"'"
+./autogen.sh
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p -m 755 %{buildroot}%{_datadir}/media
+install -m 755 %{SOURCE101} %{buildroot}%{_datadir}/media
+install -m 755 %{SOURCE1001} %{buildroot}%{_datadir}/media
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%_bindir/wfits
+%_libdir/weston/weston-wfits.so
+%_datadir/media/*
+%doc README
+%license COPYING
index 85084be..6cb518f 100644 (file)
@@ -61,7 +61,7 @@ libwfits_efl_la_CPPFLAGS =            \
 
 AM_CXXFLAGS =                          \
        -Wno-strict-aliasing            \
-       -Werror -Wall                   \
+       -Wall                   \
        -Wno-unused-variable            \
        -Wno-unknown-pragmas            \
        -Wno-parentheses                \