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