]> git.pld-linux.org Git - packages/GConf2.git/blobdiff - GConf2.spec
- removed my bogus xinitrc-ng R
[packages/GConf2.git] / GConf2.spec
index adcb4ae621a9cf1607295d9088792421375dd671..42428a4641a9c2dc7a277e084c59ef4dcd1e2581 100644 (file)
@@ -1,30 +1,41 @@
+#
+# TODO:
+# - update documentation to follow changes introduced in Patch0
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
 Summary:       GNOME2 configuration database system
 Summary(pl):   System konfiguracyjnej bazy danych dla GNOME 2
 Summary(pt_BR):        Sistema de Configuração do GNOME 2
 Summary(ru):   óÉÓÔÅÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ GNOME 2
 Name:          GConf2
-Version:       2.10.0
+Version:       2.14.0
 Release:       5
 License:       LGPL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/GConf/2.10/GConf-%{version}.tar.bz2
-# Source0-md5: a7cd37be4e317195a6668a086fc72033
+Source0:       http://ftp.gnome.org/pub/gnome/sources/GConf/2.14/GConf-%{version}.tar.bz2
+# Source0-md5: d07c2efcaf477cf34225c604a04b6271
+Source1:       %{name}-merge-tree.xinit
 Patch0:                %{name}-NO_MAJOR_VERSION.patch
 Patch1:                %{name}-path.patch
-Patch2:                %{name}-shutdown.patch
 URL:           http://www.gnome.org/
-BuildRequires: ORBit2-devel >= 1:2.12.1
+BuildRequires: ORBit2-devel >= 1:2.14.0
 BuildRequires: autoconf
 BuildRequires: automake >= 1:1.7
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.6.4
-BuildRequires: gtk-doc >= 1.3
+BuildRequires: glib2-devel >= 1:2.11.2
+BuildRequires: gtk+2-devel >= 2:2.9.2
+BuildRequires: gtk-doc >= 1.4-2
 BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.19
+BuildRequires: libxml2-devel >= 1:2.6.25
+BuildRequires: openldap-devel
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 BuildRequires: popt-devel
 BuildRequires: rpmbuild(macros) >= 1.197
+Requires:      ORBit2 >= 1:2.14.0
+Requires:      glib2 >= 1:2.11.2
 Obsoletes:     libGConf2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -49,9 +60,9 @@ Summary(pl):  Pliki nag
 Summary(pt_BR):        Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      ORBit2-devel >= 1:2.12.1
+Requires:      ORBit2-devel >= 1:2.14.0
 Requires:      gtk-doc-common
-Requires:      libxml2-devel >= 1:2.6.19
+Requires:      libxml2-devel >= 1:2.6.25
 Obsoletes:     libGConf2-devel
 
 %description devel
@@ -79,14 +90,36 @@ Biblioteki statyczne GConf2.
 %description static -l pt_BR
 Bibliotecas estáticas para desenvolvimento com gconf
 
+%package backend-evoldap
+Summary:       Evolution Data Sources LDAP backend for GConf
+Summary(pl):   Backend LDAP ¼róde³ danych Evolution dla GConfa
+Group:         Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description backend-evoldap
+This is a special-purpose backend for GConf which enables default mail
+accounts, addressbooks and calendars for Evolution to be configured
+using each user's LDAP entry. By setting each user's mail address,
+incoming/outgoing mail server addresses and addressbook/calendar
+addresses in the user's LDAP entry, Evolution will be automatically
+configured to use these addresses.
+
+%description backend-evoldap -l pl
+To jest backend GConfa specjalnego przeznaczenia, pozwalaj±cy na
+konfigurowanie domy¶lnych kont pocztowych, ksi±¿ek adresowych i
+kalendarzy dla Evolution przy u¿yciu wpisu LDAP dla ka¿dego
+u¿ytkownika. Poprzez ustawienie ka¿demu u¿ytkownikowi adres pocztowy,
+adresy serwerów poczty przychodz±cej/wychodz±cej oraz adresy ksi±¿ki
+adresowej i kalendarza w jego wpisie LDAP, Evolution zostanie
+automatycznie skonfigurowane do u¿ywania tych adresów.
+
 %prep
 %setup -q -n GConf-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
-rm -f acinclude.m4
+%{__gtkdocize}
 %{__glib_gettextize}
 %{__libtoolize}
 %{__aclocal}
@@ -94,22 +127,21 @@ rm -f acinclude.m4
 %{__autoconf}
 %{__automake}
 %configure \
-       --with-html-dir=%{_gtkdocdir} \
-%ifarch ppc
-       --disable-gtk-doc
-%else
-       --enable-gtk-doc
-%endif
+       %{!?with_static_libs:--disable-static} \
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir}
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
+install -d $RPM_BUILD_ROOT%{_sysconfdir}{/gconf/schemas,/X11/xinit/xinitrc.d}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/GConf2-merge-tree
+
 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %find_lang %{name}
@@ -131,8 +163,16 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/gconfd-2
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %dir %{_libdir}/GConf2
-%attr(755,root,root) %{_libdir}/GConf2/lib*.so
-%{_sysconfdir}/gconf
+%attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-oldxml.so
+%attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-xml.so
+%dir %{_sysconfdir}/gconf
+%dir %{_sysconfdir}/gconf/2
+%{_sysconfdir}/gconf/gconf.xml.*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/path
+%dir %{_sysconfdir}/gconf/schemas
+%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/*
+%dir %{_datadir}/GConf
+%dir %{_datadir}/GConf/schema
 %{_datadir}/sgml/gconf
 %{_mandir}/man1/*
 
@@ -146,6 +186,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/*.pc
 %{_gtkdocdir}/gconf
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
+
+%files backend-evoldap
+%defattr(644,root,root,755)
+%doc backends/README.evoldap
+%attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-evoldap.so
+%{_datadir}/GConf/schema/evoldap.schema
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/2/evoldap.conf
This page took 0.07858 seconds and 4 git commands to generate.