3 %bcond_without static_libs # don't build static library
5 Summary: Enlightenment Fundation Libraries - Embryo
6 Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Embryo
12 Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
13 # Source0-md5: 12f6c7d1d39c223d412351594a24dc64
14 URL: http://enlightenment.org/p.php?p=about/libs/embryo
15 BuildRequires: autoconf >= 2.52
16 BuildRequires: automake >= 1.6
17 BuildRequires: libtool
18 BuildRequires: pkgconfig >= 1:0.22
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Embryo is a tiny library designed as a virtual machine to interpret a
25 limited set of small compiled programs.
27 %description -l pl.UTF-8
28 Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do
29 interpretowania ograniczonego zbioru małych skompilowanych programów.
32 Summary: Embryo header files
33 Summary(pl.UTF-8): Pliki nagłówkowe Embryo
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Header files for Embryo.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe Embryo.
44 Summary: Static Embryo library
45 Summary(pl.UTF-8): Statyczna biblioteka Embryo
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static Embryo library.
52 %description static -l pl.UTF-8
53 Statyczna biblioteka Embryo.
65 --disable-silent-rules \
66 %{!?with_static_libs:--disable-static}
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %defattr(644,root,root,755)
83 %doc AUTHORS COPYING ChangeLog README
84 %attr(755,root,root) %{_bindir}/embryo_cc
85 %attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libembryo.so.1
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libembryo.so
93 %{_libdir}/libembryo.la
94 %{_includedir}/embryo-1
95 %{_pkgconfigdir}/embryo.pc
97 %if %{with static_libs}
99 %defattr(644,root,root,755)
100 %{_libdir}/libembryo.a