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