1
0
forked from pool/gperiodic

Accepting request 858487 from science

- Specfile modernization

OBS-URL: https://build.opensuse.org/request/show/858487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gperiodic?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-12-28 09:30:29 +00:00 committed by Git OBS Bridge
commit 9b1934d9cd
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 24 12:15:21 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Specfile modernization
-------------------------------------------------------------------
Mon Dec 16 23:32:07 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package gperiodic
#
# Copyright (c) 2019 SUSE LLC
# 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
@ -25,7 +25,6 @@ Group: Productivity/Scientific/Chemistry
URL: http://gperiodic.sf.net/
Source: http://download.sf.net/gperiodic/%name-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: pkgconfig(gtk+-2.0)
@ -37,10 +36,10 @@ periodic table. This program also features a non-graphical interface.
%lang_package
%prep
%setup -q
%autosetup -p1
%build
make %{?_smp_mflags} CFLAGS="%optflags"
%make_build CFLAGS="%optflags"
%install
%make_install
@ -48,15 +47,13 @@ make %{?_smp_mflags} CFLAGS="%optflags"
%fdupes %buildroot/%_prefix
%files
%defattr(-,root,root)
%_bindir/gperiodic
%_mandir/man1/gperiodic*
%_datadir/applications/gperiodic*
%_datadir/icons/*
%_datadir/pixmaps/gperiodic*
%doc gpl.txt
%license gpl.txt
%files lang -f %name.lang
%defattr(-,root,root)
%changelog