summaryrefslogtreecommitdiff
path: root/packaging/ico-uxf-weston-plugin.spec
blob: 6fd12f9ba00b3924cfb32c4242d313201d270537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Name:       ico-uxf-weston-plugin
Summary:    Weston Plugins for IVI
Version:    0.7.01
Release:    1.1
Group:      System/GUI/Libraries
License:    MIT
URL:        ""
Source0:    %{name}-%{version}.tar.bz2

BuildRequires: pkgconfig(weston) >= 1.2
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(xkbcommon) >= 0.0.578
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: mesa-devel
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(ecore)
Requires: weston >= 1.2

%description
Weston Plugins for IVI

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

%description devel
Development files that expose the wayland extended protocols for IVI.

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

%build
autoreconf --install

%autogen --prefix=/usr

%configure
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%make_install

# configurations
%define weston_conf %{_sysconfdir}/xdg/weston
mkdir -p %{buildroot}%{weston_conf} > /dev/null 2>&1
install -m 0644 settings/weston.ini %{buildroot}%{weston_conf}
mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
install -m 0644 settings/ico_weston.sh  %{buildroot}%{_sysconfdir}/profile.d/
install -m 0644 settings/ico_weston.csh  %{buildroot}%{_sysconfdir}/profile.d/

%files
%defattr(-,root,root,-)
%dir %{_libdir}/weston/
%{_libdir}/weston/*.so
%{_libdir}/libico-uxf-weston-plugin.so.*
%{weston_conf}/weston.ini
%{_sysconfdir}/profile.d/ico_weston.sh
%{_sysconfdir}/profile.d/ico_weston.csh

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}/desktop-shell-client-protocol.h
%{_includedir}/%{name}/input-method-client-protocol.h
%{_includedir}/%{name}/workspaces-client-protocol.h
%{_includedir}/%{name}/ico_input_mgr-client-protocol.h
%{_includedir}/%{name}/ico_window_mgr-client-protocol.h
%{_includedir}/%{name}/ico_input_mgr.h
%{_libdir}/libico-uxf-weston-plugin.so