]> git.pld-linux.org Git - packages/embryo.git/blobdiff - embryo.spec
- x32 rebuild
[packages/embryo.git] / embryo.spec
index def0fce302807fa020097e7f4be60f06d156f9a6..6b8bf21f2b995ad85c76fa76f2a38c24da728c68 100644 (file)
@@ -1,20 +1,25 @@
+# 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):   Podstawowe biblioteki Enlightenmenta - Embryo
+Summary(pl.UTF-8):     Podstawowe biblioteki Enlightenmenta - Embryo
 Name:          embryo
-Version:       0.9.1.032
-Release:       1
+Version:       1.7.10
+Release:       2
 License:       BSD
-Group:         X11/Libraries
-Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 41e81058f1b839575a29ef4ac2157a35
-URL:           http://enlightenment.org/Libraries/Embryo/
-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
@@ -23,39 +28,46 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 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}
+Requires:      eina-devel >= %{eina_ver}
 
 %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
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -73,18 +85,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING COPYING-PLAIN INSTALL README
+%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)
-%attr(755,root,root) %{_bindir}/embryo-config
 %attr(755,root,root) %{_libdir}/libembryo.so
 %{_libdir}/libembryo.la
-%{_includedir}/Embryo*
-%{_datadir}/%{name}
+%{_includedir}/embryo-1
 %{_pkgconfigdir}/embryo.pc
 
 %if %{with static_libs}
This page took 0.142358 seconds and 4 git commands to generate.