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