summaryrefslogtreecommitdiff
path: root/legacy/edje/edje.spec
blob: 7447a1f45211ad97590285782278b17b099d9dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Note that this is NOT a relocatable package
%define ver      0.0.1
%define rel      1
%define prefix   /usr

Summary: edje
Name: edje
Version: %ver
Release: %rel
Copyright: BSD
Group: System Environment/Libraries
Source: ftp://ftp.enlightenment.org/pub/evoak/edje-%{ver}.tar.gz
BuildRoot: /var/tmp/edje-root
Packager: The Rasterman <raster@rasterman.com>
URL: http://www.enlightenment.org/
BuildRequires: libjpeg-devel
BuildRequires: zlib-devel
Requires: libjpeg
Requires: zlib
Requires: ecore
Requires: evas
Requires: eet
Requires: imlib2

Docdir: %{prefix}/doc

%description

Edje is a Graphical Design Library

%package devel
Summary: Edje headers, static libraries, documentation and test programs
Group: System Environment/Libraries
Requires: %{name} = %{version}

%description devel
Headers, static libraries, test programs and documentation for Eet

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build
./configure --prefix=%prefix

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi
###########################################################################

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%attr(755,root,root) %{prefix}/lib/libedje.so*
%attr(755,root,root) %{prefix}/lib/libedje.la
%attr(755,root,root) %{prefix}/bin/edje
%attr(755,root,root) %{prefix}/bin/edje_cc
%attr(755,root,root) %{prefix}/share/edje

%files devel
%attr(755,root,root) %{prefix}/lib/libedje.a
%attr(755,root,root) %{prefix}/bin/edje-config
%{prefix}/include/Edje*
%doc AUTHORS
%doc COPYING
%doc README
%doc edje_docs.tar.gz

%changelog
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
- Created spec file