|
|
9798e2 |
Name: gnome-calculator
|
|
|
9798e2 |
Version: 3.8.2
|
|
|
0f6c41 |
Release: 4%{?dist}
|
|
|
9798e2 |
Summary: A desktop calculator
|
|
|
9798e2 |
|
|
|
9798e2 |
Group: Applications/System
|
|
|
9798e2 |
License: GPLv2+
|
|
|
9798e2 |
URL: http://live.gnome.org/Gcalctool
|
|
|
9798e2 |
#VCS: git:git://git.gnome.org/gcalctool
|
|
|
9798e2 |
Source0: http://download.gnome.org/sources/%{name}/3.8/%{name}-%{version}.tar.xz
|
|
|
9798e2 |
|
|
|
0f6c41 |
Patch0: gnome-calculator-translations.patch
|
|
|
0f6c41 |
|
|
|
9798e2 |
BuildRequires: glib2-devel
|
|
|
9798e2 |
BuildRequires: gtk3-devel
|
|
|
9798e2 |
BuildRequires: libsoup-devel
|
|
|
9798e2 |
BuildRequires: desktop-file-utils
|
|
|
9798e2 |
BuildRequires: gettext
|
|
|
9798e2 |
BuildRequires: flex
|
|
|
9798e2 |
BuildRequires: bison
|
|
|
9798e2 |
BuildRequires: intltool
|
|
|
9798e2 |
BuildRequires: itstool
|
|
|
9798e2 |
|
|
|
9798e2 |
Requires(post): glib2
|
|
|
9798e2 |
Requires(postun): glib2
|
|
|
9798e2 |
|
|
|
9798e2 |
Provides: gcalctool = 6.6.2-3
|
|
|
9798e2 |
Obsoletes: gcalctool < 6.6.2-3
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%description
|
|
|
9798e2 |
gnome-calculator is a powerful graphical calculator with financial,
|
|
|
9798e2 |
logical and scientific modes. It uses a multiple precision package
|
|
|
9798e2 |
to do its arithmetic to give a high degree of accuracy.
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%prep
|
|
|
9798e2 |
%setup -q
|
|
|
9798e2 |
|
|
|
0f6c41 |
%patch0 -p2 -b .translations
|
|
|
0f6c41 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%build
|
|
|
9798e2 |
%configure
|
|
|
9798e2 |
make %{?_smp_mflags}
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%install
|
|
|
9798e2 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
9798e2 |
|
|
|
9798e2 |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcalctool.desktop
|
|
|
9798e2 |
|
|
|
9798e2 |
%find_lang %{name} --with-gnome --all-name
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%postun
|
|
|
9798e2 |
if [ $1 -eq 0 ] ; then
|
|
|
9798e2 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
9798e2 |
fi
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%posttrans
|
|
|
9798e2 |
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%files -f %{name}.lang
|
|
|
9798e2 |
%doc COPYING NEWS
|
|
|
9798e2 |
%{_bindir}/gcalccmd
|
|
|
9798e2 |
%{_bindir}/gnome-calculator
|
|
|
9798e2 |
%{_datadir}/applications/gcalctool.desktop
|
|
|
9798e2 |
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
|
|
|
9798e2 |
%{_datadir}/gnome-calculator
|
|
|
9798e2 |
%doc %{_mandir}/man1/gnome-calculator.1.gz
|
|
|
9798e2 |
%doc %{_mandir}/man1/gcalccmd.1.gz
|
|
|
9798e2 |
|
|
|
9798e2 |
|
|
|
9798e2 |
%changelog
|
|
|
0f6c41 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.2-4
|
|
|
0f6c41 |
- Mass rebuild 2014-01-24
|
|
|
0f6c41 |
|
|
|
0f6c41 |
* Wed Jan 22 2014 Alexander Larsson <alexl@redhat.com> - 3.8.2-3
|
|
|
0f6c41 |
- Add missing translations
|
|
|
0f6c41 |
Resolves: rhbz#1030337
|
|
|
0f6c41 |
|
|
|
0f6c41 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.2-2
|
|
|
0f6c41 |
- Mass rebuild 2013-12-27
|
|
|
0f6c41 |
|
|
|
9798e2 |
* Mon May 13 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.2-1
|
|
|
9798e2 |
- Update to 3.8.2
|
|
|
9798e2 |
|
|
|
9798e2 |
* Mon Apr 15 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
|
|
|
9798e2 |
- Update to 3.8.1
|
|
|
9798e2 |
|
|
|
9798e2 |
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
|
|
|
9798e2 |
- Update to 3.8.0
|
|
|
9798e2 |
|
|
|
9798e2 |
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.92-1
|
|
|
9798e2 |
- Update to 3.7.92
|
|
|
9798e2 |
|
|
|
9798e2 |
* Thu Mar 7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
|
|
|
9798e2 |
- Update to 3.7.91
|
|
|
9798e2 |
|
|
|
9798e2 |
* Fri Feb 22 2013 Adel Gadllah <adel.gadllah@gmail.com> - 3.7.90-2
|
|
|
9798e2 |
- Bump obsolete (mass rebuild bumped the gcalcool nevr)
|
|
|
9798e2 |
|
|
|
9798e2 |
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-1
|
|
|
9798e2 |
- Update to 3.7.90
|
|
|
9798e2 |
|
|
|
9798e2 |
* Wed Feb 06 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-1
|
|
|
9798e2 |
- Update to 3.7.5
|
|
|
9798e2 |
|
|
|
9798e2 |
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-2
|
|
|
9798e2 |
- Fix keyword translations in desktop file
|
|
|
9798e2 |
|
|
|
9798e2 |
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
|
|
|
9798e2 |
- Renamed package from gcalctool to gnome-calculator
|