Merge branch 'intefl/svn_merge' of ssh://165.213.149.219:29418/slp/pkgs/e/elementary...
[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}/*.a
74 %{_libdir}/*.la
75 %{_libdir}/*.so
76 %{_libdir}/libelementary*.so.*
77 %{_libdir}/edje/modules/elm/*/module.la
78 %{_libdir}/edje/modules/elm/*/module.so
79 %{_datadir}/locale/*/LC_MESSAGES/elementary.mo
80
81 %files devel
82 %defattr(-, root, root)
83 %doc doc/html
84 %{_libdir}/elementary/modules/*/*/module.*
85
86 %{_libdir}/pkgconfig/*
87 %{_includedir}/elementary-0/*.h
88
89 %files bin
90 %defattr(-, root, root)
91 %{_bindir}/*
92 %{_datadir}/applications/*.desktop
93 %{_datadir}/elementary/config/*.cfg
94 %{_datadir}/elementary/config/default/*
95 %{_datadir}/elementary/config/illume/*
96 %{_datadir}/elementary/config/standard/*
97 %{_datadir}/elementary/config/slp/*
98 %{_datadir}/elementary/edje_externals/*
99 %{_datadir}/elementary/images/*
100 %{_datadir}/elementary/objects/*
101 %{_datadir}/elementary/themes/*
102 %{_datadir}/icons/elementary.png
103
104 %changelog