File php-devel.spec of Package php-devel
#
# spec file for package php-devel
#
# Copyright (c) 2019 SUSE LLC
#
# 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: php-devel
Version: 1.0
Release: 0
Summary: PHP5 macros for PEAR
License: BSD-2-Clause
Group: Development/Libraries/PHP
URL: https://build.opensuse.org/project/show/server:php:applications
Source0: macros.php
Source1: README.macros
BuildArch: noarch
%description
This package contains the PEAR macros to build PHP extensions. It is intended to be used
to build php-pear-* packages in 'server:php:applications' for distributions that don't
provide these macros in php{5,7}-devel and should not be published.
%prep
cp %{SOURCE1} .
%build
# nothing to build
%install
install -d -m 0755 %{buildroot}%{_sysconfdir}/rpm
install -m 0644 -c %{SOURCE0} %{buildroot}%{_sysconfdir}/rpm/macros.php
%files
%defattr(0644, root, root)
%doc README.macros
%config %{_sysconfdir}/rpm/macros.php
%changelog