forked from raspberrypi/maynard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaynard.spec
55 lines (39 loc) · 1.12 KB
/
maynard.spec
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
%define version 0.5
%define release b2
Name: maynard
Summary: A desktop shell client for Weston
Version: %{version}
Release: %{release}
Group: User Interface/Desktops
License: GPL
URL: https://github.com/raspberrypi/maynard/
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: intltool, libtool, alsa-lib-devel, gnome-menus-devel, gsettings-desktop-schemas-devel
BuildRequires: gnome-desktop3-devel, libwayland-server-devel, weston-devel
#BuildArchitectures: i686
%description
A desktop shell client for Weston based on GTK.
%prep
%setup -q
%build
./autogen.sh
./configure --prefix=/usr --libdir=%{_libdir}
make CC=clang %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/etc/skel/.config/
cp weston.ini %{buildroot}/etc/skel/.config/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/maynard
%{_libdir}/weston/shell-helper.*
%{_libexecdir}/maynard
%{_datadir}/glib-2.0/schemas
/etc/skel/.config/weston.ini
%changelog
* Mon Dec 1 2014 Yuichiro Nakada <berry@berry-lab.net>
- Create for Berry Linux