[mate-calc] update to 1.5.1 release
leigh123linux
leigh123linux at fedoraproject.org
Sun Nov 25 11:19:35 UTC 2012
commit c323ebd25380f363f73fd81b24b7e5f3554562f5
Author: leigh123linux <leigh123linux at googlemail.com>
Date: Sun Nov 25 11:19:22 2012 +0000
update to 1.5.1 release
.gitignore | 1 +
mate-calc.spec | 38 ++++++++++++++++++++++++++------------
sources | 2 +-
3 files changed, 28 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c901c47..c7f832d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/mate-calc-1.5.0.tar.xz
+/mate-calc-1.5.1.tar.gz
diff --git a/mate-calc.spec b/mate-calc.spec
index 4afd0e6..110ed8e 100644
--- a/mate-calc.spec
+++ b/mate-calc.spec
@@ -1,31 +1,37 @@
Name: mate-calc
-Version: 1.5.0
+Version: 1.5.1
Release: 1%{?dist}
Summary: MATE Desktop calculator
License: GPLv2+
URL: http://mate-desktop.org
-Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+#Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+Source0: https://github.com/mate-desktop/mate-calc/archive/%{name}-%{version}.tar.gz
-BuildRequires: gtk2-devel libxml2-devel mate-common mate-doc-utils bison flex mate-desktop-devel rarian-devel rarian-compat desktop-file-utils
+BuildRequires: gtk2-devel
+BuildRequires: libxml2-devel
+BuildRequires: mate-common
+BuildRequires: mate-doc-utils
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: mate-desktop-devel
+BuildRequires: desktop-file-utils
%description
-MATE Desktop calculator
+mate-calc 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
+%setup -q -n %{name}-%{name}-%{version}
NOCONFIGURE=1 ./autogen.sh
%build
-%configure --disable-scrollkeeper --disable-schemas-compile --with-gtk=2.0
+%configure --disable-schemas-compile
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot}
-find %{buildroot} -name '*.la' -exec rm -rf {} ';'
-find %{buildroot} -name '*.a' -exec rm -rf {} ';'
-%find_lang %{name} --all-name
desktop-file-install \
@@ -35,6 +41,8 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/*.desktop
+%find_lang %{name} --all-name
+
%postun
if [ $1 -eq 0 ] ; then
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
@@ -50,10 +58,16 @@ fi
%{_bindir}/mate-calc-cmd
%{_bindir}/mate-calculator
%{_datadir}/applications/mate-calc.desktop
-%{_datadir}/glib-2.0/schemas/org.mate.mate-calc.gschema.xml
-%{_datadir}/mate-calc
-%{_datadir}/mate/help/mate-calc
+%{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
+%{_datadir}/mate-calc/
%changelog
+* Sun Nov 25 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.5.1-1
+- update to 1.5.1 release
+- specfile cleanup
+- add more descriptive %%description section
+- remove unused configure options
+- remove unused build requires
+
* Mon Nov 12 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.5.0-1
- Initial build
diff --git a/sources b/sources
index 0a1041d..b21f13f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70cac389a172dcbf47dcf9406952a2c3 mate-calc-1.5.0.tar.xz
+846db72a3c0f0548f65eb2d9bb5be56a mate-calc-1.5.1.tar.gz
More information about the scm-commits
mailing list