Репозитории 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.21
Release: alt1
Summary: Pkgconfig helps make building packages easier
License: GPL
Group: Development/Other
Url: http://www.freedesktop.org/software/pkgconfig
Packager: Dmitry V. Levin <ldv at altlinux.org>
Provides: pkgconfig-reqprov, pkgconfig = 1:%version-%release
Obsoletes: pkgconfig
Source: http://pkg-config.freedesktop.org/releases/pkg-config-%version.tar
Patch0: pkg-config-0.20-alt-use-system-libs.patch
Patch1: pkg-config-0.19-alt-popt.patch
Patch2: pkg-config-0.20-alt-ignore-private-requires.patch
Patch3: pkg-config-0.20-rh-alt-reqprov.patch
%def_with sys_glib
%{!?_without_sys_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
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# remove old popt stuff
rm findme* popt*
%build
autoreconf -fisv
%if_without sys_glib
pushd glib-1.2.8
%configure
%make_build
popd
%endif # without sys_glib
%configure \
%if_with sys_glib
--with-sys-glib
%endif
%make_build
%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.21
Release: alt1
Summary: Pkgconfig helps make building packages easier
License: GPL
Group: Development/Other
Url: http://www.freedesktop.org/software/pkgconfig
Packager: Dmitry V. Levin <ldv at altlinux.org>
Provides: pkgconfig-reqprov, pkgconfig = 1:%version-%release
Obsoletes: pkgconfig
Source: http://pkg-config.freedesktop.org/releases/pkg-config-%version.tar
Patch0: pkg-config-0.20-alt-use-system-libs.patch
Patch1: pkg-config-0.19-alt-popt.patch
Patch2: pkg-config-0.20-alt-ignore-private-requires.patch
Patch3: pkg-config-0.20-rh-alt-reqprov.patch
%def_with sys_glib
%{!?_without_sys_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
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# remove old popt stuff
rm findme* popt*
%build
autoreconf -fisv
%if_without sys_glib
pushd glib-1.2.8
%configure
%make_build
popd
%endif # without sys_glib
%configure \
%if_with sys_glib
--with-sys-glib
%endif
%make_build
%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 можно просмотреть здесь