]> git.pld-linux.org Git - packages/evolution-data-server.git/blob - evolution-data-server.spec
- rel 2 (rebuild with new gnutls)
[packages/evolution-data-server.git] / evolution-data-server.spec
1
2 #
3 # todo:
4 # - system libical
5 #
6
7 %define         mver            1.0
8
9 Summary:        Evolution data server
10 Summary(pl):    Serwer danych Evolution
11 Name:           evolution-data-server
12 Version:        0.0.91
13 Release:        2
14 License:        GPL
15 Group:          Libraries
16 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz
17 # Source0-md5:  f4ec7c5ca9046cdf82a00c7bf141f846
18 Patch0:         %{name}-system_db.patch
19 Patch1:         %{name}-locale-names.patch
20 URL:            http://www.ximian.com/products/ximian_evolution/
21 BuildRequires:  ORBit2-devel >= 1:2.10.0
22 BuildRequires:  autoconf >= 2.52
23 BuildRequires:  automake
24 BuildRequires:  db-devel
25 BuildRequires:  intltool
26 BuildRequires:  libgnome-devel >= 2.6.0
27 BuildRequires:  libsoup-devel >= 2.1.9
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 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.0
48 Requires:       ORBit2-devel >= 1:2.10.0
49 Requires:       glib2-devel >= 1:2.4.0
50 Requires:       libbonobo-devel >= 2.6.0
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
78 mv po/{no,nb}.po
79 rm -rf libdb
80
81 %build
82 glib-gettextize --copy --force
83 intltoolize --copy --force
84 %{__libtoolize}
85 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
86 %{__autoheader}
87 %{__autoconf}
88 %{__automake}
89
90 cd calendar/libical
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoheader}
94 %{__autoconf}
95 %{__automake}
96 cd ../..
97
98 %configure \
99         --enable-gtk-doc \
100         --enable-static \
101         --with-openldap=yes
102
103 %{__make} \
104         HTML_DIR=%{_gtkdocdir} \
105         GTKHTML_DATADIR=%{_datadir}/idl 
106
107 %install
108 rm -rf $RPM_BUILD_ROOT
109
110 %{__make} install \
111         DESTDIR=$RPM_BUILD_ROOT \
112         GTKHTML_DATADIR=%{_datadir}/idl \
113         HTML_DIR=%{_gtkdocdir} \
114         pkgconfigdir=%{_pkgconfigdir}
115
116 %find_lang %{name} --all-name
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post
122 /sbin/ldconfig
123 /usr/bin/scrollkeeper-update
124 %gconf_schema_install
125
126 %postun
127 /sbin/ldconfig
128 /usr/bin/scrollkeeper-update
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc AUTHORS ChangeLog NEWS* README
133 %attr(755,root,root) %{_libdir}/%{name}-1.0
134 %attr(755,root,root) %{_libdir}/*.so.*.*
135 %{_libdir}/bonobo/servers/*
136 %{_datadir}/idl/*
137 %dir %{_datadir}/%{name}-%{mver}
138 %{_datadir}/%{name}-%{mver}/zoneinfo
139 %{_datadir}/%{name}-%{mver}/*.schema
140
141 %files devel
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/*.so
144 %{_libdir}/*.la
145 %{_includedir}/*
146 %{_pkgconfigdir}/*
147 %{_gtkdocdir}/*
148
149 %files static
150 %defattr(644,root,root,755)
151 %{_libdir}/*.a
This page took 0.141706 seconds and 4 git commands to generate.