]> git.pld-linux.org Git - packages/evas.git/blob - evas.spec
- NEW EFL (E Fundation Libraries)
[packages/evas.git] / evas.spec
1 Summary:        Multi-platform Canvas Library
2 Name:           evas
3 Version:        1.0.0
4 #%define _pre   pre13
5 %define _snap   20050106
6 Release:        0.%{_snap}.0.1
7 License:        BSD
8 Group:          Libraries
9 #Source0:       http://dl.sourceforge.net/enlightenment/%{name}-%{version}_%{_pre}.tar.gz
10 Source0:        ftp://ftp.sparky.homelinux.org/pub/e17/%{name}-%{version}-%{_snap}.tar.gz
11 # Source0-md5:  90bf34e3e6aaedaaa20856b2b5bbf6ad
12 URL:            http://enlightenment.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  DirectFB-devel
16 BuildRequires:  X11-OpenGL-devel
17 #BuildRequires: cairo-devel
18 BuildRequires:  edb-devel
19 BuildRequires:  eet-devel
20 BuildRequires:  freetype-devel
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libpng-devel
23 BuildRequires:  libtool
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Evas is a clean display canvas API for several target display systems
28 that can draw anti-aliased text, smooth super and sub-sampled scaled
29 images, alpha-blend objects much and more.
30
31 %package devel
32 Summary:        Evas headers, documentation and test programs
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}
35 Requires:       DirectFB-devel
36 Requires:       X11-OpenGL-devel
37 #Requires:      cairo-devel
38 Requires:       edb-devel
39 Requires:       eet-devel
40 Requires:       freetype-devel
41 Requires:       libjpeg-devel
42 Requires:       libpng-devel
43
44 %description devel
45 Headers, static libraries, test programs and documentation for Evas.
46
47 %package static
48 Summary:        Static libraries
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Static libraries for Evas.
54
55 %prep
56 #%%setup -q -n %{name}-%{version}_%{_pre}
57 %setup -q -n %{name}
58
59 %build
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --disable-cairo-x11
67 #/usr/lib/libcairo.so: undefined reference to `pixman_image_get_format'
68 #/usr/lib/libcairo.so: undefined reference to `pixman_format_get_masks'
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS README COPYING
85 %attr(755,root,root) %{_libdir}/libevas.so.*
86 %attr(755,root,root) %{_bindir}/evas_*
87 %{_datadir}/%{name}
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/evas-config
92 %attr(755,root,root) %{_libdir}/libevas.so
93 %{_libdir}/libevas.la
94 %{_pkgconfigdir}/evas.pc
95 %{_includedir}/Evas*
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libevas.a
This page took 0.044919 seconds and 4 git commands to generate.