]> git.pld-linux.org Git - packages/evolution-data-server.git/blob - evolution-data-server.spec
- updated to 0.0.96
[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.96
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:  ef6c271be54059d9fd4e5cac90a1bd6e
16 Patch0:         %{name}-system_db.patch
17 Patch1:         %{name}-locale-names.patch
18 Patch2:         %{name}-GG-IM.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.1.12
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.1.12
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 Requires:       GConf2-devel >= 2.6.2
48 Requires:       ORBit2-devel >= 1:2.10.3
49 Requires:       glib2-devel >= 1:2.4.4
50 Requires:       libbonobo-devel >= 2.6.2
51 Requires:       libxml2-devel
52
53 %description devel
54 This package contains the files necessary to develop applications
55 using Evolution's data server libraries.
56
57 %description devel -l pl
58 Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji
59 korzystaj±cych z bibliotek serwera danych Evolution.
60
61 %package static
62 Summary:        Evolution data server static libraries
63 Summary(pl):    Statyczne biblioteki serwera danych Evolution
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66
67 %description static
68 Evolution data server static libraries.
69
70 %description static -l pl
71 Statyczne biblioteki serwera danych Evolution.
72
73 %prep
74 %setup -q 
75 %patch0 -p1
76 %patch1 -p1
77 %patch2 -p1
78
79 mv po/{no,nb}.po
80 rm -rf libdb
81
82 %build
83 glib-gettextize --copy --force
84 intltoolize --copy --force
85 %{__libtoolize}
86 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
87 %{__autoheader}
88 %{__autoconf}
89 %{__automake}
90
91 cd calendar/libical
92 %{__libtoolize}
93 %{__aclocal}
94 %{__autoheader}
95 %{__autoconf}
96 %{__automake}
97 cd ../..
98
99 %configure \
100         --enable-gtk-doc \
101         --enable-static \
102         --with-openldap=yes
103
104 %{__make} \
105         HTML_DIR=%{_gtkdocdir} \
106         GTKHTML_DATADIR=%{_datadir}/idl 
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT \
113         GTKHTML_DATADIR=%{_datadir}/idl \
114         HTML_DIR=%{_gtkdocdir} \
115         pkgconfigdir=%{_pkgconfigdir}
116
117 %find_lang %{name} --all-name
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %post
123 /sbin/ldconfig
124 /usr/bin/scrollkeeper-update
125 %gconf_schema_install
126
127 %postun
128 /sbin/ldconfig
129 /usr/bin/scrollkeeper-update
130
131 %files -f %{name}.lang
132 %defattr(644,root,root,755)
133 %doc AUTHORS ChangeLog NEWS* README
134 %attr(755,root,root) %{_libdir}/%{name}-1.0
135 %attr(755,root,root) %{_libdir}/*.so.*.*
136 %{_libdir}/bonobo/servers/*
137 %{_datadir}/idl/*
138 %dir %{_datadir}/%{name}-%{mver}
139 %{_datadir}/%{name}-%{mver}/zoneinfo
140 %{_datadir}/%{name}-%{mver}/*.schema
141
142 %files devel
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/*.so
145 %{_libdir}/*.la
146 %{_includedir}/*
147 %{_pkgconfigdir}/*
148 %{_gtkdocdir}/*
149
150 %files static
151 %defattr(644,root,root,755)
152 %{_libdir}/*.a
This page took 0.036066 seconds and 4 git commands to generate.