]>
Commit | Line | Data |
---|---|---|
b6659d49 | 1 | %define _prefix /usr/X11R6 |
2 | ||
3 | Summary: The GNOME Email/Calendar/Addressbook Suite | |
4 | Name: evolution | |
5 | Version: 0.5.1 | |
6 | Release: 1 | |
7 | Copyright: GPL | |
8 | Group: Applications/Productivity | |
9 | Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/%{name}/%{name}-%{version}.tar.gz | |
10 | URL: http://www.helixcode.com/aoos/evolution.php3 | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | Provides: camel | |
13 | Requires: gtkhtml >= 0.6.1 | |
14 | Requires: libunicode >= 0.4 | |
15 | Requires: libxml >= 1.8.7 | |
16 | BuildRequires: bonobo-devel >= 0.18 | |
17 | BuildRequires: gtkhtml-devel >= 0.6.1 | |
18 | BuildRequires: gnome-vfs-devel >= 0.3.1 | |
19 | BuildRequires: libunicode-devel >= 0.4 | |
20 | BuildRequires: oaf-devel >= 0.5.1 | |
21 | BuildRequires: gnome-print-devel >= 0.20 | |
22 | BuildRequires: gdk-pixbuf-devel >= 0.8 | |
23 | ||
24 | %description | |
25 | Evolution is the GNOME mailer, calendar, contact manager and | |
26 | communications tool. The tools which make up Evolution will | |
27 | be tightly integrated with one another and act as a seamless | |
28 | personal information-management tool. | |
29 | ||
30 | %package devel | |
31 | Summary: Development libraries and header files for evolution | |
32 | Group: Development/Libraries | |
33 | Requires: %name = %{PACKAGE_VERSION} | |
34 | Provides: camel-devel | |
35 | ||
36 | %description devel | |
37 | Evolution is the GNOME mailer, calendar, contact manager and | |
38 | communications tool. The tools which make up Evolution will | |
39 | be tightly integrated with one another and act as a seamless | |
40 | personal information-management tool. | |
41 | ||
42 | This package contains the files necessary to develop applications | |
43 | using Evolution's libraries. | |
44 | ||
45 | %prep | |
46 | %setup -q -n %{name}-%{version} | |
47 | ||
48 | %build | |
49 | CFLAGS="-pipe $RPM_OPT_FLAGS" ./configure \ | |
50 | --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} \ | |
51 | --localstatedir=%{_localstatedir} | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} \ | |
57 | sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \ | |
58 | localstatedir=$RPM_BUILD_ROOT%{_localstatedir} install | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post -p /sbin/ldconfig | |
64 | %postun -p /sbin/ldconfig | |
65 | ||
66 | %files | |
67 | %defattr(-, root, root) | |
68 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README | |
69 | %{_prefix}/share/evolution | |
70 | %{_prefix}/share/oaf/*.oafinfo | |
71 | %{_prefix}/share/idl/*.idl | |
72 | %{_prefix}/share/gnome/help/evolution | |
73 | %{_prefix}/share/gnome/apps/Applications/*.desktop | |
74 | %{_prefix}/share/images/evolution | |
75 | %{_prefix}/share/locale/* | |
76 | %{_prefix}/share/pixmaps/* | |
77 | %{_prefix}/share/mime-info/* | |
78 | %{_prefix}/bin/* | |
79 | %{_prefix}/lib/evolution/camel-providers/*/*.so* | |
80 | %{_prefix}/lib/evolution/camel-providers/*/*.urls | |
81 | %{_prefix}/lib/*.so.* | |
82 | ||
83 | %files devel | |
84 | %{_prefix}/include/camel | |
85 | %{_prefix}/include/ename | |
86 | %{_prefix}/include/evolution | |
87 | %{_prefix}/lib/*so | |
88 | %{_prefix}/lib/*a | |
89 | %{_prefix}/lib/evolution/camel-providers/*/*a |