3 # - update documentation to follow changes introduced in Patch0
6 %bcond_without static_libs # don't build static libraries
8 Summary: GNOME2 configuration database system
9 Summary(pl): System konfiguracyjnej bazy danych dla GNOME 2
10 Summary(pt_BR): Sistema de Configuração do GNOME 2
11 Summary(ru): óÉÓÔÅÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ GNOME 2
16 Group: X11/Applications
17 Source0: http://ftp.gnome.org/pub/gnome/sources/GConf/2.16/GConf-%{version}.tar.bz2
18 # Source0-md5: b1a202f36661c0d9c87f8fe27a28bd52
19 Patch0: %{name}-NO_MAJOR_VERSION.patch
20 Patch1: %{name}-path.patch
21 Patch2: %{name}-reload.patch
22 URL: http://www.gnome.org/
23 BuildRequires: ORBit2-devel >= 1:2.14.3
24 BuildRequires: autoconf
25 BuildRequires: automake >= 1:1.7
26 BuildRequires: gettext-devel
27 BuildRequires: glib2-devel >= 1:2.12.4
28 BuildRequires: gtk+2-devel >= 2:2.10.6
29 BuildRequires: gtk-doc >= 1.7
30 BuildRequires: intltool >= 0.35.0
31 BuildRequires: libtool
32 BuildRequires: libxml2-devel >= 1:2.6.26
33 BuildRequires: openldap-devel
34 BuildRequires: perl-base
35 BuildRequires: pkgconfig
36 BuildRequires: rpmbuild(macros) >= 1.197
37 Requires(post): GConf2 >= 2.14.0
38 Requires: ORBit2 >= 1:2.14.3
39 Requires: glib2 >= 1:2.12.4
40 Obsoletes: GConf2-xinitrc
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 GConf2 is a configuration database system, functionally similar to the
46 Windows registry but lots better. :-) It's being written for the
47 GNOME2 desktop but does not require GNOME2; configure should notice if
48 GNOME2 is not installed and compile the basic GConf2 library anyway.
51 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
52 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
53 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
54 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
57 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
60 Summary: GConf2 API documentation
61 Summary(pl): Dokumentacja API GConf2
63 Requires: gtk-doc-common
66 GConf2 API documentation.
68 %description apidocs -l pl
69 Dokumentacja API GConf2.
72 Summary: GConf2 includes, etc
73 Summary(pl): Pliki nag³ówkowe GConf2
74 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
75 Group: X11/Development/Libraries
76 Requires: %{name} = %{version}-%{release}
77 Requires: ORBit2-devel >= 1:2.14.3
78 Requires: gtk-doc-common
79 Requires: libxml2-devel >= 1:2.6.26
80 Obsoletes: libGConf2-devel
85 %description devel -l pl
86 Pliki nag³ówkowe GConf2.
88 %description devel -l pt_BR
89 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
92 Summary: GConf2 static libraries
93 Summary(pl): Biblioteki statyczne GConf2
94 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
95 Group: X11/Development/Libraries
96 Requires: %{name}-devel = %{version}-%{release}
99 GConf2 static libraries.
101 %description static -l pl
102 Biblioteki statyczne GConf2.
104 %description static -l pt_BR
105 Bibliotecas estáticas para desenvolvimento com gconf
107 %package backend-evoldap
108 Summary: Evolution Data Sources LDAP backend for GConf
109 Summary(pl): Backend LDAP ¼róde³ danych Evolution dla GConfa
111 Requires: %{name} = %{version}-%{release}
113 %description backend-evoldap
114 This is a special-purpose backend for GConf which enables default mail
115 accounts, addressbooks and calendars for Evolution to be configured
116 using each user's LDAP entry. By setting each user's mail address,
117 incoming/outgoing mail server addresses and addressbook/calendar
118 addresses in the user's LDAP entry, Evolution will be automatically
119 configured to use these addresses.
121 %description backend-evoldap -l pl
122 To jest backend GConfa specjalnego przeznaczenia, pozwalaj±cy na
123 konfigurowanie domy¶lnych kont pocztowych, ksi±¿ek adresowych i
124 kalendarzy dla Evolution przy u¿yciu wpisu LDAP dla ka¿dego
125 u¿ytkownika. Poprzez ustawienie ka¿demu u¿ytkownikowi adres pocztowy,
126 adresy serwerów poczty przychodz±cej/wychodz±cej oraz adresy ksi±¿ki
127 adresowej i kalendarza w jego wpisie LDAP, Evolution zostanie
128 automatycznie skonfigurowane do u¿ywania tych adresów.
131 %setup -q -n GConf-%{version}
146 %{!?with_static_libs:--disable-static} \
148 --with-html-dir=%{_gtkdocdir}
153 rm -rf $RPM_BUILD_ROOT
154 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
157 DESTDIR=$RPM_BUILD_ROOT
161 # no *.{la,a} for modules - shut up check-files
162 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
165 rm -rf $RPM_BUILD_ROOT
170 for GCONF_DIR in %{_sysconfdir}/gconf/gconf.xml.mandatory %{_sysconfdir}/gconf/gconf.xml.defaults ;
172 GCONF_TREE=$GCONF_DIR/%gconf-tree.xml
173 if [ ! -f "$GCONF_TREE" ]; then
174 gconf-merge-tree "$GCONF_DIR"
175 chmod 644 "$GCONF_TREE"
176 find "$GCONF_DIR" -mindepth 1 -maxdepth 1 -type d -exec rm -rf \{\} \;
177 rm -f "$GCONF_DIR/%gconf.xml"
181 %postun -p /sbin/ldconfig
183 %files -f %{name}.lang
184 %defattr(644,root,root,755)
185 %doc AUTHORS NEWS README
186 %attr(755,root,root) %{_bindir}/gconf*
187 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
188 %attr(755,root,root) %{_libdir}/gconfd-2
189 %attr(755,root,root) %{_libdir}/lib*.so.*.*
190 %dir %{_libdir}/GConf2
191 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-oldxml.so
192 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-xml.so
193 %dir %{_sysconfdir}/gconf
194 %dir %{_sysconfdir}/gconf/2
195 %{_sysconfdir}/gconf/gconf.xml.*
196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/path
197 %dir %{_sysconfdir}/gconf/schemas
198 %dir %{_datadir}/GConf
199 %dir %{_datadir}/GConf/schema
200 %{_datadir}/sgml/gconf
204 %defattr(644,root,root,755)
208 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_libdir}/lib*.so
212 %{_includedir}/gconf2
214 %{_pkgconfigdir}/*.pc
216 %if %{with static_libs}
218 %defattr(644,root,root,755)
222 %files backend-evoldap
223 %defattr(644,root,root,755)
224 %doc backends/README.evoldap
225 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-evoldap.so
226 %{_datadir}/GConf/schema/evoldap.schema
227 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/2/evoldap.conf