Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37568868
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: pkg-config

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 0.19
%def_with sys_glib

Name: pkg-config
Version: %ver_major
Release: alt0.M30.1

Summary: Pkgconfig helps make building packages easier
License: GPL
Group: Development/Other
Url: http://www.freedesktop.org/software/pkgconfig

Source: http://%name.freedesktop.org/releases/%name-%version.tar.bz2
Patch0: pkgconfig-0.17.0-alt-use_system_libs.patch
Patch1: %name-0.19-alt-popt.patch
Patch2: %name-0.19-alt-automake1.9.patch

%if_with sys_glib
BuildPreReq: glib2-devel
%endif

Provides: pkgconfig = %version-%release
Obsoletes: pkgconfig

# Automatically added by buildreq on Wed Dec 17 2003

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

# remove old popt stuff

%__rm -f findme* popt*

%__rm -f COPYING
%__ln_s %_licensedir/GPL-2 COPYING

%build
autoreconf -isfv

%if_without sys_glib
pushd glib-1.2.8
./configure
%make_build
popd
%endif

%configure --disable-dependency-tracking \
%if_with sys_glib
--with-sys-glib
%endif

%make_build

%install
%makeinstall
%__install -d -m755 %buildroot%_libdir/pkgconfig
%__install -d -m755 %buildroot%_datadir/pkgconfig

%files
%_bindir/pkg-config
%dir %_libdir/pkgconfig
%dir %_datadir/pkgconfig
%_datadir/aclocal/*
%_man1dir/*
%doc AUTHORS ChangeLog README NEWS
%doc --no-dereference COPYING

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin