Modify code to control setting indicator mode
[framework/uifw/elementary.git] / packaging / elementary.spec
1 #sbs-git:slp/pkgs/e/elementary elementary 1.0.0+svn.70492slp2+build11
2 Name:       elementary
3 Summary:    EFL toolkit for small touchscreens
4 Version:    1.0.0+svn.70492slp2+build23
5 Release:    1
6 Group:      System/Libraries
7 License:    LGPLv2.1
8 URL:        http://trac.enlightenment.org/e/wiki/Elementary
9 Source0:    %{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires:  gettext
13 BuildRequires:  edje-tools
14 BuildRequires:  eet-tools
15 BuildRequires:  eina-devel
16 BuildRequires:  eet-devel
17 BuildRequires:  evas-devel
18 BuildRequires:  ecore-devel
19 BuildRequires:  edje-devel
20 BuildRequires:  edbus-devel
21 BuildRequires:  efreet-devel
22 BuildRequires:  ethumb-devel
23 BuildRequires:  emotion-devel
24 BuildRequires:  app-svc-devel
25 BuildRequires:  libx11-devel
26
27 %description
28 Elementary - a basic widget set that is easy to use based on EFL for mobile This package contains devel content.
29
30 %package devel
31 Summary:    EFL toolkit (devel)
32 Group:      Development/Libraries
33 Requires:   %{name} = %{version}-%{release}
34
35 %description devel
36 EFL toolkit for small touchscreens (devel)
37
38 %package tools
39 Summary:    EFL toolkit (tools)
40 Group:      Development/Tools
41 Requires:   %{name} = %{version}-%{release}
42 Provides:   %{name}-bin
43 Obsoletes:  %{name}-bin
44
45 %description tools
46 EFL toolkit for small touchscreens (tools)
47
48 %prep
49 %setup -q
50
51 %build
52 export CFLAGS+=" -fPIC -Wall"
53 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
54
55 %autogen --disable-static
56 %configure --disable-static \
57         --enable-dependency-tracking \
58         --disable-web
59
60 make %{?jobs:-j%jobs}
61
62 %install
63 rm -rf %{buildroot}
64 %make_install
65
66 %post -p /sbin/ldconfig
67
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(-,root,root,-)
72 /usr/lib/libelementary*
73 /usr/lib/elementary/modules/*/*/*.so
74 /usr/lib/edje/modules/elm/*/module.so
75 /usr/share/elementary/*
76 /usr/share/icons/*
77 /usr/share/locale/*
78 #exclude *.desktop files
79 %exclude /usr/share/applications/*
80
81 %files devel
82 %defattr(-,root,root,-)
83 /usr/include/*
84 /usr/lib/libelementary.so
85 /usr/lib/pkgconfig/elementary.pc
86
87 %files tools
88 %defattr(-,root,root,-)
89 /usr/bin/elementary_*
90 /usr/lib/elementary_testql.so
91