2013-01-18 13:01:02 +00:00
|
|
|
Name: gnome-calculator
|
2015-03-03 15:20:32 +00:00
|
|
|
Version: 3.15.91
|
2014-08-19 11:37:02 +00:00
|
|
|
Release: 1%{?dist}
|
2013-01-18 13:01:02 +00:00
|
|
|
Summary: A desktop calculator
|
|
|
|
|
|
|
|
Group: Applications/System
|
2015-02-16 23:08:57 +00:00
|
|
|
License: GPLv3+
|
2015-01-23 09:58:33 +00:00
|
|
|
URL: https://wiki.gnome.org/Apps/Calculator
|
2013-01-18 13:01:02 +00:00
|
|
|
#VCS: git:git://git.gnome.org/gcalctool
|
2015-01-23 09:58:33 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/3.15/%{name}-%{version}.tar.xz
|
2014-09-16 11:39:16 +00:00
|
|
|
|
2015-01-23 10:25:44 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2013-01-18 13:01:02 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: itstool
|
2015-01-23 09:58:04 +00:00
|
|
|
BuildRequires: mpfr-devel
|
2015-01-23 10:33:25 +00:00
|
|
|
BuildRequires: /usr/bin/appstream-util
|
2013-01-18 13:01:02 +00:00
|
|
|
|
2013-02-22 10:54:21 +00:00
|
|
|
Provides: gcalctool = 6.6.2-3
|
|
|
|
Obsoletes: gcalctool < 6.6.2-3
|
2013-01-18 13:01:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
gnome-calculator is a powerful graphical calculator with financial,
|
|
|
|
logical and scientific modes. It uses a multiple precision package
|
|
|
|
to do its arithmetic to give a high degree of accuracy.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2015-01-23 10:44:58 +00:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
2015-01-23 10:33:25 +00:00
|
|
|
%find_lang %{name} --with-gnome --all-name
|
2013-01-18 13:01:02 +00:00
|
|
|
|
|
|
|
|
2015-01-23 10:33:25 +00:00
|
|
|
%check
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/gnome-calculator.appdata.xml
|
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/gnome-calculator.desktop
|
2013-01-18 13:01:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc COPYING NEWS
|
|
|
|
%{_bindir}/gcalccmd
|
|
|
|
%{_bindir}/gnome-calculator
|
2014-07-17 08:54:57 +00:00
|
|
|
%{_libexecdir}/gnome-calculator-search-provider
|
2014-09-16 11:25:25 +00:00
|
|
|
%{_datadir}/appdata/gnome-calculator.appdata.xml
|
2014-03-08 19:18:57 +00:00
|
|
|
%{_datadir}/applications/gnome-calculator.desktop
|
2014-07-17 08:54:57 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Calculator.SearchProvider.service
|
2013-01-18 13:01:02 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
|
2014-07-17 08:54:57 +00:00
|
|
|
%{_datadir}/gnome-shell/
|
2015-01-23 09:59:39 +00:00
|
|
|
%{_mandir}/man1/gnome-calculator.1*
|
|
|
|
%{_mandir}/man1/gcalccmd.1*
|
2013-01-18 13:01:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-03-03 15:20:32 +00:00
|
|
|
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
|
|
|
|
- Update to 3.15.91
|
|
|
|
|
2015-02-16 23:08:57 +00:00
|
|
|
* Mon Feb 16 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.15.4-1
|
|
|
|
- Update license tag to GPLv3+
|
|
|
|
|
2015-01-23 09:58:04 +00:00
|
|
|
* Fri Jan 23 2015 David King <amigadave@amigadave.com> - 3.15.4-1
|
|
|
|
- Update to 3.15.4
|
2015-01-23 09:58:33 +00:00
|
|
|
- Update URL
|
2015-01-23 09:59:39 +00:00
|
|
|
- Update man page globs in files section
|
2015-01-23 10:25:44 +00:00
|
|
|
- Use pkgconfig for BuildRequires
|
2015-01-23 10:28:18 +00:00
|
|
|
- Remove obsolete glib2 dependencies for GSettings schema
|
2015-01-23 10:33:25 +00:00
|
|
|
- Validate AppData in check
|
2015-01-23 10:44:58 +00:00
|
|
|
- Preserve timestamps during install
|
2015-01-23 09:58:04 +00:00
|
|
|
|
2014-12-19 10:54:19 +00:00
|
|
|
* Fri Dec 19 2014 Richard Hughes <rhughes@redhat.com> - 3.15.1-1
|
|
|
|
- Update to 3.15.1
|
|
|
|
|
2014-10-26 11:43:11 +00:00
|
|
|
* Sun Oct 26 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
|
|
|
|
- Update to 3.14.1
|
|
|
|
|
2014-09-22 20:58:06 +00:00
|
|
|
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
|
|
|
|
- Update to 3.14.0
|
|
|
|
|
2014-09-16 11:25:05 +00:00
|
|
|
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
|
|
|
|
- Update to 3.13.92
|
|
|
|
|
2014-08-19 11:37:02 +00:00
|
|
|
* Tue Aug 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
|
|
|
|
- Update to 3.13.90
|
|
|
|
|
2014-08-16 17:35:35 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-17 08:54:57 +00:00
|
|
|
* Thu Jul 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-1
|
|
|
|
- Update to 3.13.3
|
|
|
|
- Drop an upstreamed patch
|
|
|
|
- Include new gnome-shell search provider
|
|
|
|
|
2014-06-07 16:57:51 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-28 21:53:39 +00:00
|
|
|
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
|
|
|
|
- Update to 3.13.2
|
|
|
|
|
2014-04-10 09:49:18 +00:00
|
|
|
* Thu Apr 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
|
|
|
|
- Update to 3.12.1
|
|
|
|
|
2014-03-24 21:41:41 +00:00
|
|
|
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
|
|
|
|
- Update to 3.12.0
|
|
|
|
|
2014-03-18 19:13:53 +00:00
|
|
|
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
|
|
|
|
- Update to 3.11.92
|
|
|
|
|
2014-03-08 18:06:28 +00:00
|
|
|
* Sat Mar 08 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
|
|
|
|
- Update to 3.11.91
|
|
|
|
|
2014-02-18 19:13:02 +00:00
|
|
|
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
|
|
|
|
- Update to 3.11.90
|
|
|
|
|
2014-02-04 12:00:16 +00:00
|
|
|
* Tue Feb 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-1
|
|
|
|
- Update to 3.11.5
|
|
|
|
|
2014-01-15 15:54:15 +00:00
|
|
|
* Wed Jan 15 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-1
|
|
|
|
- Update to 3.11.4
|
|
|
|
|
2013-12-17 12:23:27 +00:00
|
|
|
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
|
|
|
|
- Update to 3.11.3
|
|
|
|
|
2013-11-14 18:09:49 +00:00
|
|
|
* Thu Nov 14 2013 Richard Hughes <rhughes@redhat.com> - 3.10.2-1
|
|
|
|
- Update to 3.10.2
|
|
|
|
|
2013-10-28 22:07:02 +00:00
|
|
|
* Mon Oct 28 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
|
|
|
|
- Update to 3.10.1
|
|
|
|
|
2013-09-24 23:14:09 +00:00
|
|
|
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
|
|
|
|
- Update to 3.10.0
|
|
|
|
|
2013-09-18 09:14:09 +00:00
|
|
|
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.92-1
|
|
|
|
- Update to 3.9.92
|
|
|
|
- Include the appdata file
|
|
|
|
|
2013-08-28 15:42:16 +00:00
|
|
|
* Wed Aug 28 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
|
|
|
|
- Update to 3.9.90
|
|
|
|
|
2013-08-03 15:19:11 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-16 13:59:43 +00:00
|
|
|
* Tue Jul 16 2013 Richard Hughes <rhughes@redhat.com> - 3.9.4-1
|
|
|
|
- Update to 3.9.4
|
|
|
|
|
2013-06-20 20:57:58 +00:00
|
|
|
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.3-1
|
|
|
|
- Update to 3.9.3
|
|
|
|
|
2013-06-02 16:57:21 +00:00
|
|
|
* Sun Jun 02 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.2-1
|
|
|
|
- Update to 3.9.2
|
|
|
|
|
2013-05-14 08:39:36 +00:00
|
|
|
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
|
|
|
|
- Update to 3.8.2
|
|
|
|
|
2013-04-15 10:39:44 +00:00
|
|
|
* Mon Apr 15 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
|
|
|
|
- Update to 3.8.1
|
|
|
|
|
2013-03-26 10:17:16 +00:00
|
|
|
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
|
|
|
|
- Update to 3.8.0
|
|
|
|
|
2013-03-20 22:01:57 +00:00
|
|
|
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.92-1
|
|
|
|
- Update to 3.7.92
|
|
|
|
|
2013-03-07 14:06:25 +00:00
|
|
|
* Thu Mar 7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
|
|
|
|
- Update to 3.7.91
|
|
|
|
|
2013-02-22 10:54:21 +00:00
|
|
|
* Fri Feb 22 2013 Adel Gadllah <adel.gadllah@gmail.com> - 3.7.90-2
|
|
|
|
- Bump obsolete (mass rebuild bumped the gcalcool nevr)
|
|
|
|
|
2013-02-20 20:26:35 +00:00
|
|
|
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-1
|
|
|
|
- Update to 3.7.90
|
|
|
|
|
2013-02-05 23:49:47 +00:00
|
|
|
* Wed Feb 06 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-1
|
|
|
|
- Update to 3.7.5
|
|
|
|
|
2013-01-18 13:01:02 +00:00
|
|
|
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-2
|
|
|
|
- Fix keyword translations in desktop file
|
|
|
|
|
|
|
|
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
|
|
|
|
- Renamed package from gcalctool to gnome-calculator
|