]> git.pld-linux.org Git - packages/eina.git/blob - eina.spec
- 1.0.0 is now stable
[packages/eina.git] / eina.spec
1 #
2 # Conditional build:
3 %bcond_without  mmx             # without MMX and MMX2
4 %bcond_without  sse             # without SSE
5 %bcond_without  altivec         # without altivec
6 %bcond_without  static_libs     # don't build static library
7 #
8 %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
9 %undefine       with_mmx
10 %endif
11 %ifnarch i686 pentium3 pentium4 athlon %{x8664}
12 %undefine       with_sse
13 %endif
14 %ifnarch ppc
15 %undefine       with_altivec
16 %endif
17
18 Summary:        Data types library (list, hash, etc.)
19 Summary(pl.UTF-8):      Biblioteka struktur danych (lista, hasz, itp.)
20 Name:           eina
21 Version:        1.0.0
22 Release:        1
23 License:        LGPL v2.1
24 Group:          Libraries
25 Source0:        http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
26 # Source0-md5:  036243f1f8cf2e725a326d45603417a3
27 URL:            http://trac.enlightenment.org/e/wiki/Eina
28 BuildRequires:  pkgconfig
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Data types library (list, hash, etc.)
33
34 %description -l pl.UTF-8
35 Bilblioteka struktur danych (lista, hasz, itp.).
36
37 %package devel
38 Summary:        Eina header files
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Eina
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42
43 %description devel
44 Header files for Eina.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki Eina.
48
49 %package static
50 Summary:        Static Eina library
51 Summary(pl.UTF-8):      Statyczna biblioteka Eina
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static Eina library.
57
58 %description static -l pl.UTF-8
59 Statyczna biblioteka Eina.
60
61 %prep
62 %setup -q
63
64 %build
65 %configure \
66         --disable-silent-rules \
67         %{?with_static_libs:--enable-static} \
68         --enable-cpu-mmx%{!?with_mmx:=no} \
69         --enable-cpu-sse%{!?with_sse:=no} \
70         --enable-cpu-altivec%{!?with_altives:=no}
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc AUTHORS README
89 %attr(755,root,root) %{_libdir}/libeina.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libeina.so.1
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libeina.so
95 %{_libdir}/libeina.la
96 %{_includedir}/eina-1
97 %{_pkgconfigdir}/eina.pc
98
99 %if %{with static_libs}
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libeina.a
103 %endif
This page took 0.094226 seconds and 3 git commands to generate.