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