Add default Smack manifest for embryo.spec
[framework/uifw/embryo.git] / embryo.spec.in
1 %define _missing_doc_files_terminate_build 0
2
3 %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
4
5 Summary: A small virtual machine engine (in a library) and bytecode compiler
6 Name: @PACKAGE@
7 Version: @VERSION@
8 Release: %{_rel}
9 License: BSD
10 Group: System Environment/Libraries
11 Source: %{name}-%{version}.tar.gz
12 Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
13 Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
14 Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
15 URL: http://www.enlightenment.org/
16 BuildRoot: %{_tmppath}/%{name}-%{version}-root
17
18 %description
19 Embryo is a tiny library designed as a virtual machine to interpret a
20 limited set of small compiled programs.
21
22 %package devel
23 Summary: Embryo headers, static libraries, documentation and test programs
24 Group: System Environment/Libraries
25 Requires: %{name} = %{version}
26
27 %description devel
28 Headers, static libraries, test programs and documentation for Embryo
29
30 %package bin
31 Summary: Embryo bytecode compiler and needed data files
32 Group: System Environment/Libraries
33 Requires: %{name} = %{version}
34
35 %description bin
36 The embryo bytecode compiler and its files
37
38 %prep
39 %setup -q
40
41 %build
42 %{configure} --prefix=%{_prefix}
43 ### use this if you have build problems
44 #./configure --prefix=%{_prefix}
45 %{__make} %{?_smp_mflags} %{?mflags}
46
47 %install
48 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
49
50 %clean
51 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
52
53 %post
54 /sbin/ldconfig
55
56 %postun
57 /sbin/ldconfig
58
59 %files
60 %defattr(-, root, root)
61 %doc AUTHORS COPYING* README
62 %{_libdir}/*.so.*
63
64 %files bin
65 %defattr(-, root, root)
66 %attr(755,root,root) %{_bindir}/embryo_cc
67 %{_datadir}/embryo/include
68
69 %files devel
70 %defattr(-, root, root)
71 %{_libdir}/*.so
72 %{_libdir}/*.la
73 %{_libdir}/*.a
74 %{_libdir}/pkgconfig/*
75 %{_includedir}/embryo-1/*.h
76
77 %changelog