Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37512355
en ru br
Репозитории ALT
S:0.8.14-alt4
5.1: 0.8.13-alt2
4.1: 0.8.11-alt0.M41.1
4.0: 0.8.7-alt1
3.0: 0.8.5-alt1
www.altlinux.org/Changes

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

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

%def_disable static
%define ver_major 0.8

Name: libIDL
Version: %ver_major.5
Release: alt1

Summary: Library for parsing IDL (Interface Definition Language)
Group: System/Libraries
License: LGPL
Url: ftp://ftp.gnome.org
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2

%define pkgconfig_ver 0.15-alt3.2
%define glib_ver 2.5.3

BuildPreReq: pkgconfig >= %pkgconfig_ver
BuildPreReq: glib2-devel >= %glib_ver

# Automatically added by buildreq on Thu Aug 26 2004

BuildRequires: flex gcc-c++ gcc-g77 glib2-devel libstdc++-devel pkgconfig

BuildRequires: gnome-common

%description
libIDL is a library for parsing IDL (Interface Definition Language).
It can be used for both COM-style and CORBA-style IDL.

%package devel
Summary: Development libraries and header files for libIDL
Group: Development/C
Requires: %name = %version-%release
Requires: pkgconfig >= %pkgconfig_ver
Requires: glib2-devel >= %glib_ver
Requires(post): %install_info
Requires(preun): %uninstall_info

%description devel
libIDL is a library for parsing IDL (Interface Definition Language).
It can be used for both COM-style and CORBA-style IDL.

This package contains the header files and libraries needed to write
or compile programs that use libIDL.

%package devel-static
Summary: Static libraries for libIDL
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
libIDL is a library for parsing IDL (Interface Definition Language).
It can be used for both COM-style and CORBA-style IDL.

This package contains static libraries needed to compile statically
linked programs that use %name.

%prep
%setup -q

%build
%configure \
   %{subst_enable static}

%make_build

%install
%makeinstall

# remove non-packaged files

%__rm -f %buildroot%_libdir/*.la
%if_without static
%__rm -f %buildroot%_libdir/*.a
%endif

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

%post devel
%install_info %{name}2.info

%preun devel
%uninstall_info %{name}2.info

%files
%_libdir/*.so.*
%doc AUTHORS README NEWS

%files devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%_infodir/%{name}*
%doc BUGS HACKING MAINTAINERS

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

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

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