]> git.pld-linux.org Git - packages/embryo.git/blob - embryo.spec
- updated to 0.9.1.038
[packages/embryo.git] / embryo.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Enlightenment Fundation Libraries - Embryo
6 Summary(pl.UTF-8):      Podstawowe biblioteki Enlightenmenta - Embryo
7 Name:           embryo
8 Version:        0.9.1.038
9 Release:        1
10 License:        BSD
11 Group:          X11/Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  f044bf2bc2e668784528a705aa290e4a
14 URL:            http://enlightenment.org/Libraries/Embryo/
15 BuildRequires:  autoconf
16 BuildRequires:  automake >= 1.4
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %undefine       __cxx
21
22 %description
23 Embryo is a tiny library designed as a virtual machine to interpret a
24 limited set of small compiled programs.
25
26 %description -l pl.UTF-8
27 Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do
28 interpretowania ograniczonego zbioru małych skompilowanych programów.
29
30 %package devel
31 Summary:        Embryo header files
32 Summary(pl.UTF-8):      Pliki nagłówkowe Embryo
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for Embryo.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe Embryo.
41
42 %package static
43 Summary:        Static Embryo library
44 Summary(pl.UTF-8):      Statyczna biblioteka Embryo
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static Embryo library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka Embryo.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         %{!?with_static_libs:--disable-static}
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS COPYING COPYING-PLAIN README
82 %attr(755,root,root) %{_bindir}/embryo_cc
83 %attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
84 # for embryo_cc
85 %{_datadir}/%{name}
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/embryo-config
90 %attr(755,root,root) %{_libdir}/libembryo.so
91 %{_libdir}/libembryo.la
92 %{_includedir}/Embryo.h
93 %{_pkgconfigdir}/embryo.pc
94
95 %if %{with static_libs}
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/libembryo.a
99 %endif
This page took 0.05972 seconds and 4 git commands to generate.