X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=embryo.spec;h=23c880eb80f882d2e6df6c5a6d881ecf120ca462;hb=5ca41195b2bcf59f38fd30a7f4eae9ce003f97d3;hp=a4568135c8e8d5ee0af825d8ff0bab3d16333e09;hpb=fa2ec74894a05d901bb2c0bd040a1a416009031b;p=packages%2Fembryo.git diff --git a/embryo.spec b/embryo.spec index a456813..23c880e 100644 --- a/embryo.spec +++ b/embryo.spec @@ -1,48 +1,54 @@ +# +# Conditional build: +%bcond_without static_libs # don't build static library +# Summary: Enlightenment Fundation Libraries - Embryo -Summary(pl): Podstawowe biblioteki Enlightenmenta - Embryo +Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Embryo Name: embryo -Version: 0.9.1.018 -Release: 1 +Version: 0.9.9.050 +Release: 0.1 License: BSD -Group: X11/Libraries -Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz -# Source0-md5: 8d94586f64306bed42f6147cf63d6ee2 -URL: http://enlightenment.org/Libraries/Embryo/ -BuildRequires: autoconf -BuildRequires: automake +Group: Libraries +Source0: http://download.enlightenment.org/snapshots/2008-09-25/%{name}-%{version}.tar.bz2 +# Source0-md5: 6c56918b4808b7486e485e9a94d974fa +URL: http://enlightenment.org/p.php?p=about/libs/embryo +BuildRequires: autoconf >= 2.52 +BuildRequires: automake >= 1.6 BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%undefine __cxx + %description Embryo is a tiny library designed as a virtual machine to interpret a limited set of small compiled programs. -%description -l pl -Embryo to ma³a biblioteka zaprojektowana jako maszyna wirtualna do -interpretowania ograniczonego zbioru ma³ych skompilowanych programów. +%description -l pl.UTF-8 +Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do +interpretowania ograniczonego zbioru małych skompilowanych programów. %package devel Summary: Embryo header files -Summary(pl): Pliki nag³ówkowe Embryo +Summary(pl.UTF-8): Pliki nagłówkowe Embryo Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Header files for Embryo. -%description devel -l pl -Pliki nag³ówkowe Embryo. +%description devel -l pl.UTF-8 +Pliki nagłówkowe Embryo. %package static Summary: Static Embryo library -Summary(pl): Statyczna biblioteka Embryo +Summary(pl.UTF-8): Statyczna biblioteka Embryo Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static Embryo library. -%description static -l pl +%description static -l pl.UTF-8 Statyczna biblioteka Embryo. %prep @@ -54,7 +60,8 @@ Statyczna biblioteka Embryo. %{__autoconf} %{__autoheader} %{__automake} -%configure +%configure \ + %{!?with_static_libs:--disable-static} %{__make} %install @@ -71,20 +78,22 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS COPYING COPYING-PLAIN INSTALL README +%doc AUTHORS COPYING COPYING-PLAIN README %attr(755,root,root) %{_bindir}/embryo_cc -%attr(755,root,root) %{_bindir}/embryo %attr(755,root,root) %{_libdir}/libembryo.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libembryo.so.0 +# for embryo_cc +%{_datadir}/%{name} %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/embryo-config %attr(755,root,root) %{_libdir}/libembryo.so %{_libdir}/libembryo.la -%{_includedir}/Embryo* -%{_datadir}/%{name} +%{_includedir}/Embryo.h %{_pkgconfigdir}/embryo.pc +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/libembryo.a +%endif