summaryrefslogtreecommitdiff
path: root/packaging/ico-uxf-weston-plugin.spec
blob: 1ea08211241f730b6025b6eb80abe4c25dae9233 (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
Name:       ico-uxf-weston-plugin
Summary:    Weston Plugins for IVI
Version:    0.5.01
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
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 /root/.config
mkdir -p %{buildroot}%{weston_conf}
install -m 0644 weston.ini.ico %{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.0.0.5
%{_libdir}/libico-uxf-weston-plugin.so.0
%{_libdir}/libico-uxf-weston-plugin.so
%{weston_conf}/weston.ini.ico
%{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