ALT Linux repositórios
Group :: Desktop gráfico/GNOME
RPM: gconf-editor
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver_major 2.16
Name: gconf-editor
Version: %ver_major.0
Release: alt1
Summary: An editor for the GConf configuration system.
License: GPL
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define GConf_ver 2.9.2
%define gtk_ver 2.5.5
PreReq: GConf2 >= %GConf_ver
# From configure.in
BuildPreReq: intltool >= 0.34.90
BuildPreReq: perl-XML-Parser
BuildPreReq: libGConf2-devel >= %GConf_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgnome-devel >= 2.14.0
BuildPreReq: libgnomeui-devel >= 2.5.4
BuildRequires: scrollkeeper gnome-doc-utils gnome-common
%description
An editor for the GConf configuration system.
Directly edit your entire configuration database.
%define _sklocalstatedir %_localstatedir/scrollkeeper
%prep
%setup -q
%build
%configure --disable-scrollkeeper --disable-schemas-install
%make_build
%install
%makeinstall
#_sklocalstatedir=%buildroot%_sklocalstatedir
%find_lang --with-gnome %name
%post
%gconf2_install %name
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi
%files -f %name.lang
%_bindir/*
%_datadir/applications/*
%_iconsdir/hicolor/48x48/apps/gconf-editor.png
%_datadir/pixmaps/*
%_man1dir/*
%config %_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog README
#exclude %_sklocalstatedir
%changelog
…
Todas as alterações você pod ver aqui
Name: gconf-editor
Version: %ver_major.0
Release: alt1
Summary: An editor for the GConf configuration system.
License: GPL
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define GConf_ver 2.9.2
%define gtk_ver 2.5.5
PreReq: GConf2 >= %GConf_ver
# From configure.in
BuildPreReq: intltool >= 0.34.90
BuildPreReq: perl-XML-Parser
BuildPreReq: libGConf2-devel >= %GConf_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgnome-devel >= 2.14.0
BuildPreReq: libgnomeui-devel >= 2.5.4
BuildRequires: scrollkeeper gnome-doc-utils gnome-common
%description
An editor for the GConf configuration system.
Directly edit your entire configuration database.
%define _sklocalstatedir %_localstatedir/scrollkeeper
%prep
%setup -q
%build
%configure --disable-scrollkeeper --disable-schemas-install
%make_build
%install
%makeinstall
#_sklocalstatedir=%buildroot%_sklocalstatedir
%find_lang --with-gnome %name
%post
%gconf2_install %name
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi
%files -f %name.lang
%_bindir/*
%_datadir/applications/*
%_iconsdir/hicolor/48x48/apps/gconf-editor.png
%_datadir/pixmaps/*
%_man1dir/*
%config %_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog README
#exclude %_sklocalstatedir
%changelog
…
Todas as alterações você pod ver aqui