1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
%if %{!?_desktopdir:1}
%define _desktopdir %{_datadir}/applications
%endif
Name: grpn
Version: 1.4.1
Release: 1%{?dist}
Summary: A RPN calcuator for real and complex numbers with a GTK / X11 GUI
Group: Applications/System
License: GPL
URL: https://github.com/getreu/grpn
Source0: %{name}-%{version}.tar.bz2
BuildRequires: gtk2-devel, pango-devel
%description
GTK+ reverse polish notation calculator grpn is an RPN calculator
which uses the GTK+ widgets. It works with real and complex numbers,
has 4 different radix modes, supports general math functions along
with logarithmic and trigonometric functions. Calculator stack is
only limited by free memory.
%prep
%setup -q -n %{name}
%build
cd src
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
cd src
%make_install PREFIX=%{_prefix} MANDIR=%{_mandir}
%{__install} -D debian/grpn.desktop %{?buildroot}/%{_desktopdir}/grpn.desktop
%{__install} -D debian/grpn.xpm %{?buildroot}/%{_pixmapsdir}/grpn.xpm
%files
%doc src/LICENSE src/CHANGES src/README
%{_bindir}/%{name}
%{_mandir}/*/%{name}*
%{_desktopdir}/grpn.desktop
%{_pixmapsdir}/grpn.xpm
%changelog
* Sat Oct 26 2013 Nathaniel Clark <Nathaniel.Clark@misrule.us> - 1.3.4-1
- Initial Spec File
|