summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2013-11-19 15:57:46 +0100
committerRonan Le Martret <ronan@fridu.net>2013-11-19 15:57:46 +0100
commit85d5ea2eb54e4367fd18e8194af2da3b81d24aa1 (patch)
tree95ea7205b182e4ca84d44378597196e40901bba9
parentb154fc904bd2f055fbd56bd2ade183068651faa9 (diff)
downloaddesktop-skin-85d5ea2eb54e4367fd18e8194af2da3b81d24aa1.tar.gz
desktop-skin-85d5ea2eb54e4367fd18e8194af2da3b81d24aa1.tar.bz2
desktop-skin-85d5ea2eb54e4367fd18e8194af2da3b81d24aa1.zip
- change spec file macro.
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r--packaging/desktop-skin.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/packaging/desktop-skin.spec b/packaging/desktop-skin.spec
index 2a1fa0d..5aa352b 100644
--- a/packaging/desktop-skin.spec
+++ b/packaging/desktop-skin.spec
@@ -6,30 +6,36 @@ Version: 2.0
Group: Applications
License: GPL-2.0+
Release: 1
-BuildArch: noarch
+
+
+
+Source0: %{name}-%{version}.tar.gz
%description
Provides desktop-skin.
%prep
+%setup -q
%build
%install
mkdir -p %{buildroot}%{_libdir}/alsa
-install -m 644 Sound/asound.state %{buildroot}/root
+install -m 644 Sound/asound.state %{buildroot}%{_libdir}/alsa
+
+mkdir -p %{buildroot}%{_bindir}
install -m 755 Sound/alsamixer %{buildroot}%{_bindir}
install -m 755 Script/launch_cam.sh %{buildroot}%{_bindir}
install -m 755 Script/launch_video.sh %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{USERHOME}
-install -m 644 Video/AmazingNature_480p.mp4 %{USERHOME}
+install -m 644 Video/AmazingNature_480p.mp4 %{buildroot}%{USERHOME}
mkdir -p %{buildroot}%{USERHOME}/Photos
-install -m 644 Photos/* %{USERHOME}/Photos
+install -m 644 Photos/* %{buildroot}%{USERHOME}/Photos
mkdir -p %{buildroot}%{_datadir}/icons/tizen/32x32
install -m 644 icons/tizen/32x32/* %{buildroot}%{_datadir}/icons/tizen/32x32
@@ -37,7 +43,7 @@ install -m 644 icons/tizen/32x32/* %{buildroot}%{_datadir}/icons/tizen/32x32
mkdir -p %{buildroot}%{_datadir}/backgrounds/tizen
install -m 644 backgrounds/tizen/golfe-morbihan.jpg %{buildroot}%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg
-mkdir -p %{buildroot}%{_sysconfdir}/xdg
+mkdir -p %{buildroot}%{_sysconfdir}/xdg/weston
install -m 644 weston/weston.ini %{buildroot}%{_sysconfdir}/xdg/weston
%post