Update spec file
[framework/uifw/embryo.git] / packaging / embryo.spec
1 Name:       embryo
2 Summary:    A small virtual machine engine (in a library) and bytecode compiler
3 Version:    1.0.999.svn60294
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    TO BE FILLED IN
7 URL:        http://www.enlightenment.org/
8 Source0:    %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: pkgconfig(eina)
12 Provides: embryo-bin
13
14
15 %description
16 Development files for libembryo0 Embryo is primarily a shared library that gives you an API to load
17  and control interpreted programs compiled into an abstract machine
18  bytecode that it understands.  This abstract (or virtual) machine is
19  similar to a real machine with a CPU, but it is emulated in
20  software.
21  .
22  This packages contains headers and static libraries for Embryo.
23
24
25
26 %package devel
27 Summary:    A small virtual machine engine and bytecode compile (devel)
28 Group:      Development/Libraries
29 Requires:   %{name} = %{version}-%{release}
30
31 %description devel
32 A small virtual machine engine (in a library) and bytecode compile (devel)
33
34 %prep
35 %setup -q
36
37
38 %build
39
40 %autogen --disable-static
41 %configure --disable-static
42 make %{?jobs:-j%jobs}
43
44 %install
45 %make_install
46
47 %post -p /sbin/ldconfig
48
49 %postun -p /sbin/ldconfig
50
51 %files
52 %defattr(-,root,root,-)
53 %{_libdir}/libembryo.so.*
54 /usr/bin/embryo_cc
55 /usr/share/embryo/include/default.inc
56
57
58 %files devel
59 %defattr(-,root,root,-)
60 %{_includedir}/embryo-1/Embryo.h
61 %{_libdir}/libembryo.so
62 %{_libdir}/pkgconfig/*.pc
63
64