New embryo function: get_program_id
[platform/upstream/edje.git] / edje.spec.in
1 %define _missing_doc_files_terminate_build 0
2
3 %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
4
5 Summary: Complex Graphical Design/Layout Engine
6 Name: @PACKAGE@
7 Version: @VERSION@
8 Release: %{_rel}
9 License: BSD
10 Group: System Environment/Libraries
11 URL: http://www.enlightenment.org/
12 Source: ftp://ftp.enlightenment.org/pub/evoak/%{name}-%{version}.tar.gz
13 Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.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: eet-devel, embryo-devel, evas-devel, ecore-devel, lua-devel
18 Requires:  evas-module_loader_eet
19 BuildRoot: %{_tmppath}/%{name}-%{version}-root
20
21 %description
22 Edje is a complex graphical design and layout engine. It provides a
23 mechanism for allowing configuration data to define visual elements in
24 terms of layout, behavior, and appearance.  Edje allows for multiple
25 collections of layouts in one file, allowing a complete set of images,
26 animations, and controls to exist as a unified whole.
27
28 Edje separates the arrangement, appearance, and behavior logic into
29 distinct independent entities.  This allows visual objects to share
30 image data and configuration information without requiring them to do
31 so.  This separation and simplistic event driven style of programming
32 can produce almost any look and feel one could want for basic visual
33 elements. Anything more complex is likely the domain of an application
34 or widget set that may use Edje as a conveneient way of being able to
35 configure parts of the display.
36
37 %package devel
38 Summary: Edje headers, static libraries, documentation and test programs
39 Group: System Environment/Libraries
40 Requires: %{name} = %{version}, %{name}-bin = %{version}
41 Requires: eet-devel embryo-devel evas-devel ecore-devel lua-devel
42
43 %description devel
44 Headers, static libraries, test programs and documentation for Edje
45
46 %package bin
47 Summary: Edje file compiler/decompiler suite
48 Group: System Environment/Libraries
49 Requires: %{name} = %{version}
50 Requires: embryo-bin
51 Requires: evas-module_saver_eet, evas-module_loader_png, evas-module_saver_png
52 Requires: evas-module_loader_jpeg, evas-module_saver_jpeg, evas-module_engine_buffer
53
54 %description bin
55 Edje file compiler/decompiler suite
56
57 %prep
58 %setup -q
59
60 %build
61 %{configure} --prefix=%{_prefix}
62 %{__make} %{?_smp_mflags} %{?mflags}
63
64 %install
65 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
66 test -x `which doxygen` && sh gendoc || :
67
68 %post
69 /sbin/ldconfig || :
70
71 %postun
72 /sbin/ldconfig || :
73
74 %clean
75 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(-, root, root)
79 %doc AUTHORS COPYING README
80 %{_libdir}/libedje*.so.*
81
82 %files devel
83 %defattr(-, root, root)
84 %{_libdir}/*.so
85 %{_libdir}/*.la
86 %{_libdir}/*.a
87 %{_libdir}/pkgconfig/*
88 %{_includedir}/edje-1/*.h
89 %{_libdir}/edje/utils/epp
90 %{_datadir}/edje/examples
91
92 %files bin
93 %defattr(-, root, root)
94 %{_bindir}/edje_cc
95 %{_bindir}/edje_decc
96 %{_bindir}/edje_recc
97 %{_bindir}/edje_player
98 %{_bindir}/edje_external_inspector
99 %{_bindir}/edje_inspector
100 %{_bindir}/edje_watch
101 %{_bindir}/inkscape2edc
102 %{_datadir}/edje/include/edje.inc
103 %{_datadir}/mime/packages/edje.xml
104
105 %changelog