Группа :: Система/Библиотеки
Пакет: at-spi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 1.6
%def_disable static
Name: at-spi
Version: %ver_major.4
Release: alt1
Summary: Assistive Technology Service Provider Interface
License: LGPL
Group: System/Libraries
Url: http://developer.gnome.org/projects/gap
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define gtk_ver 2.6.4
%define libbonobo_ver 2.8.1
%define ORBit_ver 2.12.1
%define gail_ver 1.8.0
%define gtk_doc_ver 1.3
Requires: libgtk+2 >= %gtk_ver
Requires: libbonobo2 >= %libbonobo_ver
Requires: ORBit2 >= %ORBit_ver
Requires: libgail >= %gail_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libbonobo2-devel >= %libbonobo_ver
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libgail-devel >= %gail_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver
# Automatically added by buildreq on Sat Feb 12 2005
BuildRequires: ORBit2-devel XFree86-devel-static XFree86-libs docbook-dtds docbook-style-xsl fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel gtk-doc libart_lgpl-devel libatk-devel libbonobo2-devel libgail-devel libgnomecanvas-devel libgpg-error libgtk+2-devel libpango-devel libpopt-devel libstdc++-devel perl-XML-Parser pkgconfig xml-common xsltproc
%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
%package -n lib%name
Summary: Development libraries and headers for at-spi
Group: System/Libraries
%description -n lib%name
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
%package -n lib%name-devel
Summary: Development files for at-spi
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libbonobo2-devel >= %libbonobo_ver
Requires: ORBit2-devel >= %ORBit_ver
Requires: libgail-devel >= %gail_ver
%description -n lib%name-devel
Libraries and header files allowing compilation of apps that use at-spi.
%package -n lib%name-devel-static
Summary: Static libraries for at-spi
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Libraries allowing compilation of statically linked apps that use at-spi.
%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_bindir
%prep
%setup -q
%build
%configure \
%{subst_enable static} \
--enable-gtk-doc
# SMP-incompatible build
%make
%install
%makeinstall
# remove non-packaged files
%__rm -f %buildroot%_libdir/gtk-2.0/*/*.la
%__rm -f %buildroot%_libdir/orbit-2.0/*.la
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_bindir/*
%_libdir/*.so.*
%_libdir/bonobo/*/*
%_libdir/gtk-2.0/*/*.so
%_libdir/orbit-2.0/*.so
%_datadir/idl/*
%doc AUTHORS ChangeLog NEWS README
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc %_gtk_docdir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/gtk-2.0/*/*.a
%_libdir/orbit-2.0/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
Name: at-spi
Version: %ver_major.4
Release: alt1
Summary: Assistive Technology Service Provider Interface
License: LGPL
Group: System/Libraries
Url: http://developer.gnome.org/projects/gap
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define gtk_ver 2.6.4
%define libbonobo_ver 2.8.1
%define ORBit_ver 2.12.1
%define gail_ver 1.8.0
%define gtk_doc_ver 1.3
Requires: libgtk+2 >= %gtk_ver
Requires: libbonobo2 >= %libbonobo_ver
Requires: ORBit2 >= %ORBit_ver
Requires: libgail >= %gail_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libbonobo2-devel >= %libbonobo_ver
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libgail-devel >= %gail_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver
# Automatically added by buildreq on Sat Feb 12 2005
BuildRequires: ORBit2-devel XFree86-devel-static XFree86-libs docbook-dtds docbook-style-xsl fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel gtk-doc libart_lgpl-devel libatk-devel libbonobo2-devel libgail-devel libgnomecanvas-devel libgpg-error libgtk+2-devel libpango-devel libpopt-devel libstdc++-devel perl-XML-Parser pkgconfig xml-common xsltproc
%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
%package -n lib%name
Summary: Development libraries and headers for at-spi
Group: System/Libraries
%description -n lib%name
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
%package -n lib%name-devel
Summary: Development files for at-spi
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libbonobo2-devel >= %libbonobo_ver
Requires: ORBit2-devel >= %ORBit_ver
Requires: libgail-devel >= %gail_ver
%description -n lib%name-devel
Libraries and header files allowing compilation of apps that use at-spi.
%package -n lib%name-devel-static
Summary: Static libraries for at-spi
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Libraries allowing compilation of statically linked apps that use at-spi.
%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_bindir
%prep
%setup -q
%build
%configure \
%{subst_enable static} \
--enable-gtk-doc
# SMP-incompatible build
%make
%install
%makeinstall
# remove non-packaged files
%__rm -f %buildroot%_libdir/gtk-2.0/*/*.la
%__rm -f %buildroot%_libdir/orbit-2.0/*.la
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_bindir/*
%_libdir/*.so.*
%_libdir/bonobo/*/*
%_libdir/gtk-2.0/*/*.so
%_libdir/orbit-2.0/*.so
%_datadir/idl/*
%doc AUTHORS ChangeLog NEWS README
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc %_gtk_docdir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/gtk-2.0/*/*.a
%_libdir/orbit-2.0/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь