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