]> git.pld-linux.org Git - packages/evolution-data-server.git/blob - evolution-data-server.spec
- -devel R: libgnome-devel, libsoup-devel
[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 # 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.1.12
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 mv po/{no,nb}.po
84 rm -rf libdb
85
86 %build
87 glib-gettextize --copy --force
88 intltoolize --copy --force
89 %{__libtoolize}
90 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
91 %{__autoheader}
92 %{__autoconf}
93 %{__automake}
94
95 cd calendar/libical
96 %{__libtoolize}
97 %{__aclocal}
98 %{__autoheader}
99 %{__autoconf}
100 %{__automake}
101 cd ../..
102
103 %configure \
104         --enable-gtk-doc \
105         --enable-static \
106         --with-openldap=yes
107
108 %{__make} \
109         HTML_DIR=%{_gtkdocdir} \
110         GTKHTML_DATADIR=%{_datadir}/idl 
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT \
117         GTKHTML_DATADIR=%{_datadir}/idl \
118         HTML_DIR=%{_gtkdocdir} \
119         pkgconfigdir=%{_pkgconfigdir}
120
121 %find_lang %{name} --all-name
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post
127 /sbin/ldconfig
128 /usr/bin/scrollkeeper-update
129 %gconf_schema_install
130
131 %postun
132 /sbin/ldconfig
133 /usr/bin/scrollkeeper-update
134
135 %files -f %{name}.lang
136 %defattr(644,root,root,755)
137 %doc AUTHORS ChangeLog NEWS* README
138 %attr(755,root,root) %{_libdir}/%{name}-1.0
139 %attr(755,root,root) %{_libdir}/*.so.*.*
140 %{_libdir}/bonobo/servers/*
141 %{_datadir}/idl/*
142 %dir %{_datadir}/%{name}-%{mver}
143 %{_datadir}/%{name}-%{mver}/zoneinfo
144 %{_datadir}/%{name}-%{mver}/*.schema
145
146 %files devel
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/*.so
149 %{_libdir}/*.la
150 %{_includedir}/*
151 %{_pkgconfigdir}/*
152 %{_gtkdocdir}/*
153
154 %files static
155 %defattr(644,root,root,755)
156 %{_libdir}/*.a
This page took 0.032454 seconds and 3 git commands to generate.