Репозитории ALT
S: | 0.29.2-alt3 |
5.1: | 0.23-alt4 |
4.1: | 0.23-alt1 |
4.0: | 0.21-alt1 |
3.0: | 0.19-alt0.M30.1 |
Группа :: Разработка/Прочее
Пакет: pkg-config
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: pkg-config
Version: 0.23
Release: alt1
Summary: Pkgconfig helps make building packages easier
License: GPLv2+
Group: Development/Other
Url: http://pkg-config.freedesktop.org/wiki/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Provides: pkgconfig-reqprov, pkgconfig-recursion, pkgconfig = 1:%version-%release
Obsoletes: pkgconfig
# http://pkg-config.freedesktop.org/releases/pkg-config-%version.tar.gz
Source: pkg-config-%version.tar
Patch: pkg-config-%version-%release.patch
%def_with installed_glib
%{?_with_installed_glib:BuildRequires: glib2-devel}
BuildRequires: libpopt-devel
%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
%setup -q
%patch -p1
# remove old popt stuff
rm findme* popt*
%if_with installed_glib
# remove old glib as well
rm -r glib-1.2.10
sed -i '/glib-1\.2\.10/s/^/: #/' configure.in
sed -i 's/\(GLIB_SUBDIR *=\).*/\1/' Makefile.am
%endif
%build
autoreconf -fisv
%configure \
%{?_with_installed_glib:--with-installed-glib}
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
%install
%makeinstall
install -dm755 %buildroot{%_datadir,%_libdir}/pkgconfig
mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
cat <<\EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
# %name buildreq filter.
^(%_libdir|%_datadir)/pkgconfig/[^/]+\.pc$
EOF
%files
%config %_sysconfdir/buildreqs/files/ignore.d/*
%_bindir/pkg-config
%dir %_libdir/pkgconfig
%dir %_datadir/pkgconfig
%_datadir/aclocal/*
%_man1dir/*
%doc AUTHORS NEWS README
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.23
Release: alt1
Summary: Pkgconfig helps make building packages easier
License: GPLv2+
Group: Development/Other
Url: http://pkg-config.freedesktop.org/wiki/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Provides: pkgconfig-reqprov, pkgconfig-recursion, pkgconfig = 1:%version-%release
Obsoletes: pkgconfig
# http://pkg-config.freedesktop.org/releases/pkg-config-%version.tar.gz
Source: pkg-config-%version.tar
Patch: pkg-config-%version-%release.patch
%def_with installed_glib
%{?_with_installed_glib:BuildRequires: glib2-devel}
BuildRequires: libpopt-devel
%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
%setup -q
%patch -p1
# remove old popt stuff
rm findme* popt*
%if_with installed_glib
# remove old glib as well
rm -r glib-1.2.10
sed -i '/glib-1\.2\.10/s/^/: #/' configure.in
sed -i 's/\(GLIB_SUBDIR *=\).*/\1/' Makefile.am
%endif
%build
autoreconf -fisv
%configure \
%{?_with_installed_glib:--with-installed-glib}
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
%install
%makeinstall
install -dm755 %buildroot{%_datadir,%_libdir}/pkgconfig
mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d
cat <<\EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name
# %name buildreq filter.
^(%_libdir|%_datadir)/pkgconfig/[^/]+\.pc$
EOF
%files
%config %_sysconfdir/buildreqs/files/ignore.d/*
%_bindir/pkg-config
%dir %_libdir/pkgconfig
%dir %_datadir/pkgconfig
%_datadir/aclocal/*
%_man1dir/*
%doc AUTHORS NEWS README
%changelog
…
Полный changelog можно просмотреть здесь