summaryrefslogtreecommitdiff
path: root/packaging/ico-uxf-weston-plugin.spec
blob: 7bbda2ac4bcdd0c2c981bea8ff9acafd7b1894b1 (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
Name:       ico-uxf-weston-plugin
Summary:    Weston Plugins for IVI
Version:    0.5.03
Release:    1.1
Group:      System/GUI/Libraries
License:    MIT
URL:        ""
Source0:    %{name}-%{version}.tar.bz2

BuildRequires: pkgconfig(weston) >= 1.0.6
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: aul-devel
BuildRequires: ecore-devel
BuildRequires: weston-devel
Requires: weston >= 1.0.6

%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 weston.ini %{buildroot}%{weston_conf}
install -m 0644 weston_ivi_plugin.ini %{buildroot}%{weston_conf}

%files
%defattr(-,root,root,-)
%dir %{_libdir}/weston/
%{_libdir}/weston/*.so
%{_libdir}/libico-uxf-weston-plugin.so.*
%config(noreplace) %{weston_conf}/weston.ini
%config(noreplace) %{weston_conf}/weston_ivi_plugin.ini

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