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