1
#
2
# spec file for creating RPM packages from meegotouch-theme for MeeGo
3
#
4
5
Name:          meegotouch-theme
6
Summary:       Theme for Meego Touch based applications
7
Version:       0.20.2
8
Release:       1%{?dist}
9
Group:         User Interface/Desktops
10
License:       LGPL v2.1
11
BuildArch:     noarch
12
URL:           http://qt.gitorious.org/maemo-6-ui-framework/duitheme
13
Source0:       %{name}-%{version}.tar.bz2
14
# Source1:     mthemedaemon.desktop
15
# Source100:   meegotouch-theme-common.yaml
16
17
Requires:       libmeegotouch >= 0.20.0
18
BuildRequires:  pkgconfig(Qt)
19
20
%description
21
Theme required by any MeeGo Touch library based application.
22
Contains the base theme files and two alternative themes with a different look.
23
24
25
%prep
26
%setup -q -n %{name}-%{version}
27
28
29
%build
30
unset LD_AS_NEEDED
31
qmake-qt4 install_prefix=/usr
32
33
make %{?jobs:-j%jobs}
34
35
36
%install
37
rm -rf %{buildroot}
38
39
export INSTALL_ROOT=%{buildroot}
40
%make_install
41
42
# mkdir -p %{buildroot}/etc/xdg/autostart
43
# cp %{SOURCE1} %{buildroot}/etc/xdg/autostart
44
45
46
%files
47
%defattr(-, root, root, -)
48
/usr/share/themes/base
49
/usr/share/themes/devel
50
/usr/share/themes/plankton
51
# /etc/xdg/autostart/mthemedaemon.desktop