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