Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37914007
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: Xlt

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

Name: Xlt
Version: 9.2.9
Release: alt2

Summary: The %name Widget Set
License: GPL
Group: System/Libraries
Url: http://sourceforge.net/projects/xlt/

Source: http://prdownloads.sourceforge.net/xlt/%name-%version.tar.bz2

%def_disable static

# Automatically added by buildreq on Thu Oct 24 2002

BuildRequires: XFree86-devel openmotif-devel xpm-devel

%package -n lib%name
Summary: The %name Widget Set
Group: System/Libraries

%package -n lib%name-devel
Summary: Header files for %name development
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel

%package -n lib%name-devel-static
Summary: Static library for %name development
Group: Development/C
Requires: lib%name-devel = %version-%release
Provides: %name-devel-static = %version
Obsoletes: %name-devel-static

%description
The %name widget set is a group of larger and smaller utility widgets.
In addition the %name library also suppplied a couple of convenience
functions (and macros) to help with certain tasks while programming
with the Motif API.

%description -n lib%name
The %name widget set is a group of larger and smaller utility widgets.
In addition the %name library also suppplied a couple of convenience
functions (and macros) to help with certain tasks while programming
with the Motif API.

%description -n lib%name-devel
The %name widget set is a group of larger and smaller utility widgets.
In addition the %name library also suppplied a couple of convenience
functions (and macros) to help with certain tasks while programming
with the Motif API.

This package provides the libraries, include files, and other
resources needed for developing %name applications.

%description -n lib%name-devel-static
The %name widget set is a group of larger and smaller utility widgets.
In addition the %name library also suppplied a couple of convenience
functions (and macros) to help with certain tasks while programming
with the Motif API.

This package provides the static library needed for developing
statically linked %name applications.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%_x11dir \
--enable-build-12 \
--enable-build-20 \
--enable-build-21 \
--enable-default-12 \
--enable-shared \
%{subst_enable static} \
#
%make_build

%install
%make_install install DESTDIR=$RPM_BUILD_ROOT
cp -a $RPM_BUILD_ROOT%_x11dir/LessTif/doc/html .

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files -n lib%name
%_x11libdir/*so.*
%doc README html/*

%files -n lib%name-devel
%_x11includedir/*
%_x11mandir/man?/*
%_x11libdir/*so

%if_enabled static
%files -n lib%name-devel-static
%_x11libdir/*.a
%endif

%changelog

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

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