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