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