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