2015-03-15 14:44:36 +00:00
|
|
|
#
|
|
|
|
# spec file for package gperiodic
|
|
|
|
#
|
2020-12-24 12:15:30 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2015-03-15 14:44:36 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-12-16 23:35:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-03-15 14:44:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gperiodic
|
2019-12-16 23:35:57 +00:00
|
|
|
Version: 3.0.3
|
2015-03-15 14:44:36 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A program for looking up data of elements from the periodic table
|
2019-12-16 23:35:57 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-03-15 14:44:36 +00:00
|
|
|
Group: Productivity/Scientific/Chemistry
|
2019-12-16 23:35:57 +00:00
|
|
|
URL: http://gperiodic.sf.net/
|
2015-03-15 14:44:36 +00:00
|
|
|
Source: http://download.sf.net/gperiodic/%name-%version.tar.gz
|
2024-11-02 12:26:11 +01:00
|
|
|
Patch1: gcc14.patch
|
2016-03-13 10:12:26 +00:00
|
|
|
BuildRequires: fdupes
|
2015-03-15 14:44:36 +00:00
|
|
|
BuildRequires: intltool
|
2016-03-13 10:12:26 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2015-03-15 14:44:36 +00:00
|
|
|
|
|
|
|
%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
|
2020-12-24 12:15:30 +00:00
|
|
|
%autosetup -p1
|
2015-03-15 14:44:36 +00:00
|
|
|
|
|
|
|
%build
|
2020-12-24 12:15:30 +00:00
|
|
|
%make_build CFLAGS="%optflags"
|
2015-03-15 14:44:36 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%find_lang %name
|
2016-03-13 10:12:26 +00:00
|
|
|
%fdupes %buildroot/%_prefix
|
2015-03-15 14:44:36 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%_bindir/gperiodic
|
|
|
|
%_mandir/man1/gperiodic*
|
|
|
|
%_datadir/applications/gperiodic*
|
|
|
|
%_datadir/icons/*
|
|
|
|
%_datadir/pixmaps/gperiodic*
|
2020-12-24 12:15:30 +00:00
|
|
|
%license gpl.txt
|
2015-03-15 14:44:36 +00:00
|
|
|
|
|
|
|
%files lang -f %name.lang
|
|
|
|
|
|
|
|
%changelog
|