]> git.pld-linux.org Git - packages/evolution-data-server.git/blob - evolution-data-server.spec
- some descriptions, added BRs
[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.3
13 Release:        0.10
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:  bcacfd623db973a100deb67f0b7d8a38
18 Patch0:         %{name}-system_db.patch
19 URL:            http://www.ximian.com/products/ximian_evolution/
20 BuildRequires:  ORBit2-devel >= 2.8.0
21 BuildRequires:  autoconf >= 2.52
22 BuildRequires:  automake
23 BuildRequires:  db-devel
24 BuildRequires:  intltool
25 BuildRequires:  libgnome-devel >= 2.0
26 BuildRequires:  libsoup-devel >= 2.1.2
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 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}
46
47 %description devel
48 This package contains the files necessary to develop applications
49 using Evolution's data server libraries.
50
51 %description devel -l pl
52 Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji
53 korzystaj±cych z bibliotek serwera danych Evolution.
54
55 %package static
56 Summary:        Evolution data server static libraries
57 Summary(pl):    Statyczne biblioteki serwera danych Evolution
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}
60
61 %description static
62 Evolution data server static libraries.
63
64 %description static -l pl
65 Statyczne biblioteki serwera danych Evolution.
66
67 %prep
68 %setup -q 
69 %patch0 -p1
70
71 rm -rf libdb
72
73 %build
74 glib-gettextize --copy --force
75 intltoolize --copy --force
76 %{__libtoolize}
77 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
78 %{__autoheader}
79 %{__autoconf}
80 %{__automake}
81 %configure \
82         --enable-gtk-doc \
83         --enable-static \
84         --with-openldap=yes
85
86 %{__make} \
87         HTML_DIR=%{_gtkdocdir} \
88         GTKHTML_DATADIR=%{_datadir}/idl 
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT \
95         GTKHTML_DATADIR=%{_datadir}/idl \
96         HTML_DIR=%{_gtkdocdir} \
97         pkgconfigdir=%{_pkgconfigdir}
98
99 %find_lang %{name} --all-name
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post
105 /sbin/ldconfig
106 /usr/bin/scrollkeeper-update
107 %gconf_schema_install
108
109 %postun
110 /sbin/ldconfig
111 /usr/bin/scrollkeeper-update
112
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
115 %doc AUTHORS ChangeLog NEWS* README
116 %attr(755,root,root) %{_libdir}/%{name}-1.0
117 %attr(755,root,root) %{_libdir}/*.so.*.*
118 %{_libdir}/bonobo/servers/*
119 %{_datadir}/idl/*
120 %dir %{_datadir}/%{name}-%{mver}
121 %{_datadir}/%{name}-%{mver}/zoneinfo
122 %{_datadir}/%{name}-%{mver}/*.schema
123
124 %files devel
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/*.so
127 %{_libdir}/*.la
128 %{_includedir}/*
129 %{_pkgconfigdir}/*
130 %{_gtkdocdir}/*
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/*.a
This page took 0.039548 seconds and 4 git commands to generate.