From 467b84e2d42b5643f1054ace0062ba96ca1f477f657a3284e3f6066e3c219576 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 27 Aug 2024 19:43:55 +0000 Subject: [PATCH 1/2] [info=9b1934d9cd964edbc1df7166c41e81edc55d6c4f69efd283f9dff0947da54739] OBS-URL: https://build.opensuse.org/package/show/science/gperiodic?expand=0&rev=11 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + _scmsync.obsinfo | 4 +++ build.specials.obscpio | 3 +++ gperiodic-3.0.3.tar.gz | 3 +++ gperiodic.changes | 28 ++++++++++++++++++++ gperiodic.spec | 59 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 121 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio create mode 100644 gperiodic-3.0.3.tar.gz create mode 100644 gperiodic.changes create mode 100644 gperiodic.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..176422a --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1609147829 +commit: 9b1934d9cd964edbc1df7166c41e81edc55d6c4f69efd283f9dff0947da54739 +url: https://src.opensuse.org/jengelh/gperiodic +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..2f79df4 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a670dbf6f383f74e8f28073f81e8efa507a277a43eee68076a2f88124223048d +size 256 diff --git a/gperiodic-3.0.3.tar.gz b/gperiodic-3.0.3.tar.gz new file mode 100644 index 0000000..370e0f4 --- /dev/null +++ b/gperiodic-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e70128f61a311bd6b4ad129bd726ccc0e3731573cb0050201293e2a5389b29a +size 451559 diff --git a/gperiodic.changes b/gperiodic.changes new file mode 100644 index 0000000..13fe6e7 --- /dev/null +++ b/gperiodic.changes @@ -0,0 +1,28 @@ +------------------------------------------------------------------- +Thu Dec 24 12:15:21 UTC 2020 - Jan Engelhardt + +- Specfile modernization + +------------------------------------------------------------------- +Mon Dec 16 23:32:07 UTC 2019 - Jan Engelhardt + +- Update to release 3.0.3 + * Build fixes only + +------------------------------------------------------------------- +Tue Feb 21 00:03:37 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 3.0.2 + * Update info about elements with numbers 113, 115, 117, 118 +- Remove all.diff (fixed upstream) + +------------------------------------------------------------------- +Sun Mar 13 10:08:00 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.0.1 +* Update desktop file + +------------------------------------------------------------------- +Sun Mar 15 14:26:39 UTC 2015 - jengelh@inai.de + +- Initial package (version 3.0.0) for build.opensuse.org diff --git a/gperiodic.spec b/gperiodic.spec new file mode 100644 index 0000000..6896c45 --- /dev/null +++ b/gperiodic.spec @@ -0,0 +1,59 @@ +# +# spec file for package gperiodic +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: gperiodic +Version: 3.0.3 +Release: 0 +Summary: A program for looking up data of elements from the periodic table +License: GPL-2.0-or-later +Group: Productivity/Scientific/Chemistry +URL: http://gperiodic.sf.net/ + +Source: http://download.sf.net/gperiodic/%name-%version.tar.gz +BuildRequires: fdupes +BuildRequires: intltool +BuildRequires: pkgconfig(gtk+-2.0) + +%description +GPeriodic is a program for looking up data of elements from the +periodic table. This program also features a non-graphical interface. + +%lang_package + +%prep +%autosetup -p1 + +%build +%make_build CFLAGS="%optflags" + +%install +%make_install +%find_lang %name +%fdupes %buildroot/%_prefix + +%files +%_bindir/gperiodic +%_mandir/man1/gperiodic* +%_datadir/applications/gperiodic* +%_datadir/icons/* +%_datadir/pixmaps/gperiodic* +%license gpl.txt + +%files lang -f %name.lang + +%changelog From 1ae551c60b968ae161c246701f6fe8a6c19c48ace8ae6a52f49e6f58d648b65f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 2 Nov 2024 11:26:30 +0000 Subject: [PATCH 2/2] [info=957a008b261fcfabfaa3ad09072e43ed9cdddf6169289c8cd52faef9d97102a8] OBS-URL: https://build.opensuse.org/package/show/science/gperiodic?expand=0&rev=12 --- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- gcc14.patch | 21 +++++++++++++++++++++ gperiodic.changes | 5 +++++ gperiodic.spec | 2 +- 5 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 gcc14.patch diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 176422a..ae84d02 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1609147829 -commit: 9b1934d9cd964edbc1df7166c41e81edc55d6c4f69efd283f9dff0947da54739 +mtime: 1730546771 +commit: 957a008b261fcfabfaa3ad09072e43ed9cdddf6169289c8cd52faef9d97102a8 url: https://src.opensuse.org/jengelh/gperiodic revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 2f79df4..74bdbfa 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a670dbf6f383f74e8f28073f81e8efa507a277a43eee68076a2f88124223048d +oid sha256:07a0eb8aac62ddb46d115c91de334a669fc8a67eade84716f8743fd528323bb9 size 256 diff --git a/gcc14.patch b/gcc14.patch new file mode 100644 index 0000000..bb23960 --- /dev/null +++ b/gcc14.patch @@ -0,0 +1,21 @@ +From: Jan Engelhardt +Date: 2024-11-02 12:25:17.618681179 +0100 +Upstream: is-dead + +--- + gperiodic.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: gperiodic-3.0.3/gperiodic.c +=================================================================== +--- gperiodic-3.0.3.orig/gperiodic.c ++++ gperiodic-3.0.3/gperiodic.c +@@ -137,7 +137,7 @@ void display_element_dialog( GtkWidget * + if (col == 0) gtk_label_set_markup (GTK_LABEL (label), _(header.info[row])); + else { + gtk_label_set_markup (GTK_LABEL (label), _(entry->info[row])); +- gtk_label_set_selectable (label, TRUE); ++ gtk_label_set_selectable (GTK_LABEL (label), TRUE); + } + + gtk_misc_set_alignment(GTK_MISC(label), 0, 0); diff --git a/gperiodic.changes b/gperiodic.changes index 13fe6e7..08028a6 100644 --- a/gperiodic.changes +++ b/gperiodic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 2 11:25:26 UTC 2024 - Jan Engelhardt + +- Add gcc14.patch + ------------------------------------------------------------------- Thu Dec 24 12:15:21 UTC 2020 - Jan Engelhardt diff --git a/gperiodic.spec b/gperiodic.spec index 6896c45..6a9579e 100644 --- a/gperiodic.spec +++ b/gperiodic.spec @@ -23,8 +23,8 @@ Summary: A program for looking up data of elements from the periodic tabl License: GPL-2.0-or-later Group: Productivity/Scientific/Chemistry URL: http://gperiodic.sf.net/ - Source: http://download.sf.net/gperiodic/%name-%version.tar.gz +Patch1: gcc14.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig(gtk+-2.0)