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 48
|
Summary: GTK 2 based scientific calculator
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Copyright: GPL
Group: Application/Math
Source: http://prdownloads.sourceforge.net/galculator/galculator-@VERSION@.tar.gz?download
Packager: Victor Soroka <gbs@tnss.kharkov.ua>
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRequires: gtk2-devel >= 2.0.0
%description
galculator is a GTK 2 based scientific calculator with "ordinary" and reverse polish notation.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS"
%configure
%install
rm -rf $RPM_BUILD_ROOT
make -k DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
strip -s $RPM_BUILD_ROOT%{_bindir}/galculator
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc %attr(0644, root, root) AUTHORS ChangeLog NEWS README COPYING TODO
%{_bindir}/galculator
%{_datadir}/applications/galculator.desktop
%{_datadir}/galculator/glade/*.glade
%{_datadir}/locale/*
%{_mandir}/man1/%{name}.1*
%changelog
* Sat Nov 15 2003 Simon Floery <chimaira@users.sf.net>
- applied patch by Filippo
* Thu Oct 3 2002 Simon Floery <chimaira@users.sf.net>
- description update
|