Group :: Ciências/Matemática
RPM: galculator
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define tarver 1.3.0
Name: galculator
Version: 1.3
Release: alt1.M41.1
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
BuildRequires: rpm-build-compat >= 0.95
%description
Galculator is a GTK 2 based scientific RPN calculator.
%prep
%setup -q -n %name-%tarver
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
%post
%update_menus
%postun
%clean_menus
%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
Name: galculator
Version: 1.3
Release: alt1.M41.1
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
BuildRequires: rpm-build-compat >= 0.95
%description
Galculator is a GTK 2 based scientific RPN calculator.
%prep
%setup -q -n %name-%tarver
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
%post
%update_menus
%postun
%clean_menus
%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