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