Accepting request 893432 from home:dirkmueller:Factory

- modernize spec-file (move license to licensedir)

OBS-URL: https://build.opensuse.org/request/show/893432
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/imake?expand=0&rev=12
This commit is contained in:
Stefan Dirsch 2021-05-16 08:54:21 +00:00 committed by Git OBS Bridge
parent f91ae51672
commit 1a4ecb1f2b
2 changed files with 15 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 16 08:18:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec-file (move license to licensedir)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 22 11:37:34 UTC 2019 - Stefan Dirsch <sndirsch@suse.com> Fri Mar 22 11:37:34 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package imake # spec file for package imake
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -22,17 +22,16 @@ Release: 0
Summary: C preprocessor interface to the make utility Summary: C preprocessor interface to the make utility
License: MIT License: MIT
Group: Development/Tools/Building Group: Development/Tools/Building
Url: http://xorg.freedesktop.org/ URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 Source0: https://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(xproto)
# This was part of the xorg-x11-util-devel package up to version 7.6
Conflicts: xorg-x11-util-devel <= 7.6
# For Imake.tmpl, Just in case packagers don't know it's in this package. # For Imake.tmpl, Just in case packagers don't know it's in this package.
Requires: xorg-cf-files Requires: xorg-cf-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build # This was part of the xorg-x11-util-devel package up to version 7.6
Conflicts: xorg-x11-util-devel <= 7.6
%description %description
Imake is used to generate Makefiles from a template, a set of cpp macro Imake is used to generate Makefiles from a template, a set of cpp macro
@ -50,14 +49,14 @@ converted.
%build %build
%configure --with-config-dir=%{_datadir}/X11/config %configure --with-config-dir=%{_datadir}/X11/config
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%files %files
%defattr(-,root,root) %license COPYING
%doc ChangeLog COPYING README.md %doc ChangeLog README.md
%{_bindir}/ccmakedep %{_bindir}/ccmakedep
%{_bindir}/cleanlinks %{_bindir}/cleanlinks
%{_bindir}/imake %{_bindir}/imake