forked from pool/gperiodic
- Specfile modernization
OBS-URL: https://build.opensuse.org/package/show/science/gperiodic?expand=0&rev=9
This commit is contained in:
parent
0a73120c48
commit
1993350bfa
@ -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>
|
Mon Dec 16 23:32:07 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gperiodic
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,7 +25,6 @@ Group: Productivity/Scientific/Chemistry
|
|||||||
URL: http://gperiodic.sf.net/
|
URL: http://gperiodic.sf.net/
|
||||||
|
|
||||||
Source: http://download.sf.net/gperiodic/%name-%version.tar.gz
|
Source: http://download.sf.net/gperiodic/%name-%version.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
@ -37,10 +36,10 @@ periodic table. This program also features a non-graphical interface.
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CFLAGS="%optflags"
|
%make_build CFLAGS="%optflags"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -48,15 +47,13 @@ make %{?_smp_mflags} CFLAGS="%optflags"
|
|||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%_bindir/gperiodic
|
%_bindir/gperiodic
|
||||||
%_mandir/man1/gperiodic*
|
%_mandir/man1/gperiodic*
|
||||||
%_datadir/applications/gperiodic*
|
%_datadir/applications/gperiodic*
|
||||||
%_datadir/icons/*
|
%_datadir/icons/*
|
||||||
%_datadir/pixmaps/gperiodic*
|
%_datadir/pixmaps/gperiodic*
|
||||||
%doc gpl.txt
|
%license gpl.txt
|
||||||
|
|
||||||
%files lang -f %name.lang
|
%files lang -f %name.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user