gnome-calculator/gnome-calculator.spec

105 lines
2.6 KiB
RPMSpec
Raw Normal View History

2013-01-18 13:01:02 +00:00
Name: gnome-calculator
2013-06-02 16:57:21 +00:00
Version: 3.9.2
2013-03-07 14:06:25 +00:00
Release: 1%{?dist}
2013-01-18 13:01:02 +00:00
Summary: A desktop calculator
Group: Applications/System
License: GPLv2+
URL: http://live.gnome.org/Gcalctool
#VCS: git:git://git.gnome.org/gcalctool
2013-06-02 16:57:21 +00:00
Source0: http://download.gnome.org/sources/%{name}/3.9/%{name}-%{version}.tar.xz
2013-01-18 13:01:02 +00:00
BuildRequires: glib2-devel
BuildRequires: gtk3-devel
BuildRequires: libsoup-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: flex
BuildRequires: bison
BuildRequires: intltool
BuildRequires: itstool
Requires(post): glib2
Requires(postun): glib2
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
make install DESTDIR=$RPM_BUILD_ROOT
2013-03-20 22:01:57 +00:00
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcalctool.desktop
2013-01-18 13:01:02 +00:00
%find_lang %{name} --with-gnome --all-name
%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
2013-03-20 22:01:57 +00:00
%{_datadir}/applications/gcalctool.desktop
2013-01-18 13:01:02 +00:00
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
%doc %{_mandir}/man1/gnome-calculator.1.gz
%doc %{_mandir}/man1/gcalccmd.1.gz
%changelog
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