]> git.pld-linux.org Git - packages/evolution-data-server.git/blob - evolution-data-server.spec
- up to version 0.0.99
[packages/evolution-data-server.git] / evolution-data-server.spec
1 #
2 # todo:
3 # - system libical
4 #
5 %define         mver            1.0
6
7 Summary:        Evolution data server
8 Summary(pl):    Serwer danych Evolution
9 Name:           evolution-data-server
10 Version:        0.0.99
11 Release:        1
12 License:        GPL
13 Group:          Libraries
14 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.bz2
15 # Source0-md5:  5c959c8a824f0763f91358035048aa70
16 Patch0:         %{name}-system_db.patch
17 Patch1:         %{name}-GG-IM.patch
18 Patch2:         %{name}-configure.patch
19 URL:            http://www.ximian.com/products/ximian_evolution/
20 BuildRequires:  ORBit2-devel >= 1:2.10.3
21 BuildRequires:  autoconf >= 2.52
22 BuildRequires:  automake
23 BuildRequires:  db-devel
24 BuildRequires:  intltool
25 BuildRequires:  libgnome-devel >= 2.6.1.1
26 BuildRequires:  libsoup-devel >= 2.2.0
27 BuildRequires:  libtool
28 BuildRequires:  openldap-devel
29 BuildRequires:  pkgconfig
30 Requires(post,postun):  /sbin/ldconfig
31 Requires(post,postun):  /usr/bin/scrollkeeper-update
32 Requires(post):         GConf2
33 Requires:       libsoup >= 2.2.0
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 The Evolution data server for the calendar and addressbook.
38
39 %description -l pl
40 Serwer danych Evolution dla kalendarza i ksi±¿ki adresowej.
41
42 %package devel
43 Summary:        Evolution data server development files
44 Summary(pl):    Pliki programistyczne serwera danych evolution
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 # for all but libegroupwise
48 Requires:       GConf2-devel >= 2.6.2
49 Requires:       ORBit2-devel >= 1:2.10.3
50 Requires:       glib2-devel >= 1:2.4.4
51 Requires:       libbonobo-devel >= 2.6.2
52 Requires:       libgnome-devel >= 2.6.1.1
53 Requires:       libxml2-devel
54 # for libegroupwise
55 Requires:       libsoup-devel >= 2.2.0
56
57 %description devel
58 This package contains the files necessary to develop applications
59 using Evolution's data server libraries.
60
61 %description devel -l pl
62 Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji
63 korzystaj±cych z bibliotek serwera danych Evolution.
64
65 %package static
66 Summary:        Evolution data server static libraries
67 Summary(pl):    Statyczne biblioteki serwera danych Evolution
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Evolution data server static libraries.
73
74 %description static -l pl
75 Statyczne biblioteki serwera danych Evolution.
76
77 %prep
78 %setup -q 
79 %patch0 -p1
80 %patch1 -p1
81 %patch2 -p1
82
83 rm -rf libdb
84
85 %build
86 glib-gettextize --copy --force
87 intltoolize --copy --force
88 %{__libtoolize}
89 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
90 %{__autoheader}
91 %{__autoconf}
92 %{__automake}
93
94 cd calendar/libical
95 %{__libtoolize}
96 %{__aclocal}
97 %{__autoheader}
98 %{__autoconf}
99 %{__automake}
100 cd ../..
101
102 %configure \
103         --enable-gtk-doc \
104         --enable-static \
105         --with-openldap=yes
106
107 %{__make} \
108         HTML_DIR=%{_gtkdocdir} \
109         GTKHTML_DATADIR=%{_datadir}/idl 
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT \
116         GTKHTML_DATADIR=%{_datadir}/idl \
117         HTML_DIR=%{_gtkdocdir} \
118         pkgconfigdir=%{_pkgconfigdir}
119
120 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
121
122 %find_lang %{name} --all-name
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post
128 /sbin/ldconfig
129 /usr/bin/scrollkeeper-update
130 %gconf_schema_install
131
132 %postun
133 /sbin/ldconfig
134 /usr/bin/scrollkeeper-update
135
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %doc AUTHORS ChangeLog NEWS* README
139 %attr(755,root,root) %{_libdir}/%{name}-1.0
140 %attr(755,root,root) %{_libdir}/*.so.*.*
141 %{_libdir}/bonobo/servers/*
142 %{_datadir}/idl/*
143 %dir %{_datadir}/%{name}-%{mver}
144 %{_datadir}/%{name}-%{mver}/zoneinfo
145 %{_datadir}/%{name}-%{mver}/*.schema
146
147 %files devel
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/*.so
150 %{_libdir}/*.la
151 %{_includedir}/*
152 %{_pkgconfigdir}/*
153 %{_gtkdocdir}/*
154
155 %files static
156 %defattr(644,root,root,755)
157 %{_libdir}/*.a
This page took 0.073125 seconds and 4 git commands to generate.