]> git.pld-linux.org Git - packages/embryo.git/blob - embryo.spec
- up to 0.9.1.032
[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.032
9 Release:        1
10 License:        BSD
11 Group:          X11/Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  41e81058f1b839575a29ef4ac2157a35
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 %undefine       __cxx
21
22 %description
23 Embryo is a tiny library designed as a virtual machine to interpret a
24 limited set of small compiled programs.
25
26 %description -l pl
27 Embryo to ma³a biblioteka zaprojektowana jako maszyna wirtualna do
28 interpretowania ograniczonego zbioru ma³ych skompilowanych programów.
29
30 %package devel
31 Summary:        Embryo header files
32 Summary(pl):    Pliki nag³ówkowe Embryo
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for Embryo.
38
39 %description devel -l pl
40 Pliki nag³ówkowe Embryo.
41
42 %package static
43 Summary:        Static Embryo library
44 Summary(pl):    Statyczna biblioteka Embryo
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static Embryo library.
50
51 %description static -l pl
52 Statyczna biblioteka Embryo.
53
54 %prep
55 %setup -q
56
57 %build
58 %configure \
59         %{!?with_static_libs:--disable-static}
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
77 %attr(755,root,root) %{_bindir}/embryo_cc
78 %attr(755,root,root) %{_bindir}/embryo
79 %attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/embryo-config
84 %attr(755,root,root) %{_libdir}/libembryo.so
85 %{_libdir}/libembryo.la
86 %{_includedir}/Embryo*
87 %{_datadir}/%{name}
88 %{_pkgconfigdir}/embryo.pc
89
90 %if %{with static_libs}
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/libembryo.a
94 %endif
This page took 0.308948 seconds and 3 git commands to generate.