package created using the webbuild interface [release 1.8.0-1mamba;Fri Apr 01 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:08:43 +01:00
parent 843e103c90
commit 411fdef4ec
2 changed files with 95 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# pkgconf
Package compiler and linker metadata toolkit.

93
pkgconf.spec Normal file
View File

@ -0,0 +1,93 @@
Name: pkgconf
Version: 1.8.0
Release: 1mamba
Summary: Package compiler and linker metadata toolkit
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/pkgconf/pkgconf
Source: https://github.com/pkgconf/pkgconf.git/pkgconf-%{version}/pkgconf-%{version}.tar.bz2
License: ISC License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Provides: pkgconfig
Provides: pkg-config
Obsoletes: pkg-config <= 0.29.2-1mamba
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Package compiler and linker metadata toolkit.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson \
-Dtests=false
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
ln -s pkgconf %{buildroot}%{_bindir}/pkg-config
ln -s pkgconf %{buildroot}%{_bindir}/%{_target_platform}-pkg-config
ln -s pkgconf.1.gz %{buildroot}%{_mandir}/man1/pkg-config.1.gz
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/pkgconf
%{_bindir}/pkg-config
%{_bindir}/%{_target_platform}-pkg-config
%{_mandir}/man1/pkgconf.1*
%{_mandir}/man1/pkg-config.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libpkgconf.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/pkgconf/libpkgconf
%{_includedir}/pkgconf/libpkgconf/*.h
%{_libdir}/libpkgconf.so
%{_libdir}/pkgconfig/libpkgconf.pc
%{_datadir}/aclocal/pkg.m4
%dir %{_datadir}/doc/pkgconf
%{_datadir}/doc/pkgconf/*
%{_mandir}/man5/pc.5*
%{_mandir}/man5/pkgconf-personality.5*
%{_mandir}/man7/pkg.m4.7*
%doc NEWS README.md
%changelog
* Fri Apr 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1mamba
- package created using the webbuild interface