Sisyphus repositório
Última atualização: 14 outubro 2019 | SRPMs: 17518 | Visitas: 15270210
en ru br
ALT Linux repositórios
S:0.8.14-alt4
5.0: 0.8.13-alt1
4.1: 0.8.11-alt0.M41.1
4.0: 0.8.7-alt1
3.0: 0.8.5-alt1

Group :: Sistema/Bibliotecas
RPM: libIDL

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static
%define ver_major 0.8

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

Summary: Library for parsing IDL (Interface Definition Language)
Group: System/Libraries
License: LGPL
Url: ftp://ftp.gnome.org

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++ glib2-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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009