3
0
forked from pool/util-macros
util-macros/util-macros.spec
Stefan Dirsch 21c8d9532a Accepting request 721721 from home:dimstar:Factory
- Own %{_datadir}/aclocal: when we might switch to pkgconf instead
  of pkg-config, nothing in the build root is 'accidentally' owning
  this directory for us.

OBS-URL: https://build.opensuse.org/request/show/721721
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/util-macros?expand=0&rev=10
2019-08-19 00:07:59 +00:00

65 lines
1.8 KiB
RPMSpec

#
# spec file for package util-macros
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: util-macros
Version: 1.19.2
Release: 0
Summary: The X Protocol
#Source URL: http://xorg.freedesktop.org/releases/individual/util/
#BuildRequires: autoconf >= 2.60
#BuildRequires: automake
#BuildRequires: libtool
License: HPND
Group: Development/Libraries/X11
URL: https://xorg.freedesktop.org/
Source: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
%description
Utility Macro Headers for X development
%package -n %{name}-devel
Summary: The X Protocol
# Added within the 13.2 Development Cycle
Group: Development/Libraries/X11
Provides: xorg-x11-proto-devel:/%{_libdir}/pkgconfig/xorg-macros.pc
%description -n %{name}-devel
Utility Macro Headers for X development
%prep
%setup -q
%build
#autoreconf -fi
./configure CFLAGS="%{optflags} -fno-strict-aliasing" \
--prefix=%{_prefix} --libdir=%{_libdir}
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}%{_datadir}/util-macros/INSTALL
%files -n %{name}-devel
%license COPYING
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/*.m4
%{_datadir}/pkgconfig/*.pc
%changelog