File galculator.spec of Package galculator
#
# spec file for package galculator (Version 1.3.4)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: galculator
Summary: A GTK 2 based calculator
Version: 1.3.4
Release: 1
License: GPLv2
Group: System/GUI/GNOME
Url: http://www.nongnu.org/beaver/index.html
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf automake fdupes gcc gcc-c++ make
BuildRequires: doxygen gtk2-devel intltool pkg-config
BuildRequires: libglade2-devel update-desktop-files
%description
Galculator is a GTK 2 based calculator with ordinary notation/reverse
polish notation, a formula entry mode, different number bases
(DEC, HEX, OCT, BIN) and different units of angular measure
(DEG, RAD, GRAD).
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%suse_update_desktop_file -r %name GTK Utility Calculator
%find_lang %name
%fdupes -s %{buildroot}
%clean
%__rm -fr %buildroot
%files -f %name.lang
%defattr(-,root,root)
%_bindir/galculator
%_datadir/applications/galculator.desktop
%dir %_datadir/galculator
%dir %_datadir/galculator/glade
%_datadir/galculator/glade/*.glade
%_mandir/man1/galculator.1.gz
%_datadir/pixmaps/galculator.*
%changelog