initial import
This commit is contained in:
parent
11074f0699
commit
5f4a2b55f4
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/gnome-calculator-3.7.4.tar.xz
|
82
gnome-calculator.spec
Normal file
82
gnome-calculator.spec
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
Name: gnome-calculator
|
||||||
|
Version: 3.7.4
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: A desktop calculator
|
||||||
|
|
||||||
|
Group: Applications/System
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://live.gnome.org/Gcalctool
|
||||||
|
#VCS: git:git://git.gnome.org/gcalctool
|
||||||
|
Source0: http://download.gnome.org/sources/%{name}/3.7/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=691936
|
||||||
|
Patch0: keywords-ug.patch
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
Provides: gcalctool = 6.6.2-2
|
||||||
|
Obsoletes: gcalctool < 6.6.2-2
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
%patch0 -p1 -b .keywords
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-calculator.desktop
|
||||||
|
|
||||||
|
%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
|
||||||
|
%{_datadir}/applications/gnome-calculator.desktop
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
|
||||||
|
%{_datadir}/gnome-calculator
|
||||||
|
%doc %{_mandir}/man1/gnome-calculator.1.gz
|
||||||
|
%doc %{_mandir}/man1/gcalccmd.1.gz
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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
|
13
keywords-ug.patch
Normal file
13
keywords-ug.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/po/ug.po b/po/ug.po
|
||||||
|
index e2bccef..600df40 100644
|
||||||
|
--- a/po/ug.po
|
||||||
|
+++ b/po/ug.po
|
||||||
|
@@ -392,7 +392,7 @@ msgstr "ئارىفمېتىكىلىق، ئىلمىي ياكى ئىقتىسادى
|
||||||
|
#: ../data/gnome-calculator.desktop.in.h:3
|
||||||
|
#| msgid "Perform arithmetic, scientific or financial calculations"
|
||||||
|
msgid "calculation;arithmetic;scientific;financial;"
|
||||||
|
-msgstr "calculation;arithmetic;scientific;financial;ھېسابلاش؛"
|
||||||
|
+msgstr "calculation;arithmetic;scientific;financial;ھېسابلاش;"
|
||||||
|
|
||||||
|
#: ../data/org.gnome.calculator.gschema.xml.in.h:1
|
||||||
|
msgid "Accuracy value"
|
Loading…
Reference in New Issue
Block a user