]> git.pld-linux.org Git - packages/eina.git/blame - eina.spec
- use LATEST
[packages/eina.git] / eina.spec
CommitLineData
626e1e76 1# Conditional build:
2%bcond_without mmx # without MMX and MMX2
3%bcond_without sse # without SSE
4%bcond_without altivec # without altivec
5%bcond_without static_libs # don't build static library
6#
7%ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
8%undefine with_mmx
9%endif
10%ifnarch i686 pentium3 pentium4 athlon %{x8664}
11%undefine with_sse
12%endif
13%ifnarch ppc
14%undefine with_altivec
15%endif
16
626e1e76 17Summary: Data types library (List, hash, etc)
18Summary(pl.UTF-8): Bilblioteka typów danych (Lista, hasz, itd.)
19Name: eina
20Version: 0.9.9.49898
21Release: 1
22License: LGPL v2.1
23Group: Libraries
ed310256 24Source0: http://download.enlightenment.org/snapshots/LATEST/%{name}-%{version}.tar.bz2
626e1e76 25# Source0-md5: d14bacce7d588524c12ddad1db9c7240
26URL: http://enlightenment.org/p.php?p=about/libs/eina
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Data types library (List, hash, etc)
31
32%description -l pl.UTF-8
33Bilblioteka typów danych(Lista, hasz, itd.)
34
35%package devel
36Summary: Eina header files
37Summary(pl.UTF-8): Pliki nagłówkowe Einy
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42Header files for Eina.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe Eina.
46
47%package static
48Summary: Static Eina library
49Summary(pl.UTF-8): Statyczna biblioteka Eina
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static Eina library.
55
56%description static -l pl.UTF-8
57Statyczna biblioteka Eina.
58
59%prep
60%setup -q
61
62%build
63rm -rf autom4te.cache
64rm -f aclocal.m4 ltmain.sh
65%{__libtoolize}
66%{__aclocal} -I m4
67%{__autoconf}
68%{__autoheader}
69%{__automake}
70%configure \
71 %{?with_static_libs:--enable-static} \
72%if %{with mmx}
73 --enable-cpu-mmx \
74%else
75 --disable-cpu-mmx \
76%endif
77%if %{with sse}
78 --enable-cpu-sse \
79%else
80 --disable-cpu-sse \
81%endif
82%if %{with altivec}
83 --enable-cpu-altivec \
84%else
85 --disable-cpu-altivec \
86%endif
87
88%{__make} V=1
89
90%install
91rm -rf $RPM_BUILD_ROOT
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
101
102%files
103%defattr(644,root,root,755)
104%doc AUTHORS
105%attr(755,root,root) %{_libdir}/libeina-ver-svn-06.so.0.9.9
106%attr(755,root,root) %ghost %{_libdir}/libeina-ver-svn-06.so.0
107
108%files devel
109%defattr(644,root,root,755)
110%{_includedir}/eina-0
111%{_libdir}/libeina.la
112%{_libdir}/libeina.so
113%{_pkgconfigdir}/eina-0.pc
114
115%if %{with static_libs}
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libeina.a
119%endif
This page took 0.068159 seconds and 4 git commands to generate.