Remove requirement for e17 with wayland and fix rpmlint errors
[platform/core/uifw/e17-misc.git] / packaging / e17-misc.spec
index 6a031f7..d0ad803 100644 (file)
@@ -1,19 +1,25 @@
+%bcond_with wayland
+
 Name:       e17-misc
 Summary:    E17 Config files
 Version:    0.4.2
 Release:    1
-Group:      System/GUI/Other
-License:    BSD
+Group:      Graphics & UI Framework/Configuration
+License:    BSD-2-Clause
 Source0:    %{name}-%{version}.tar.gz
+Source1001:    e17-misc.manifest
 BuildRequires: pkgconfig(eet)
 BuildRequires: eet-tools
+%if !%{with wayland}
 Requires:   e17
+%endif
 
 %description
 The E17 extra configuration files
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
 %autogen
@@ -90,7 +96,7 @@ chmod 755 /home/app
 chown -R 5000:5000 /opt/home/app
 
 %files
-%manifest e17-misc.manifest
+%manifest %{name}.manifest
 %defattr(-,root,root,-)
 /opt/home/app/.e
 /usr/share/license/%{name}