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.14/GConf-%{version}.tar.bz2
18 # Source0-md5: d07c2efcaf477cf34225c604a04b6271
19 Source1: %{name}-merge-tree.xinit
20 Patch0: %{name}-NO_MAJOR_VERSION.patch
21 Patch1: %{name}-path.patch
22 URL: http://www.gnome.org/
23 BuildRequires: ORBit2-devel >= 1:2.13.2
24 BuildRequires: autoconf
25 BuildRequires: automake >= 1:1.7
26 BuildRequires: gettext-devel
27 BuildRequires: gtk+2-devel >= 2:2.8.3
28 BuildRequires: gtk-doc >= 1.4-2
29 BuildRequires: libtool
30 BuildRequires: libxml2-devel >= 1:2.6.21
31 BuildRequires: openldap-devel
32 BuildRequires: perl-base
33 BuildRequires: pkgconfig
34 BuildRequires: popt-devel
35 BuildRequires: rpmbuild(macros) >= 1.197
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 GConf2 is a configuration database system, functionally similar to the
41 Windows registry but lots better. :-) It's being written for the
42 GNOME2 desktop but does not require GNOME2; configure should notice if
43 GNOME2 is not installed and compile the basic GConf2 library anyway.
46 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
47 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
48 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
49 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
52 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
55 Summary: GConf2 includes, etc
56 Summary(pl): Pliki nag³ówkowe GConf2
57 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
58 Group: X11/Development/Libraries
59 Requires: %{name} = %{version}-%{release}
60 Requires: ORBit2-devel >= 1:2.12.3
61 Requires: gtk-doc-common
62 Requires: libxml2-devel >= 1:2.6.21
63 Obsoletes: libGConf2-devel
68 %description devel -l pl
69 Pliki nag³ówkowe GConf2.
71 %description devel -l pt_BR
72 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
75 Summary: GConf2 static libraries
76 Summary(pl): Biblioteki statyczne GConf2
77 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
78 Group: X11/Development/Libraries
79 Requires: %{name}-devel = %{version}-%{release}
82 GConf2 static libraries.
84 %description static -l pl
85 Biblioteki statyczne GConf2.
87 %description static -l pt_BR
88 Bibliotecas estáticas para desenvolvimento com gconf
90 %package backend-evoldap
91 Summary: Evolution Data Sources LDAP backend for GConf
92 Summary(pl): Backend LDAP ¼róde³ danych Evolution dla GConfa
94 Requires: %{name} = %{version}-%{release}
96 %description backend-evoldap
97 This is a special-purpose backend for GConf which enables default mail
98 accounts, addressbooks and calendars for Evolution to be configured
99 using each user's LDAP entry. By setting each user's mail address,
100 incoming/outgoing mail server addresses and addressbook/calendar
101 addresses in the user's LDAP entry, Evolution will be automatically
102 configured to use these addresses.
104 %description backend-evoldap -l pl
105 To jest backend GConfa specjalnego przeznaczenia, pozwalaj±cy na
106 konfigurowanie domy¶lnych kont pocztowych, ksi±¿ek adresowych i
107 kalendarzy dla Evolution przy u¿yciu wpisu LDAP dla ka¿dego
108 u¿ytkownika. Poprzez ustawienie ka¿demu u¿ytkownikowi adres pocztowy,
109 adresy serwerów poczty przychodz±cej/wychodz±cej oraz adresy ksi±¿ki
110 adresowej i kalendarza w jego wpisie LDAP, Evolution zostanie
111 automatycznie skonfigurowane do u¿ywania tych adresów.
114 %setup -q -n GConf-%{version}
126 %{!?with_static_libs:--disable-static} \
128 --with-html-dir=%{_gtkdocdir}
133 rm -rf $RPM_BUILD_ROOT
134 install -d $RPM_BUILD_ROOT%{_sysconfdir}{/gconf/schemas,/X11/xinit/xinitrc.d}
137 DESTDIR=$RPM_BUILD_ROOT
139 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/GConf2-merge-tree
141 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
145 # no *.{la,a} for modules - shut up check-files
146 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
149 rm -rf $RPM_BUILD_ROOT
151 %post -p /sbin/ldconfig
152 %postun -p /sbin/ldconfig
154 %files -f %{name}.lang
155 %defattr(644,root,root,755)
156 %doc AUTHORS NEWS README
157 %attr(755,root,root) %{_bindir}/gconf*
158 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
159 %attr(755,root,root) %{_libdir}/gconfd-2
160 %attr(755,root,root) %{_libdir}/lib*.so.*.*
161 %dir %{_libdir}/GConf2
162 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-oldxml.so
163 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-xml.so
164 %dir %{_sysconfdir}/gconf
165 %dir %{_sysconfdir}/gconf/2
166 %{_sysconfdir}/gconf/gconf.xml.*
167 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/path
168 %dir %{_sysconfdir}/gconf/schemas
169 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/*
170 %dir %{_datadir}/GConf
171 %dir %{_datadir}/GConf/schema
172 %{_datadir}/sgml/gconf
176 %defattr(644,root,root,755)
178 %attr(755,root,root) %{_libdir}/lib*.so
180 %{_includedir}/gconf2
182 %{_pkgconfigdir}/*.pc
185 %if %{with static_libs}
187 %defattr(644,root,root,755)
191 %files backend-evoldap
192 %defattr(644,root,root,755)
193 %doc backends/README.evoldap
194 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-evoldap.so
195 %{_datadir}/GConf/schema/evoldap.schema
196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/2/evoldap.conf