util-macros/util-macros.spec
Stefan Dirsch 7d869c1308 - update to release 1.19.2
* Update check for manpage section numbers to not rely on Solaris version
  * Rework CHANGELOG_CMD to touch/echo >&2 only as needed
  * Rework INSTALL_CMD to touch/echo >&2 only as needed

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/util-macros?expand=0&rev=8
2018-03-05 14:33:22 +00:00

69 lines
1.9 KiB
RPMSpec

#
# spec file for package util-macros
#
# Copyright (c) 2018 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 http://bugs.opensuse.org/
#
Name: util-macros
Version: 1.19.2
Release: 0
BuildRequires: pkg-config
#BuildRequires: autoconf >= 2.60
#BuildRequires: automake
#BuildRequires: libtool
Url: http://xorg.freedesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The X Protocol
#Source URL: http://xorg.freedesktop.org/releases/individual/util/
License: HPND
Group: Development/Libraries/X11
Source: %{name}-%{version}.tar.bz2
%description
Utility Macro Headers for X development
%package -n %{name}-devel
Summary: The X Protocol
Group: Development/Libraries/X11
# Added within the 13.2 Development Cycle
Provides: xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/xorg-macros.pc
%description -n %{name}-devel
Utility Macro Headers for X development
%prep
%setup -q
%build
#autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--prefix=/usr --libdir=%{_libdir}
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
rm -f $RPM_BUILD_ROOT/usr/share/util-macros/INSTALL
%files -n %{name}-devel
%defattr(-,root,root)
%doc COPYING
/usr/share/aclocal/*.m4
/usr/share/pkgconfig/*.pc
%changelog