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