File cross-mingw-pkg-config.spec of Package cross-mingw-pkg-config
# norootforbuild
Name: cross-mingw-pkg-config
Url: http://pkgconfig.freedesktop.org/
Version: 0.23
Release: 1
License: GPL v2 or later
Group: System/Packages
AutoReqProv: on
Summary: A library management system
Source0: i386-mingw32msvc-pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: pkg-config
%description
The pkg-config program is used to retrieve information about installed
libraries in the system. It is typically used to compile and link
against one or more libraries.
%prep
%install
install -D -m 755 %{SOURCE0} $RPM_BUILD_ROOT/opt/cross/bin/i386-mingw32msvc-pkg-config
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir /opt/cross
%dir /opt/cross/bin
/opt/cross/bin/i386-mingw32msvc-pkg-config