%define gnomever 2.32.0 %define libver 1.0 %define gnomemajver %(echo %gnomever | cut -d. -f 1-2) %define gnomegroup platform %define pkgname atk %define ver %(echo %version | cut -d. -f 1-2) Name: lib%{pkgname} Version: 2.4.0 Release: 1mamba Summary: Accessibility features for Gtk+ Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://developer.gnome.org/projects/gap/ # bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname} #Source: http://ftp.gnome.org/pub/GNOME/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2 Source: http://ftp.gnome.org/pub/GNOME/sources/atk/%{ver}/%{pkgname}-%{version}.tar.xz License: LGPL BuildRequires: pkgconfig BuildRequires: gettext-devel BuildRequires: perl ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel %if "%{stage1}" != "1" BuildRequires: gtk-doc %endif BuildRequires: libglib-devel ## AUTOBUILDREQ-END Provides: atk = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Accessibility means providing system infrastructure that allows add-on assistive software to transparently provide specalized input and ouput capabilities. For example, screen readers allow blind users to navigate through applications, determine the state of controls, and read text via text to speech conversion. On-screen keyboards replace physical keyboards, and head-mounted pointers replace mice. %package devel Summary: Stuff for developing with atk Group: Development/Libraries Provides: atk-devel = %{epoch}:%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel ATK, the Accessibility Tookit, is used to obtain accessibily information from GTK+ and GNOME widgets. This package contains static libraries and header files need for development. %package apidocs Summary: %{pkgname} API documentation Group: Documentation %description apidocs %{pkgname} API documentation. %prep %setup -q -n %{pkgname}-%{version} %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{pkgname}10 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{pkgname}10.lang %defattr(-,root,root) %{_libdir}/libatk-%{libver}.so.* %if "%{stage1}" != "1" %{_libdir}/girepository-1.0/Atk-1.0.typelib %endif %files devel %defattr(-,root,root) %dir %{_includedir}/atk-%{libver} %dir %{_includedir}/atk-%{libver}/atk %{_includedir}/*atk-%{libver}/atk/*.h %{_libdir}/libatk-%{libver}.la %{_libdir}/libatk-%{libver}.so %if "%{stage1}" != "1" %{_datadir}/gir-1.0/Atk-1.0.gir %endif %{_libdir}/pkgconfig/atk.pc %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/atk %{_datadir}/gtk-doc/html/atk/* %changelog * Sun Apr 01 2012 Automatic Build System 2.4.0-1mamba - update to 2.4.0 * Mon Dec 12 2011 Silvan Calarco 2.2.0-2mamba - move libdir gir typefile to main package * Wed Sep 28 2011 Automatic Build System 2.2.0-1mamba - automatic version update by autodist * Tue Jun 14 2011 Automatic Build System 2.0.1-1mamba - automatic update by autodist * Tue Apr 05 2011 Automatic Build System 2.0.0-1mamba - automatic update by autodist * Tue Apr 05 2011 Automatic Build System 1.91.92-1mamba - automatic update by autodist * Mon Oct 04 2010 Silvan Calarco 1.32.0-2mamba - rebuilt with gobject-introspection 0.9.10 * Thu Sep 30 2010 Automatic Build System 1.32.0-1mamba - update to 1.32.0 * Sat Jun 26 2010 Silvan Calarco 1.30.0-3mamba - rebuilt to add pkgconfig provides * Sat May 22 2010 Silvan Calarco 1.30.0-2mamba - rebuilt with updated gobject-introspection * Wed Mar 31 2010 Automatic Build System 1.30.0-1mamba - automatic update to 1.30.0 by autodist * Wed Sep 30 2009 Automatic Build System 1.28.0-1mamba - automatic update by autodist * Wed Jul 15 2009 Automatic Build System 1.26.0-1mamba - automatic update by autodist * Thu May 22 2008 Silvan Calarco 1.22.0-2mamba - fixed atk provides for epoch in libatk-devel - replace manual buildrequirements with automatic - remove unwanted new lines in description to provide better formatting for tools * Tue May 20 2008 gil 1.22.0-1mamba - update to version 1.22.0 * Tue Apr 10 2007 Tiziano Pratellesi 1.18.0-1mamba - update to version 1.18.0 * Fri Jan 05 2007 Davide Madrisan 1.12.3-2qilnx - new subpackage apidocs with API documentation * Wed Jan 03 2007 Davide Madrisan 1.12.3-1qilnx - update to version 1.12.3 by autospec * Fri May 27 2005 Davide Madrisan 1.10.1-1qilnx - update to version 1.10.1 by autospec - specfile updates/fixes * Tue Jun 22 2004 Silvan Calarco 1.6.1-1qilnx - new version build * Tue Dec 30 2003 Silvan Calarco 1.4.1-1qilnx - new version rebuild * Wed Nov 12 2003 Davide Madrisan 1.2.4-2qilnx - specfile updates * Mon Oct 27 2003 Silvan Calarco 1.2.4-1qilnx - new version rebuild * Fri Jun 13 2003 Alessandro Ramazzina 1.2.1-2qilnx - added ldconfig post execution - changed package name from atk to libatk * Mon Jun 09 2003 Alessandro Ramazzina 1.2.1-1qilnx - creation of patk package