Elementary migration revision 70492
[framework/uifw/elementary.git] / packaging / elementary.spec
1 #sbs-git:slp/pkgs/e/elementary elementary 1.0.0+svn.67547slp2+build16 598cc91bf431f150cf48064ab672b1e4df5dc4a2
2 Name:       elementary
3 Summary:    EFL toolkit for small touchscreens
4 Version:    1.0.0+svn.70375slp2+build01
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:  pkgconfig(ecore)
13 BuildRequires:  pkgconfig(ecore-evas)
14 BuildRequires:  pkgconfig(ecore-fb)
15 BuildRequires:  pkgconfig(ecore-file)
16 BuildRequires:  pkgconfig(ecore-imf)
17 BuildRequires:  pkgconfig(ecore-x)
18 BuildRequires:  pkgconfig(edbus)
19 BuildRequires:  pkgconfig(edje)
20 BuildRequires:  pkgconfig(eet)
21 BuildRequires:  pkgconfig(efreet)
22 BuildRequires:  pkgconfig(eina)
23 BuildRequires:  pkgconfig(ethumb)
24 BuildRequires:  pkgconfig(evas)
25 BuildRequires:  pkgconfig(appsvc)
26 BuildRequires:  pkgconfig(libxml-2.0)
27 BuildRequires:  pkgconfig(x11)
28 BuildRequires:  pkgconfig(icu-i18n)
29 BuildRequires:  edje-tools
30 BuildRequires:  embryo
31 BuildRequires:  eet-tools
32 BuildRequires:  libjpeg-devel
33 BuildRequires:  desktop-file-utils
34
35 %description
36 Elementary - a basic widget set that is easy to use based on EFL for mobile This package contains devel content.
37
38 %package devel
39 Summary:    EFL toolkit (devel)
40 Group:      Development/Libraries
41 Requires:   %{name} = %{version}-%{release}
42
43 %description devel
44 EFL toolkit for small touchscreens (devel)
45
46 %package tools
47 Summary:    EFL toolkit (tools)
48 Group:      Development/Tools
49 Requires:   %{name} = %{version}-%{release}
50 Provides:   %{name}-bin
51 Obsoletes:  %{name}-bin
52
53 %description tools
54 EFL toolkit for small touchscreens (tools)
55
56
57 %prep
58 %setup -q
59
60 %build
61 export CFLAGS+=" -fPIC -Wall"
62 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
63
64 %autogen --disable-static
65 %configure --disable-static \
66         --enable-dependency-tracking \
67         --disable-web
68
69 make %{?jobs:-j%jobs}
70
71 %install
72 rm -rf %{buildroot}
73 %make_install
74
75 desktop-file-install --delete-original       \
76   --dir %{buildroot}%{_datadir}/applications             \
77    %{buildroot}%{_datadir}/applications/*.desktop
78
79
80 %post -p /sbin/ldconfig
81
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(-,root,root,-)
86 /usr/lib/libelementary*
87 /usr/lib/elementary/modules/*/*/*.so
88 /usr/lib/edje/modules/elm/*/module.so
89 /usr/share/*
90
91 %files devel
92 %defattr(-,root,root,-)
93 /usr/include/*
94 /usr/lib/libelementary.so
95 /usr/lib/pkgconfig/elementary.pc
96
97 %files tools
98 %defattr(-,root,root,-)
99 /usr/bin/elementary_*
100 /usr/lib/elementary_testql.so
101