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