]> git.pld-linux.org Git - packages/embryo.git/blame - embryo.spec
- x32 rebuild
[packages/embryo.git] / embryo.spec
CommitLineData
74d49767 1# NOTE: for versions >= 1.8 see efl.spec
59152d12
KK
2#
3# Conditional build:
4%bcond_without static_libs # don't build static library
5#
5aed29bc 6%define eina_ver 1.7.10
dbcf1d3f 7Summary: Enlightenment Fundation Libraries - Embryo
5536bddf 8Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Embryo
2585c38c 9Name: embryo
5aed29bc 10Version: 1.7.10
e1a0ffe1 11Release: 2
fd9e28a1 12License: BSD
27bcff7a 13Group: Libraries
30edb735 14Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
5aed29bc 15# Source0-md5: 1ed477bcc75124a143b4d86bea02c671
8921dee1 16URL: http://trac.enlightenment.org/e/wiki/Embryo
27bcff7a
JB
17BuildRequires: autoconf >= 2.52
18BuildRequires: automake >= 1.6
5aed29bc 19BuildRequires: eina-devel >= %{eina_ver}
2585c38c 20BuildRequires: libtool
fd9e28a1 21BuildRequires: pkgconfig >= 1:0.22
5aed29bc 22Requires: eina >= %{eina_ver}
2585c38c 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
24b2d257 25%undefine __cxx
26
2585c38c 27%description
28Embryo is a tiny library designed as a virtual machine to interpret a
29limited set of small compiled programs.
30
102d1ca8
JR
31%description -l pl.UTF-8
32Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do
33interpretowania ograniczonego zbioru małych skompilowanych programów.
dbcf1d3f 34
2585c38c 35%package devel
dbcf1d3f 36Summary: Embryo header files
5536bddf 37Summary(pl.UTF-8): Pliki nagłówkowe Embryo
2585c38c 38Group: Development/Libraries
dbcf1d3f 39Requires: %{name} = %{version}-%{release}
5aed29bc 40Requires: eina-devel >= %{eina_ver}
2585c38c 41
42%description devel
dbcf1d3f
JB
43Header files for Embryo.
44
102d1ca8
JR
45%description devel -l pl.UTF-8
46Pliki nagłówkowe Embryo.
2585c38c 47
48%package static
dbcf1d3f 49Summary: Static Embryo library
5536bddf 50Summary(pl.UTF-8): Statyczna biblioteka Embryo
2585c38c 51Group: Development/Libraries
dbcf1d3f 52Requires: %{name}-devel = %{version}-%{release}
2585c38c 53
54%description static
dbcf1d3f
JB
55Static Embryo library.
56
102d1ca8 57%description static -l pl.UTF-8
dbcf1d3f 58Statyczna biblioteka Embryo.
2585c38c 59
60%prep
30edb735 61%setup -q
2585c38c 62
63%build
1ad0d17c 64%{__libtoolize}
d284e2f8 65%{__aclocal} -I m4
1ad0d17c 66%{__autoconf}
67%{__autoheader}
68%{__automake}
59152d12 69%configure \
fd9e28a1 70 --disable-silent-rules \
59152d12 71 %{!?with_static_libs:--disable-static}
fd9e28a1 72%{__make}
2585c38c 73
74%install
75rm -rf $RPM_BUILD_ROOT
dbcf1d3f 76
2585c38c 77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
965ee223 88%doc AUTHORS COPYING ChangeLog NEWS README
2585c38c 89%attr(755,root,root) %{_bindir}/embryo_cc
b70b8353 90%attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
91%attr(755,root,root) %ghost %{_libdir}/libembryo.so.1
45b83e18
JB
92# for embryo_cc
93%{_datadir}/%{name}
2585c38c 94
95%files devel
96%defattr(644,root,root,755)
dbcf1d3f
JB
97%attr(755,root,root) %{_libdir}/libembryo.so
98%{_libdir}/libembryo.la
fd9e28a1 99%{_includedir}/embryo-1
2585c38c 100%{_pkgconfigdir}/embryo.pc
2585c38c 101
59152d12 102%if %{with static_libs}
2585c38c 103%files static
104%defattr(644,root,root,755)
105%{_libdir}/libembryo.a
59152d12 106%endif
This page took 0.121016 seconds and 4 git commands to generate.