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