Name: xabacus Version: 7.6.8 Release: 1mamba Summary: This is an implementation of the classic Chinese abacus which has its origins in the 12th century. Group: Graphical Desktop/Applications/Educational Vendor: openmamba Distribution: openmamba Packager: Tiziana Ferro URL: http://www.tux.org/~bagleyd/xabacus.html Source: http://www.tux.org/~bagleyd/abacus/%{name}-%{version}.tar.bz2 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libaudiofile-devel BuildRequires: libesound-devel BuildRequires: libICE-devel BuildRequires: liblesstif-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXpm-devel BuildRequires: libXt-devel ## AUTOBUILDREQ-END %description This is an implementation of the classic Chinese abacus which has its origins in the 12th century. %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall mkdir -p %{buildroot}%{_datadir}/pixmaps/16x16/ mkdir -p %{buildroot}%{_datadir}/pixmaps/22x22/ mkdir -p %{buildroot}%{_datadir}/pixmaps/32x32/ mkdir -p %{buildroot}%{_datadir}/pixmaps/48x48/ install -D -m 644 pixmaps/mini.abacus.png %{buildroot}%{_datadir}/pixmaps/16x16/abacus.png install -D -m 644 pixmaps/small.abacus.png %{buildroot}%{_datadir}/pixmaps/22x22/abacus.png install -D -m 644 pixmaps/normal.abacus.png %{buildroot}%{_datadir}/pixmaps/32x32/abacus.png install -D -m 644 pixmaps/big.abacus.png %{buildroot}%{_datadir}/pixmaps/48x48/abacus.png # Create the system menu entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=%{name} GenericName=Abacus X widget Comment=implementation of classical abacus Exec=xabacus Icon=%{_datadir}/pixmaps/16x16/abacus.png Terminal=false Type=Application Category=Education;Math; X-KDE-StartupNotify=false EOF %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_bindir}/* %{_libdir}/X11/app-defaults/* %{_datadir}/games/xabacus/* %{_datadir}/pixmaps/16x16/abacus.png %{_datadir}/pixmaps/22x22/abacus.png %{_datadir}/pixmaps/32x32/abacus.png %{_datadir}/pixmaps/48x48/abacus.png %{_datadir}/applications/xabacus.desktop %{_mandir}/man6/* %changelog * Mon Feb 07 2011 Automatic Build System 7.6.8-1mamba - automatic update by autodist * Sun Oct 03 2010 Automatic Build System 7.6.7-1mamba - automatic update by autodist * Mon Aug 16 2010 Automatic Build System 7.6.4-1mamba - automatic update by autodist * Wed Jul 07 2010 Automatic Build System 7.6.2-1mamba - automatic update by autodist * Sun Feb 07 2010 Automatic Build System 7.6-1mamba - automatic update by autodist * Mon Oct 26 2009 Automatic Build System 7.5.3-1mamba - automatic update by autodist * Tue Oct 13 2009 Automatic Build System 7.5.2-1mamba - automatic update by autodist * Sat Aug 15 2009 Automatic Build System 7.5.1-1mamba - automatic update by autodist * Tue Jan 13 2009 Silvan Calarco 7.4.1-1mamba - automatic update by autodist * Fri Aug 29 2008 Tiziana Ferro 7.4-1mamba - update to 7.4 - update system menu entry - add buildrequirements * Tue Jul 12 2005 Alessandro Ramazzina 7.1.3-1qilnx - package created by autospec