galculator/galculator.spec

Name: galculator
Summary: Graphical scientific calculator
Version: 2.0
Release: 1
License: GPL
Group: Applications/Engineering
URL: http://galculator.sourceforge.net/
Description: galculator is a scientific calculator. It supports different number bases (DEC/HEX/OCT/BIN) and angle units (DEG/RAD/GRAD) and features a wide range of mathematical (basic arithmetic operations, trigonometric functions, etc) and other useful functions (memory, etc) at the moment. galculator can be used in algebraic mode as well as in Reverse Polish Notation.

CentOS 7 x86_64

The build could not start because the following file is missing: galculator-2.0.tar.bz2

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: galculator-2.0.tar.bz2

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Simon Floery <simon,floery$gmx,at>

Summary: Graphical scientific calculator
Name: galculator
Version: 2.0
Release: 1%{?dist}
License: GPL
Group: Applications/Engineering
URL: http://galculator.sourceforge.net/

Source: http://dl.sf.net/galculator/galculator-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gettext
BuildRequires: gtk2-devel >= 2.6
BuildRequires: intltool
BuildRequires: libglade2-devel >= 2.6
BuildRequires: perl(XML::Parser)

%description
galculator is a scientific calculator. It supports different number
bases (DEC/HEX/OCT/BIN) and angle units (DEG/RAD/GRAD) and features
a wide range of mathematical (basic arithmetic operations,
trigonometric functions, etc) and other useful functions (memory, etc)
at the moment. galculator can be used in algebraic mode as well as in
Reverse Polish Notation.

%prep
%setup

%{__perl} -pi -e 's|Icon=gnome-calc2.png|Icon=galculator|' galculator.desktop.in

%build
%configure --disable-gtk3
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO doc/shortcuts
%doc %{_mandir}/man1/galculator.1*
%{_bindir}/galculator
%{_datadir}/applications/galculator.desktop
%{_datadir}/galculator/
%{_datadir}/pixmaps/galculator.xpm
%{_datadir}/icons/hicolor/*/apps/galculator.png
%{_datadir}/icons/hicolor/*/apps/galculator.svg

%changelog
* Thu Oct 25 2012 Dag Wieers <dag@wieers.com> - 2.0-1
- Updated to release 2.0.

* Sun Feb 08 2009 Dag Wieers <dag@wieers.com> - 1.3.4-1
- Updated to release 1.3.4.

* Tue Jan 06 2009 Dag Wieers <dag@wieers.com> - 1.3.2-1
- Updated to release 1.3.2.

* Wed Jul 23 2008 Dag Wieers <dag@wieers.com> - 1.3.1-2
- Replaced Gnome icon by Galculator icon.

* Fri Sep 28 2007 Dag Wieers <dag@wieers.com> - 1.3.1-1
- Updated to release 1.3.1.

* Sat Sep 08 2007 Dag Wieers <dag@wieers.com> - 1.3-1
- Updated to release 1.3.

* Mon Apr 03 2006 Dag Wieers <dag@wieers.com> - 1.2.5.2-1
- Updated to release 1.2.5.2.

* Sun May 08 2005 Dag Wieers <dag@wieers.com> - 1.2.5-1
- Updated to release 1.2.5.

* Thu May 27 2004 Dag Wieers <dag@wieers.com> - 1.2.3-1
- Updated to release 1.2.3.

* Thu Apr 01 2004 Dag Wieers <dag@wieers.com> - 1.2.2-1
- Updated to release 1.2.2.

* Sun Mar 21 2004 Dag Wieers <dag@wieers.com> - 1.2.1-1
- Updated to release 1.2.1.

* Thu Mar 11 2004 Dag Wieers <dag@wieers.com> - 1.2.0-1
- Updated to release 1.2.0.

* Mon Nov 17 2003 Dag Wieers <dag@wieers.com> - 1.1.4-0
- Updated to release 1.1.4.

* Sun Aug 31 2003 Dag Wieers <dag@wieers.com> - 1.1.3-0
- Updated to release 1.1.3.

* Mon Jul 07 2003 Dag Wieers <dag@wieers.com> - 1.1.2-0
- Updated to release 1.1.2.

* Tue Jun 24 2003 Dag Wieers <dag@wieers.com> - 1.1.1-0
- Updated to release 1.1.1.

* Sun Jun 22 2003 Dag Wieers <dag@wieers.com> - 1.1.0-0
- Updated to release 1.1.0.

* Tue Apr 24 2003 Dag Wieers <dag@wieers.com> - 1.0-0
- Updated to release 1.0.

* Sat Mar 29 2003 Dag Wieers <dag@wieers.com> - 0.9.91-0
- Initial package. (using DAR)