X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=embryo.spec;h=6b8bf21f2b995ad85c76fa76f2a38c24da728c68;hb=e1a0ffe1bb119f37b519db3ea68fca3e5d9fc1ec;hp=846588591e8c915e71cd31fbc7234eb8e6be193f;hpb=2585c38cea4307a80b962948a4f469f2ee72a8f1;p=packages%2Fembryo.git diff --git a/embryo.spec b/embryo.spec index 8465885..6b8bf21 100644 --- a/embryo.spec +++ b/embryo.spec @@ -1,53 +1,79 @@ -Summary: Enlightenment Fundation Libraries - embryo +# NOTE: for versions >= 1.8 see efl.spec +# +# Conditional build: +%bcond_without static_libs # don't build static library +# +%define eina_ver 1.7.10 +Summary: Enlightenment Fundation Libraries - Embryo +Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Embryo Name: embryo -Version: 0.9.1 -%define _snap 20050105 -Release: 0.%{_snap}.0.1 +Version: 1.7.10 +Release: 2 License: BSD -Group: X11/Libraries -#Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz -Source0: ftp://ftp.sparky.homelinux.org/pub/e17/%{name}-%{version}-%{_snap}.tar.gz -# Source0-md5: f92d19c71263a9b5560206966357a6b6 -URL: http://enlightenment.org/ -BuildRequires: autoconf -BuildRequires: automake +Group: Libraries +Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 +# Source0-md5: 1ed477bcc75124a143b4d86bea02c671 +URL: http://trac.enlightenment.org/e/wiki/Embryo +BuildRequires: autoconf >= 2.52 +BuildRequires: automake >= 1.6 +BuildRequires: eina-devel >= %{eina_ver} BuildRequires: libtool +BuildRequires: pkgconfig >= 1:0.22 +Requires: eina >= %{eina_ver} 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.UTF-8 +Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do +interpretowania ograniczonego zbioru małych skompilowanych programów. + %package devel -Summary: Embryo headers, documentation and test programs +Summary: Embryo header files +Summary(pl.UTF-8): Pliki nagłówkowe Embryo Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} +Requires: eina-devel >= %{eina_ver} %description devel -Headers, test programs and documentation for Embryo. +Header files for Embryo. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe Embryo. %package static -Summary: Static libraries +Summary: Static Embryo library +Summary(pl.UTF-8): Statyczna biblioteka Embryo Group: Development/Libraries -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{version}-%{release} %description static -Static libraries. +Static Embryo library. + +%description static -l pl.UTF-8 +Statyczna biblioteka Embryo. %prep -%setup -q -n %{name} +%setup -q %build %{__libtoolize} -%{__aclocal} +%{__aclocal} -I m4 %{__autoconf} %{__autoheader} %{__automake} -%configure +%configure \ + --disable-silent-rules \ + %{!?with_static_libs:--disable-static} %{__make} %install rm -rf $RPM_BUILD_ROOT + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT @@ -59,21 +85,22 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS COPYING* README -%attr(755,root,root) %{_libdir}/libembryo.so.* +%doc AUTHORS COPYING ChangeLog NEWS 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.1 +# for embryo_cc +%{_datadir}/%{name} %files devel %defattr(644,root,root,755) -%{_libdir}/libembryo.la %attr(755,root,root) %{_libdir}/libembryo.so -%attr(755,root,root) %{_bindir}/embryo-config -%{_datadir}/%{name} +%{_libdir}/libembryo.la +%{_includedir}/embryo-1 %{_pkgconfigdir}/embryo.pc -%{_includedir}/Embryo* - +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/libembryo.a +%endif