3 %bcond_without static_libs # don't build static library
5 Summary: Enlightenment Fundation Libraries - Embryo
6 Summary(pl): Podstawowe biblioteki Enlightenmenta - Embryo
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 40900f5441a3b050de694b68da520f38
14 URL: http://enlightenment.org/Libraries/Embryo/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Embryo is a tiny library designed as a virtual machine to interpret a
24 limited set of small compiled programs.
27 Embryo to ma³a biblioteka zaprojektowana jako maszyna wirtualna do
28 interpretowania ograniczonego zbioru ma³ych skompilowanych programów.
31 Summary: Embryo header files
32 Summary(pl): Pliki nag³ówkowe Embryo
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Header files for Embryo.
39 %description devel -l pl
40 Pliki nag³ówkowe Embryo.
43 Summary: Static Embryo library
44 Summary(pl): Statyczna biblioteka Embryo
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static Embryo library.
51 %description static -l pl
52 Statyczna biblioteka Embryo.
64 %{!?with_static_libs:--disable-static}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
82 %attr(755,root,root) %{_bindir}/embryo_cc
83 %attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/embryo-config
88 %attr(755,root,root) %{_libdir}/libembryo.so
89 %{_libdir}/libembryo.la
90 %{_includedir}/Embryo*
92 %{_pkgconfigdir}/embryo.pc
94 %if %{with static_libs}
96 %defattr(644,root,root,755)
97 %{_libdir}/libembryo.a