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: a52682ebfd04a0e787028732ee8f11f9
14 URL: http://trac.enlightenment.org/e/wiki/Embryo
15 BuildRequires: autoconf >= 2.52
16 BuildRequires: automake >= 1.6
17 BuildRequires: eina-devel >= 1.7.5
18 BuildRequires: libtool
19 BuildRequires: pkgconfig >= 1:0.22
20 Requires: eina >= 1.7.5
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Embryo is a tiny library designed as a virtual machine to interpret a
27 limited set of small compiled programs.
29 %description -l pl.UTF-8
30 Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do
31 interpretowania ograniczonego zbioru małych skompilowanych programów.
34 Summary: Embryo header files
35 Summary(pl.UTF-8): Pliki nagłówkowe Embryo
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: eina-devel >= 1.7.5
41 Header files for Embryo.
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe Embryo.
47 Summary: Static Embryo library
48 Summary(pl.UTF-8): Statyczna biblioteka Embryo
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 Static Embryo library.
55 %description static -l pl.UTF-8
56 Statyczna biblioteka Embryo.
68 --disable-silent-rules \
69 %{!?with_static_libs:--disable-static}
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %doc AUTHORS COPYING ChangeLog NEWS README
87 %attr(755,root,root) %{_bindir}/embryo_cc
88 %attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
89 %attr(755,root,root) %ghost %{_libdir}/libembryo.so.1
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libembryo.so
96 %{_libdir}/libembryo.la
97 %{_includedir}/embryo-1
98 %{_pkgconfigdir}/embryo.pc
100 %if %{with static_libs}
102 %defattr(644,root,root,755)
103 %{_libdir}/libembryo.a