Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate
1
# If package is named differently to "deployment", it should provide
2
# "deployment" name to not brake "sweets" olpc-os-builder module
3
Name: deployment
4
Version: 0.1
5
Release: 1
6
Group: Development/System
7
Summary: Meta package for reference XO deployment distribution
8
License: GPLv3+
9
Url: http://wiki.sugarlabs.org/go/Harmonic_Distribution/XO_reference_distribution
10
11
Source: %{name}-%{version}.tar.gz
12
13
Requires: sweets-desktop sugar-client sweets-locales sweets
14
BuildArch: noarch
15
16
%description
17
Meta package for reference XO deployment distribution.
18
19
%prep
20
%setup -q
21
22
%build
23
24
%install
25
install -m 0755 -d %{buildroot}/%{_sysconfdir}
26
cp -r etc/* %{buildroot}/%{_sysconfdir}/
27
install -m 0755 -d %{buildroot}/%{_datadir}/%{name}
28
cat post.d/*sh > %{buildroot}/%{_datadir}/%{name}/post.sh
29
chmod a+rx %{buildroot}/%{_datadir}/%{name}/post.sh
30
install -m 0755 -d %{buildroot}/%{_datadir}/doc/%{name}
31
cp AUTHORS COPYING README %{buildroot}/%{_datadir}/doc/%{name}/
32
33
%post
34
%{_datadir}/%{name}/post.sh
35
36
%files
37
%defattr(-,root,root,-)
38
%{_sysconfdir}/modprobe.d/libertas.conf
39
%{_sysconfdir}/sugar/blacklist/deployment
40
%{_sysconfdir}/sweets.conf
41
%{_datadir}/%{name}
42
%{_datadir}/doc/%{name}
43
44
%changelog