Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
mingw64-cross-pkgconf
mingw64-cross-pkgconf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-cross-pkgconf.spec of Package mingw64-cross-pkgconf
# # spec file for package mingw64-cross-pkg-config # # Copyright (c) 2014 SUSE LINUX Products 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/ # %define pkgconfig_ver 0.29.2 # For obsoleting pkgconfig, bump the ver to a number higher than latest version %define pkgconfig_obsver %{pkgconfig_ver}+1 Name: mingw64-cross-pkgconf Version: 1.6.3 Release: 0 Summary: Package compiler and linker metadata toolkit License: ISC Group: Development/Tools/Building URL: http://pkgconf.org/ Source0: https://distfiles.dereferenced.org/pkgconf/pkgconf-%{version}.tar.xz BuildRequires: mingw64-filesystem BuildRequires: pkgconf # NB: This must be left in. # requires currently disabled debuginfo in project settings Requires: mingw64-filesystem # Because we will not install the pkg.m4 package Requires: pkg-config # compat. May move to separate package like native version but I'm lazy Conflicts: mingw64-cross-pkg-config < %{pkgconfig_obsver} Obsoletes: mingw64-cross-pkg-config < %{pkgconfig_obsver} Provides: mingw64-cross-pkg-config = %{pkgconfig_obsver} %description pkgconf is a program which helps to configure compiler and linker flags for development frameworks. It is similar to pkg-config from freedesktop.org and handles .pc files in a similar manner as pkg-config. %prep %setup -q -n pkgconf-%{version} %build CFLAGS="%{optflags}" \ ./configure \ --prefix=%{_prefix} \ --program-prefix=%{_mingw64_target}- \ --disable-shared \ --with-pkg-config-dir=%{_mingw64_libdir}/pkgconfig:%{_mingw64_datadir}/pkgconfig make %{?_smp_mflags} || make %install make DESTDIR=%{buildroot} install %{?_smp_mflags} # compat ln -s %{_bindir}/%{_mingw64_target}-pkgconf %{buildroot}%{_bindir}/%{_mingw64_target}-pkg-config # These files conflict with ordinary pkgconf rm -rf %{buildroot}%{_datadir}/aclocal rm -rf %{buildroot}%{_datadir}/doc rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_prefix}/lib # not needed rm -rf %{buildroot}%{_mandir}/man[57] %files %defattr(-,root,root) %{_bindir}/%{_mingw64_target}-pkgconf %{_bindir}/%{_mingw64_target}-pkg-config %{_mandir}/man?/%{_mingw64_target}-* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor