]> git.pld-linux.org Git - packages/evolution-data-server.git/blob - evolution-data-server.spec
- 0.0.5
[packages/evolution-data-server.git] / evolution-data-server.spec
1
2 #
3 # todo:
4 # - system libical
5 #
6
7 %define         mver            1.0
8 %define         snap            20031227
9
10 Summary:        Evolution data server
11 Summary(pl):    Serwer danych Evolution
12 Name:           evolution-data-server
13 Version:        0.0.5
14 Release:        1
15 License:        GPL
16 Group:          Libraries
17 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.gz
18 # Source0-md5:  02fa606b4fe3b656205b223250369de4
19 #Source0:       %{name}-%{version}-%{snap}.tar.bz2
20 Patch0:         %{name}-system_db.patch
21 URL:            http://www.ximian.com/products/ximian_evolution/
22 BuildRequires:  ORBit2-devel >= 2.9.0
23 BuildRequires:  autoconf >= 2.52
24 BuildRequires:  automake
25 BuildRequires:  db-devel
26 BuildRequires:  intltool
27 BuildRequires:  libgnome-devel >= 2.5.0
28 BuildRequires:  libsoup-devel >= 2.1.4
29 BuildRequires:  libtool
30 BuildRequires:  openldap-devel
31 BuildRequires:  pkgconfig
32 Requires(post,postun):  /sbin/ldconfig
33 Requires(post,postun):  /usr/bin/scrollkeeper-update
34 Requires(post):         GConf2
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}
48 Requires:       GConf2-devel >= 2.5.0
49 Requires:       ORBit2-devel >= 2.9.0
50 Requires:       glib2-devel >= 2.3.0
51 Requires:       libbonobo-devel >= 2.5.0
52 Requires:       libxml2-devel
53
54 %description devel
55 This package contains the files necessary to develop applications
56 using Evolution's data server libraries.
57
58 %description devel -l pl
59 Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji
60 korzystaj±cych z bibliotek serwera danych Evolution.
61
62 %package static
63 Summary:        Evolution data server static libraries
64 Summary(pl):    Statyczne biblioteki serwera danych Evolution
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}
67
68 %description static
69 Evolution data server static libraries.
70
71 %description static -l pl
72 Statyczne biblioteki serwera danych Evolution.
73
74 %prep
75 %setup -q 
76 %patch0 -p1
77
78 rm -rf libdb
79
80 %build
81 cp %{_datadir}/automake/mkinstalldirs ./
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.042891 seconds and 3 git commands to generate.