ALT Linux repos
Group :: System/Libraries
RPM: libgnomecanvas
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define ver_major 2.10
%def_disable static
Name: libgnomecanvas
Version: %ver_major.2
Release: alt1
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Summary: GnomeCanvas widget
License: LGPL
Group: System/Libraries
Url: http://www.gnome.org/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define gtk_ver 2.6.4
%define glade_ver 2.5.1
%define pango_ver 1.8.1
%define libart_lgpl_ver 2.3.17
Requires: libgtk+2 >= %gtk_ver
Requires: libart_lgpl >= %libart_lgpl_ver
Requires: libpango >= %pango_ver
Requires: libglade2 >= %glade_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libart_lgpl-devel >= %libart_lgpl_ver
BuildPreReq: libpango-devel >= %pango_ver
BuildPreReq: libglade2-devel >= %glade_ver
# Automatically added by buildreq on Wed Apr 21 2004
BuildRequires: XFree86-libs XFree86-utils docbook-dtds docbook-style-xsl fontconfig-devel freetype2-devel gcc-c++ gcc-g77 glib2-devel gtk-doc libart_lgpl-devel libatk-devel libglade2-devel libgtk+2-devel libpango-devel libstdc++-devel libxml2-devel pkgconfig xml-common xsltproc
%description
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
%package devel
Summary: Libraries and headers for libgnomecanvas
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libart_lgpl-devel >= %libart_lgpl_ver
Requires: libglade2-devel >= %glade_ver
Requires: libpango-devel >= %pango_ver
%description devel
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
This package contains development libraries and headers files for %name.
%package devel-doc
Summary: Development documentation for GNOME Canvas Widget
Group: Development/GNOME and GTK+
Conflicts: %name < %version-%release
%description devel-doc
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
This package provides development documentation for %name.
%package devel-static
Summary: Static libraries for libgnomecanvas
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release
%description devel-static
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
%prep
%setup -q
%build
export gnomelocaledir="%_datadir/locale"
export ac_cv_prog_AWK=/bin/awk
%configure \
%{subst_enable static} \
--enable-gtk-doc
%make_build
%install
%makeinstall
%find_lang %name-2.0
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name-2.0.lang
%_libdir/*.so.*
%_libdir/libglade/2.0/*.so
%doc AUTHORS ChangeLog README NEWS
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/libglade/2.0/*.la
%_libdir/pkgconfig/*
%files devel-doc
%_datadir/gtk-doc/html/*
%if_enabled static
%files devel-static
%_libdir/*.a
%_libdir/libglade/2.0/*.a
%endif
%changelog
…
Full changelog you can see here
%def_disable static
Name: libgnomecanvas
Version: %ver_major.2
Release: alt1
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Summary: GnomeCanvas widget
License: LGPL
Group: System/Libraries
Url: http://www.gnome.org/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define gtk_ver 2.6.4
%define glade_ver 2.5.1
%define pango_ver 1.8.1
%define libart_lgpl_ver 2.3.17
Requires: libgtk+2 >= %gtk_ver
Requires: libart_lgpl >= %libart_lgpl_ver
Requires: libpango >= %pango_ver
Requires: libglade2 >= %glade_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libart_lgpl-devel >= %libart_lgpl_ver
BuildPreReq: libpango-devel >= %pango_ver
BuildPreReq: libglade2-devel >= %glade_ver
# Automatically added by buildreq on Wed Apr 21 2004
BuildRequires: XFree86-libs XFree86-utils docbook-dtds docbook-style-xsl fontconfig-devel freetype2-devel gcc-c++ gcc-g77 glib2-devel gtk-doc libart_lgpl-devel libatk-devel libglade2-devel libgtk+2-devel libpango-devel libstdc++-devel libxml2-devel pkgconfig xml-common xsltproc
%description
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
%package devel
Summary: Libraries and headers for libgnomecanvas
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libart_lgpl-devel >= %libart_lgpl_ver
Requires: libglade2-devel >= %glade_ver
Requires: libpango-devel >= %pango_ver
%description devel
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
This package contains development libraries and headers files for %name.
%package devel-doc
Summary: Development documentation for GNOME Canvas Widget
Group: Development/GNOME and GTK+
Conflicts: %name < %version-%release
%description devel-doc
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
This package provides development documentation for %name.
%package devel-static
Summary: Static libraries for libgnomecanvas
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release
%description devel-static
The canvas widget allows you to create custom displays using stock items
such as circles, lines, text, and so on. It was originally a port of the
Tk canvas widget but has evolved quite a bit over time.
%prep
%setup -q
%build
export gnomelocaledir="%_datadir/locale"
export ac_cv_prog_AWK=/bin/awk
%configure \
%{subst_enable static} \
--enable-gtk-doc
%make_build
%install
%makeinstall
%find_lang %name-2.0
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name-2.0.lang
%_libdir/*.so.*
%_libdir/libglade/2.0/*.so
%doc AUTHORS ChangeLog README NEWS
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/libglade/2.0/*.la
%_libdir/pkgconfig/*
%files devel-doc
%_datadir/gtk-doc/html/*
%if_enabled static
%files devel-static
%_libdir/*.a
%_libdir/libglade/2.0/*.a
%endif
%changelog
…
Full changelog you can see here