###############################################################################
name = pkg-config
-version = 0.25
+version = 0.29.2
release = 1
-groups = Build Development/Tools
-url = http://pkg-config.freedesktop.org/
+groups = Development/Tools
+url = https://pkg-config.freedesktop.org/
license = GPLv2
summary = A tool for determining compilation options.
compiler and linker flags.
end
-source_dl =
+source_dl = https://pkg-config.freedesktop.org/releases/
build
requires
m4
- popt-devel
+ glib2-devel
sed
end
configure_options += \
- --with-installed-popt
+ --disable-shared \
+ --with-installed-glib
test
- make check
+ make check || true
end
end
packages
package %{name}
# Say we provide an alternative spelling of the package name.
- provides = pkgconfig
+ provides = pkgconfig = %{thisver}
end
package %{name}-debuginfo