]>
Commit | Line | Data |
---|---|---|
59152d12 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without static_libs # don't build static library | |
4 | # | |
dbcf1d3f | 5 | Summary: Enlightenment Fundation Libraries - Embryo |
102d1ca8 | 6 | Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Embryo |
2585c38c | 7 | Name: embryo |
1ad0d17c | 8 | Version: 0.9.1.036 |
09ed4942 | 9 | Release: 2 |
2585c38c | 10 | License: BSD |
11 | Group: X11/Libraries | |
ff389996 | 12 | Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz |
1ad0d17c | 13 | # Source0-md5: 40900f5441a3b050de694b68da520f38 |
cec1ee0f | 14 | URL: http://enlightenment.org/Libraries/Embryo/ |
2585c38c | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
24b2d257 | 20 | %undefine __cxx |
21 | ||
2585c38c | 22 | %description |
23 | Embryo is a tiny library designed as a virtual machine to interpret a | |
24 | limited set of small compiled programs. | |
25 | ||
102d1ca8 JR |
26 | %description -l pl.UTF-8 |
27 | Embryo to mała biblioteka zaprojektowana jako maszyna wirtualna do | |
28 | interpretowania ograniczonego zbioru małych skompilowanych programów. | |
dbcf1d3f | 29 | |
2585c38c | 30 | %package devel |
dbcf1d3f | 31 | Summary: Embryo header files |
102d1ca8 | 32 | Summary(pl.UTF-8): Pliki nagłówkowe Embryo |
2585c38c | 33 | Group: Development/Libraries |
dbcf1d3f | 34 | Requires: %{name} = %{version}-%{release} |
2585c38c | 35 | |
36 | %description devel | |
dbcf1d3f JB |
37 | Header files for Embryo. |
38 | ||
102d1ca8 JR |
39 | %description devel -l pl.UTF-8 |
40 | Pliki nagłówkowe Embryo. | |
2585c38c | 41 | |
42 | %package static | |
dbcf1d3f | 43 | Summary: Static Embryo library |
102d1ca8 | 44 | Summary(pl.UTF-8): Statyczna biblioteka Embryo |
2585c38c | 45 | Group: Development/Libraries |
dbcf1d3f | 46 | Requires: %{name}-devel = %{version}-%{release} |
2585c38c | 47 | |
48 | %description static | |
dbcf1d3f JB |
49 | Static Embryo library. |
50 | ||
102d1ca8 | 51 | %description static -l pl.UTF-8 |
dbcf1d3f | 52 | Statyczna biblioteka Embryo. |
2585c38c | 53 | |
54 | %prep | |
ff389996 | 55 | %setup -q |
2585c38c | 56 | |
57 | %build | |
1ad0d17c | 58 | %{__libtoolize} |
59 | %{__aclocal} | |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
59152d12 KK |
63 | %configure \ |
64 | %{!?with_static_libs:--disable-static} | |
2585c38c | 65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
dbcf1d3f | 69 | |
2585c38c | 70 | %{__make} install \ |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
c7f095df | 81 | %doc AUTHORS COPYING COPYING-PLAIN INSTALL README |
2585c38c | 82 | %attr(755,root,root) %{_bindir}/embryo_cc |
dbcf1d3f | 83 | %attr(755,root,root) %{_libdir}/libembryo.so.*.*.* |
2585c38c | 84 | |
85 | %files devel | |
86 | %defattr(644,root,root,755) | |
2585c38c | 87 | %attr(755,root,root) %{_bindir}/embryo-config |
dbcf1d3f JB |
88 | %attr(755,root,root) %{_libdir}/libembryo.so |
89 | %{_libdir}/libembryo.la | |
90 | %{_includedir}/Embryo* | |
2585c38c | 91 | %{_datadir}/%{name} |
92 | %{_pkgconfigdir}/embryo.pc | |
2585c38c | 93 | |
59152d12 | 94 | %if %{with static_libs} |
2585c38c | 95 | %files static |
96 | %defattr(644,root,root,755) | |
97 | %{_libdir}/libembryo.a | |
59152d12 | 98 | %endif |