Группа :: Система/X11
Пакет: gtkperf
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: gtkperf
Summary: GTK+ performance tester
Summary(ru_RU.UTF-8): пёя┌п╦п╩п╦я┌п╟ п╢п╩я▐ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌п╦ п╪п╬п╢я┐п╩п╣п╧ п©я─п╬я─п╦я│п╬п╡п╨п╦ GTK+
Version: 0.40
Release: alt1.qa3
License: GPLv2
Group: System/X11
Source0: %{name}-%{version}.tar.gz
Source1: gtkperf.desktop
URL: http://gtkperf.sourceforge.net/
Packager: Denis Koryavov <dkoryavov at altlinux.org>
BuildRequires: gcc-c++ gcc-fortran desktop-file-utils libgtk+2-devel
%description
GtkPerf is an application designed to test GTK+ performance. The point
is to create common testing platform to run predefined GTK+ widgets
and this way define the speed of device/platform.
%description -l ru_RU.UTF-8
п■п╟п╫п╫я▀п╧ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╡ я│п╣п╠п╣ я┐я┌п╦п╩п╦я┌я┐ GtkPerf п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫п╫я┐я▌ п╢п╩я▐ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐
п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌п╦ п╪п╬п╢я┐п╩п╣п╧ п©я─п╬я─п╦я│п╬п╡п╨п╦ GTK+.
%prep
%setup -q
%build
%configure
# Do not run autoheader
touch ./stamp-h*
# A bug in configure.in makes CFLAGS to be overwritten with an empty string
# so set CFLAGS in make
make CFLAGS="%{optflags}"
# Changelog must be converted to utf8
rm -f ./ChangeLog.utf8
iconv -f ISO-8859-1 -t utf8 ./ChangeLog -o ChangeLog.utf8
mv -f ChangeLog.utf8 ./ChangeLog
%install
%makeinstall_std
desktop-file-install --vendor="altlinux" \
--dir=%{buildroot}%{_datadir}/applications\
%{SOURCE1}
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=System \
--add-category=Development \
--add-category=Profiling \
%buildroot%_desktopdir/altlinux-gtkperf.desktop
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README COPYING
%{_bindir}/*
%{_datadir}/pixmaps/*.png
%{_datadir}/applications/*
%changelog
…
Полный changelog можно просмотреть здесь
Summary: GTK+ performance tester
Summary(ru_RU.UTF-8): пёя┌п╦п╩п╦я┌п╟ п╢п╩я▐ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌п╦ п╪п╬п╢я┐п╩п╣п╧ п©я─п╬я─п╦я│п╬п╡п╨п╦ GTK+
Version: 0.40
Release: alt1.qa3
License: GPLv2
Group: System/X11
Source0: %{name}-%{version}.tar.gz
Source1: gtkperf.desktop
URL: http://gtkperf.sourceforge.net/
Packager: Denis Koryavov <dkoryavov at altlinux.org>
BuildRequires: gcc-c++ gcc-fortran desktop-file-utils libgtk+2-devel
%description
GtkPerf is an application designed to test GTK+ performance. The point
is to create common testing platform to run predefined GTK+ widgets
and this way define the speed of device/platform.
%description -l ru_RU.UTF-8
п■п╟п╫п╫я▀п╧ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╡ я│п╣п╠п╣ я┐я┌п╦п╩п╦я┌я┐ GtkPerf п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫п╫я┐я▌ п╢п╩я▐ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐
п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌п╦ п╪п╬п╢я┐п╩п╣п╧ п©я─п╬я─п╦я│п╬п╡п╨п╦ GTK+.
%prep
%setup -q
%build
%configure
# Do not run autoheader
touch ./stamp-h*
# A bug in configure.in makes CFLAGS to be overwritten with an empty string
# so set CFLAGS in make
make CFLAGS="%{optflags}"
# Changelog must be converted to utf8
rm -f ./ChangeLog.utf8
iconv -f ISO-8859-1 -t utf8 ./ChangeLog -o ChangeLog.utf8
mv -f ChangeLog.utf8 ./ChangeLog
%install
%makeinstall_std
desktop-file-install --vendor="altlinux" \
--dir=%{buildroot}%{_datadir}/applications\
%{SOURCE1}
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=System \
--add-category=Development \
--add-category=Profiling \
%buildroot%_desktopdir/altlinux-gtkperf.desktop
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README COPYING
%{_bindir}/*
%{_datadir}/pixmaps/*.png
%{_datadir}/applications/*
%changelog
…
Полный changelog можно просмотреть здесь