Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37890404
en ru br
ALT Linux repositórios
S:2.66.6-alt1
5.0: 2.18.1-alt1
4.1: 2.16.1-alt1

Group :: Sistema/Bibliotecas
RPM: libglibmm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

%define oname glibmm
%define oname2 %oname-2.4
%define major 2.18

Name: libglibmm
Version: %major.1
Release: alt1

Summary: C++ wrapper for GLib

License: LGPL
Group: System/Libraries
Url: http://gtkmm.sourceforge.net/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%oname/%major/%oname-%version.tar.bz2

# manually removed: gcc-g77 libg2c-devel

# Automatically added by buildreq on Sat Apr 12 2008
BuildRequires: gcc-c++ glibc-devel-static libgio-devel libsigc++2.0-devel

BuildPreReq: glib2-devel >= 2.14.0
BuildPreReq: rpm-build-compat >= 0.4

AutoReq: yes, noperl
%add_findreq_skiplist %_libdir/%oname2/proc/gmmproc
%add_findreq_skiplist %_libdir/%oname2/proc/pm/*

%description
A C++ interface for glib library.

This package contains the library needed to run programs dynamically
linked with %oname.

%package devel
Summary: Headers and development files of %oname
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description devel
A C++ interface for glib library.

This package contains the headers and development files that are needed,
when trying to develop or compile applications which need %oname.

%package devel-static
Summary: Static libraries of %oname
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release
Provides: %name-static-devel = %version-%release
Obsoletes: %name-static-devel

%description devel-static
A C++ interface for glib library.

This package contains the static libraries of %oname.

%package doc
Summary: %oname documentation
Group: Books/Other

%description doc
Gtkmm provides a C++ interface to the GTK+ GUI library.
%oname originally belongs to gtkmm, but is now separated,
for use with non-GUI software written in C++.

This package contains all API documentation for %oname.

%prep
%setup -q -n %oname-%version

%build
%configure %{subst_enable static}
%make_build

%install
%makeinstall_std gtkmm_docdir=%_docdir/%oname2

%post
%post_ldconfig

%postun
%postun_ldconfig

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

%files devel
%doc AUTHORS ChangeLog
%_includedir/%oname2/
%_includedir/giomm-2.4/
%_libdir/*.so
%_libdir/%oname2/
%_libdir/giomm-2.4/
%_pkgconfigdir/*.pc
%_aclocaldir/*.m4
%_datadir/devhelp/books/%oname2/

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

%files doc
%_docdir/%oname2/

%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