Merge branch 'master' into svn_merge
[framework/uifw/elementary.git] / elementary.spec.in
1 %define _missing_doc_files_terminate_build 0
2
3 %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
4
5 Summary: EFL toolkit for small touchscreens
6 Name: @PACKAGE@
7 Version: @VERSION@
8 Release: %{_rel}
9 License: Lesser GPL
10 Group: System Environment/Libraries
11 URL: http://trac.enlightenment.org/e/wiki/Elementary
12 Source: %{name}-%{version}.tar.gz
13 Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Miguel Silva Seabra <rms@1407.org>}
14 Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
15 Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
16 #BuildSuggests: xorg-x11-devel, vim-enhanced
17 BuildRequires: evas-devel
18 Requires:  evas
19 BuildRoot: %{_tmppath}/%{name}-%{version}-root
20
21 %description
22 Elementary is a widget set. It is a new-style of widget set much more canvas
23 object based than anything else. Why not ETK? Why not EWL? Well they both
24 tend to veer away from the core of Evas, Ecore and Edje a lot to build their
25 own worlds. Also I wanted something focused on embedded devices -
26 specifically small touchscreens. Unlike GTK+ and Qt, 75% of the "widget set"
27 is already embodied in a common core - Ecore, Edje, Evas etc. So this
28 fine-grained library splitting means all of this is shared, just a new
29 widget "personality" is on top. And that is... Elementary, my dear watson.
30 Elementary.
31
32 %package devel
33 Summary: Elementary headers, static libraries, documentation and test programs
34 Group: System Environment/Libraries
35 Requires: %{name} = %{version}, %{name}-bin = %{version}
36 Requires: evas-devel
37
38 %description devel
39 Headers, static libraries, test programs and documentation for Elementary
40
41 %package bin
42 Summary: Elementary file compiler/decompiler suite
43 Group: System Environment/Libraries
44 Requires: %{name} = %{version}
45 Requires: elementary
46
47 %description bin
48 Elmementary programs
49
50 %prep
51 %setup -q
52
53 %build
54 %{configure} --prefix=%{_prefix}
55 %{__make} %{?_smp_mflags} %{?mflags}
56
57 %install
58 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
59 test -x `which doxygen` && sh gendoc || :
60
61 %post
62 /sbin/ldconfig || :
63
64 %postun
65 /sbin/ldconfig || :
66
67 %clean
68 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(-, root, root)
72 %doc AUTHORS COPYING README
73 %{_libdir}/libelementary*.so.*
74 %{_datadir}/locale/*/LC_MESSAGES/elementary.mo
75
76 %files devel
77 %defattr(-, root, root)
78 %doc doc/html
79 %{_libdir}/*.so
80 %{_libdir}/*.la
81 %{_libdir}/*.a
82 %{_libdir}/edje/modules/elm/*/module.so
83 %{_libdir}/edje/modules/elm/*/module.la
84 %{_libdir}/elementary/modules/test_*/*/module.*
85 %{_libdir}/pkgconfig/*
86 %{_includedir}/elementary-0/*.h
87 %{_libdir}/edje/*.so
88 %{_libdir}/edje/*.la
89 %{_includedir}/*.h
90
91 %files bin
92 %defattr(-, root, root)
93 %{_bindir}/*
94 %{_datadir}/applications/*.desktop
95 %{_datadir}/elementary/config/*.cfg
96 %{_datadir}/elementary/config/default/*
97 %{_datadir}/elementary/config/illume/*
98 %{_datadir}/elementary/config/standard/*
99 %{_datadir}/elementary/config/slp/*
100 %{_datadir}/elementary/edje_externals/*
101 %{_datadir}/elementary/images/*
102 %{_datadir}/elementary/objects/*
103 %{_datadir}/elementary/themes/*
104 %{_datadir}/icons/elementary.png
105
106 %changelog