]> git.pld-linux.org Git - packages/eina.git/blame - eina.spec
- 1.0.0 is now stable
[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
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
a464224c 18Summary: Data types library (list, hash, etc.)
735af905 19Summary(pl.UTF-8): Biblioteka struktur danych (lista, hasz, itp.)
626e1e76 20Name: eina
a464224c 21Version: 1.0.0
16358d8d 22Release: 1
626e1e76 23License: LGPL v2.1
24Group: Libraries
16358d8d 25Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
26# Source0-md5: 036243f1f8cf2e725a326d45603417a3
a464224c
JB
27URL: http://trac.enlightenment.org/e/wiki/Eina
28BuildRequires: pkgconfig
626e1e76 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
a464224c 32Data types library (list, hash, etc.)
626e1e76 33
34%description -l pl.UTF-8
a464224c 35Bilblioteka struktur danych (lista, hasz, itp.).
626e1e76 36
37%package devel
38Summary: Eina header files
a464224c 39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eina
626e1e76 40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Header files for Eina.
45
46%description devel -l pl.UTF-8
a464224c 47Pliki nagłówkowe biblioteki Eina.
626e1e76 48
49%package static
50Summary: Static Eina library
51Summary(pl.UTF-8): Statyczna biblioteka Eina
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static Eina library.
57
58%description static -l pl.UTF-8
59Statyczna biblioteka Eina.
60
61%prep
16358d8d 62%setup -q
626e1e76 63
64%build
626e1e76 65%configure \
a464224c 66 --disable-silent-rules \
626e1e76 67 %{?with_static_libs:--enable-static} \
d29a2d98
JB
68 --enable-cpu-mmx%{!?with_mmx:=no} \
69 --enable-cpu-sse%{!?with_sse:=no} \
16358d8d 70 --enable-cpu-altivec%{!?with_altives:=no}
626e1e76 71
d29a2d98 72%{__make}
626e1e76 73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
a464224c
JB
88%doc AUTHORS README
89%attr(755,root,root) %{_libdir}/libeina.so.*.*.*
90%attr(755,root,root) %ghost %{_libdir}/libeina.so.1
626e1e76 91
92%files devel
93%defattr(644,root,root,755)
a464224c 94%attr(755,root,root) %{_libdir}/libeina.so
626e1e76 95%{_libdir}/libeina.la
a464224c
JB
96%{_includedir}/eina-1
97%{_pkgconfigdir}/eina.pc
626e1e76 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.071972 seconds and 4 git commands to generate.