Merge "[elm_label]Removed deprecated API TC"
[framework/uifw/elementary.git] / packaging / elementary.spec
1 Name:       elementary
2 Summary:    EFL toolkit for small touchscreens
3 Version:    0.7.0.svn61256
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    LGPL
7 URL:        http://trac.enlightenment.org/e/wiki/Elementary
8 Source0:    %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires:  pkgconfig(ecore)
12 BuildRequires:  pkgconfig(ecore-evas)
13 BuildRequires:  pkgconfig(ecore-fb)
14 BuildRequires:  pkgconfig(ecore-file)
15 BuildRequires:  pkgconfig(ecore-imf)
16 BuildRequires:  pkgconfig(ecore-x)
17 BuildRequires:  pkgconfig(edbus)
18 BuildRequires:  pkgconfig(edje)
19 BuildRequires:  pkgconfig(eet)
20 BuildRequires:  pkgconfig(efreet)
21 BuildRequires:  pkgconfig(eina)
22 BuildRequires:  pkgconfig(ethumb)
23 BuildRequires:  pkgconfig(evas)
24 BuildRequires:  pkgconfig(libxml-2.0)
25 BuildRequires:  pkgconfig(x11)
26 BuildRequires:  pkgconfig(icu-i18n)
27 BuildRequires:  edje-tools
28 BuildRequires:  embryo
29 BuildRequires:  eet-tools
30 BuildRequires:  libjpeg-devel
31 BuildRequires:  desktop-file-utils
32
33 %description
34 Elementary - a basic widget set that is easy to use based on EFL for mobile This package contains devel content.
35
36 %package devel
37 Summary:    EFL toolkit (devel)
38 Group:      Development/Libraries
39 Requires:   %{name} = %{version}-%{release}
40
41 %description devel
42 EFL toolkit for small touchscreens (devel)
43
44 %package tools
45 Summary:    EFL toolkit (tools)
46 Group:      Development/Tools
47 Requires:   %{name} = %{version}-%{release}
48 Provides:   %{name}-bin
49 Obsoletes:  %{name}-bin
50
51 %description tools
52 EFL toolkit for small touchscreens (tools)
53
54
55 %prep
56 %setup -q
57
58 %build
59
60 %autogen --disable-static
61 make %{?jobs:-j%jobs}
62
63 %install
64 rm -rf %{buildroot}
65 %make_install
66
67 desktop-file-install --delete-original       \
68   --dir %{buildroot}%{_datadir}/applications             \
69    %{buildroot}%{_datadir}/applications/*.desktop
70
71
72 %post -p /sbin/ldconfig
73
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(-,root,root,-)
78 /usr/lib/*.so.0
79 /usr/share/elementary/images/*
80 /usr/share/elementary/config/default/*
81 /usr/share/elementary/config/illume/*
82 /usr/share/elementary/config/standard/*
83 /usr/share/elementary/config/profile.cfg
84 /usr/lib/elementary/modules/*/*/*.so
85 /usr/lib/libelementary*.so.*
86 /usr/share/applications/*.desktop
87 /usr/share/elementary/objects/*.edj
88 /usr/share/elementary/edje_externals/*.edj
89 /usr/share/icons/elementary.png
90 /usr/share/elementary/themes/*.edj
91 /usr/share/elementary/config/slp/*
92 /usr/lib/edje/modules/elm/*/module.so
93
94 %files devel
95 %defattr(-,root,root,-)
96 /usr/include/elementary-0/*.h
97 /usr/lib/libelementary.so
98 /usr/lib/pkgconfig/elementary.pc
99
100 %files tools
101 %defattr(-,root,root,-)
102 /usr/bin/elementary_*
103 /usr/lib/elementary_testql.so
104