Group :: Ciências/Matemática
RPM: galculator
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: galculator
Version: 1.3.1
Release: alt1
Summary: GTK 2 based scientific calculator
License: GPL
Group: Sciences/Mathematics
Url: http://galculator.sourceforge.net
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Packager: Michael Shigorin <mike at altlinux.org>
%define gtk_ver 2.6.4
Requires: libgtk2 >= %gtk_ver
BuildPreReq: libgtk2-devel >= %gtk_ver
BuildPreReq: menu-devel
# Automatically added by buildreq on Thu May 15 2008
BuildRequires: flex libglade-devel
%description
Galculator is a GTK 2 based scientific RPN calculator
%prep
%setup
sed -i 's/gnome-calc2.png/calc.png/' galculator.desktop.in
%build
export LDFLAGS=-export-dynamic
%configure
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%files -f %name.lang
%_bindir/*
%_datadir/applications/*
%_pixmapsdir/%name/*
%_datadir/%name
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.3.1
Release: alt1
Summary: GTK 2 based scientific calculator
License: GPL
Group: Sciences/Mathematics
Url: http://galculator.sourceforge.net
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Packager: Michael Shigorin <mike at altlinux.org>
%define gtk_ver 2.6.4
Requires: libgtk2 >= %gtk_ver
BuildPreReq: libgtk2-devel >= %gtk_ver
BuildPreReq: menu-devel
# Automatically added by buildreq on Thu May 15 2008
BuildRequires: flex libglade-devel
%description
Galculator is a GTK 2 based scientific RPN calculator
%prep
%setup
sed -i 's/gnome-calc2.png/calc.png/' galculator.desktop.in
%build
export LDFLAGS=-export-dynamic
%configure
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%files -f %name.lang
%_bindir/*
%_datadir/applications/*
%_pixmapsdir/%name/*
%_datadir/%name
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%changelog
…
Todas as alterações você pod ver aqui