xabacus/xabacus.spec

140 lines
4.2 KiB
RPMSpec

Name: xabacus
Version: 8.5.5
Release: 1mamba
Summary: 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: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.sillycycle.com/abacus/
Source: http://www.sillycycle.com/abacus/xabacus-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: libaudiofile-devel
BuildRequires: liblesstif-devel
BuildRequires: liblzma-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
xabacus is an implementation of the classic Chinese abacus which has its origins in the 12th century.
%debug_package
%prep
%setup -q
%build
%configure LIBS="-laudiofile"
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
for r in 16x16 22x22 24x24 32x32 48x48; do
install -D -m 644 pixmaps/$r/abacus.png %{buildroot}%{_datadir}/pixmaps/$r/abacus.png
done
# 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)
%{_bindir}/*
%{_prefix}/lib/X11/app-defaults/Abacus
%{_datadir}/games/xabacus/*
%{_datadir}/pixmaps/*/abacus.png
%{_datadir}/applications/xabacus.desktop
%{_mandir}/man6/*
%doc README
%changelog
* Thu Nov 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 8.5.5-1mamba
- update to 8.5.5
* Wed May 25 2022 Automatic Build System <autodist@mambasoft.it> 8.4.3-1mamba
- automatic version update by autodist
* Fri May 06 2022 Automatic Build System <autodist@mambasoft.it> 8.4.2-1mamba
- automatic version update by autodist
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 8.4.1-1mamba
- automatic version update by autodist
* Tue Mar 22 2022 Automatic Build System <autodist@mambasoft.it> 8.4.0-1mamba
- automatic version update by autodist
* Sat Jun 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.3.7-1mamba
- update to 8.3.7
* Fri Dec 19 2014 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
- automatic update by autodist
* Mon Apr 14 2014 Automatic Build System <autodist@mambasoft.it> 8.0.0-1mamba
- automatic update by autodist
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 7.7.1-1mamba
- automatic version update by autodist
* Mon Nov 05 2012 Automatic Build System <autodist@mambasoft.it> 7.7.0-1mamba
- automatic version update by autodist
* Mon Feb 07 2011 Automatic Build System <autodist@mambasoft.it> 7.6.8-1mamba
- automatic update by autodist
* Sun Oct 03 2010 Automatic Build System <autodist@mambasoft.it> 7.6.7-1mamba
- automatic update by autodist
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 7.6.4-1mamba
- automatic update by autodist
* Wed Jul 07 2010 Automatic Build System <autodist@mambasoft.it> 7.6.2-1mamba
- automatic update by autodist
* Sun Feb 07 2010 Automatic Build System <autodist@mambasoft.it> 7.6-1mamba
- automatic update by autodist
* Mon Oct 26 2009 Automatic Build System <autodist@mambasoft.it> 7.5.3-1mamba
- automatic update by autodist
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 7.5.2-1mamba
- automatic update by autodist
* Sat Aug 15 2009 Automatic Build System <autodist@mambasoft.it> 7.5.1-1mamba
- automatic update by autodist
* Tue Jan 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.1-1mamba
- automatic update by autodist
* Fri Aug 29 2008 Tiziana Ferro <tiziana.ferro@email.it> 7.4-1mamba
- update to 7.4
- update system menu entry
- add buildrequirements
* Tue Jul 12 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 7.1.3-1qilnx
- package created by autospec