Group :: Sciences/Mathematics
RPM: galculator
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: galculator
Version: 2.1.4
Release: alt2
Summary: GTK3 based scientific calculator
License: GPL-2.0
Group: Sciences/Mathematics
Url: http://galculator.mnim.org
Source: %url/downloads/%name-%version.tar.gz
Source100: galculator.watch
Patch: galculator-1.3.4-alt-desktop.patch
Patch1: %name-2.1.4-alt-gcc10.patch
BuildRequires: flex intltool libgtk+3-devel
%description
Galculator is a GTK3 based scientific RPN calculator
%prep
%setup
%patch -p1
%patch1 -b .gcc10
%build
%configure
%make_build
%install
%makeinstall_std
%find_lang --with-gnome %name
install -pD pixmaps/%name.svg \
%buildroot%_iconsdir/hicolor/scalable/apps/%name.svg
install -pD pixmaps/%name.png \
%buildroot%_liconsdir/%name.png
install -pD pixmaps/%name.xpm \
%buildroot%_liconsdir/%name.xpm
rm -rf %buildroot%_pixmapsdir/
%files -f %name.lang
%_bindir/*
%_desktopdir/*
%_iconsdir/hicolor/scalable/apps/%name.svg
%_liconsdir/%name.png
%_liconsdir/%name.xpm
%_datadir/%name
%_datadir/appdata/*.xml
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README THANKS
# TODO:
# - 32x32 and 16x16? (%%_niconsdir and %%_miconsdir)
%changelog
…
Full changelog you can see here
Version: 2.1.4
Release: alt2
Summary: GTK3 based scientific calculator
License: GPL-2.0
Group: Sciences/Mathematics
Url: http://galculator.mnim.org
Source: %url/downloads/%name-%version.tar.gz
Source100: galculator.watch
Patch: galculator-1.3.4-alt-desktop.patch
Patch1: %name-2.1.4-alt-gcc10.patch
BuildRequires: flex intltool libgtk+3-devel
%description
Galculator is a GTK3 based scientific RPN calculator
%prep
%setup
%patch -p1
%patch1 -b .gcc10
%build
%configure
%make_build
%install
%makeinstall_std
%find_lang --with-gnome %name
install -pD pixmaps/%name.svg \
%buildroot%_iconsdir/hicolor/scalable/apps/%name.svg
install -pD pixmaps/%name.png \
%buildroot%_liconsdir/%name.png
install -pD pixmaps/%name.xpm \
%buildroot%_liconsdir/%name.xpm
rm -rf %buildroot%_pixmapsdir/
%files -f %name.lang
%_bindir/*
%_desktopdir/*
%_iconsdir/hicolor/scalable/apps/%name.svg
%_liconsdir/%name.png
%_liconsdir/%name.xpm
%_datadir/%name
%_datadir/appdata/*.xml
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README THANKS
# TODO:
# - 32x32 and 16x16? (%%_niconsdir and %%_miconsdir)
%changelog
…
Full changelog you can see here