Accepting request 158732 from GNOME:Next

Push from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/158732
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calculator?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2013-03-13 19:55:02 +00:00 committed by Git OBS Bridge
commit 3ce2cb37c5
5 changed files with 1386 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd49b16283d20af8d0e240b538eeb910ab76418bbe1b1a6fcfc4f0ce25e9caf8
size 1052112

1274
gnome-calculator.changes Normal file

File diff suppressed because it is too large Load Diff

85
gnome-calculator.spec Normal file
View File

@ -0,0 +1,85 @@
#
# spec file for package gnome-calculator
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-calculator
Version: 3.7.91
Release: 0
Summary: A GNOME Calculator Application
License: GPL-2.0+
Group: Productivity/Scientific/Math
Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-calculator/3.7/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0) >= 2.31
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
BuildRequires: pkgconfig(libxml-2.0)
Recommends: %{name}-lang
# gcactool was renamed to gnome-calculator. Last known version was 6.6.2
Obsoletes: gcalctool <= 6.6.2
# gconftool-lang package should be obsoleted, obviously by the -lang package, but that's not possible.
# So for an easy upgrade path, we obsolete it in the main package.
Obsoletes: gcalctool-lang <= 6.6.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
A GNOME calculator package based on calctool and MP library.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file %{name} Calculator
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc COPYING NEWS
%doc %{_datadir}/help/C/%{name}
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/%{name}
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
%doc %{_mandir}/man?/*.*
%files lang -f %{name}.lang
%changelog