]> git.pld-linux.org Git - packages/GConf2.git/blobdiff - GConf2.spec
- fixed source URL
[packages/GConf2.git] / GConf2.spec
index 2446c981a900b731d8ee015b21e368a5db5591c5..87f65bdc34f0c817656f2e5d81c014f3209060f7 100644 (file)
@@ -3,19 +3,23 @@ Summary(pl):  System konfiguracyjnej bazy danych dla GNOME2
 Summary(pt_BR):        Sistema de ConfiguraĆ§Ć£o do GNOME2
 Name:          GConf2
 Version:       1.2.1
-Release:       1
+Release:       6
 License:       LGPL
 Group:         X11/Applications
-Source0:       ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/GConf/GConf-%{version}.tar.bz2
+Source0:       ftp://ftp.gnome.org/pub/GNOME/sources/GConf/1.2/GConf-%{version}.tar.bz2
 Patch0:                %{name}-NO_MAJOR_VERSION.patch
 Patch1:                %{name}-am.patch
+Patch2:                %{name}-path.patch
+Patch3:                %{name}-unlock-dialog.patch
 URL:           http://www.gnome.org/
 BuildRequires: ORBit2-devel
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: bonobo-activation-devel >= 1.0.3
-#BuildRequires:        db3-devel
 BuildRequires: gettext-devel
 BuildRequires: gtk+2-devel >= 2.0.6
 BuildRequires: glib2-devel >= 2.0.6
+BuildRequires: libtool
 BuildRequires: libxml2-devel
 BuildRequires: pkgconfig
 BuildRequires: popt-devel
@@ -83,29 +87,36 @@ Bibliotecas est
 %setup -q -n GConf-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 rm -f missing acinclude.m4
 %{__libtoolize}
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --enable-gtk-doc \
-       --with-html-dir=%{_gtkdocdir}
+       --with-html-dir=%{_gtkdocdir} \
+%ifarch ppc
+       --disable-gtk-doc 
+%else
+       --enable-gtk-doc 
+%endif
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
-install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        pkgconfigdir=%{_pkgconfigdir} \
        HTML_DIR=%{_gtkdocdir} 
        
+install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
+
 %find_lang %{name}
 
 %clean
@@ -116,6 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS README
 %attr(755,root,root) %{_bindir}/gconf*
 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
 %attr(755,root,root) %{_libdir}/gconfd-2
@@ -128,7 +140,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 # outdated and almost empty
 #doc NEWS
-%doc AUTHORS ChangeLog TODO README
+%doc ChangeLog TODO
 %attr(755,root,root) %{_libdir}/lib*.??
 %attr(755,root,root) %{_libdir}/GConf2/lib*.la
 %doc %{_gtkdocdir}/gconf
This page took 0.057587 seconds and 4 git commands to generate.