116 lines
3.4 KiB
RPMSpec
116 lines
3.4 KiB
RPMSpec
|
Name: xabacus
|
||
|
Version: 8.0.0
|
||
|
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: Tiziana Ferro <tiziana.ferro@email.it>
|
||
|
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
|
||
|
xabacus is an implementation of the classic Chinese abacus which has its origins in the 12th century.
|
||
|
|
||
|
%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}/*
|
||
|
%{_libdir}/X11/app-defaults/*
|
||
|
%{_datadir}/games/xabacus/*
|
||
|
%{_datadir}/pixmaps/*/abacus.png
|
||
|
%{_datadir}/applications/xabacus.desktop
|
||
|
%{_mandir}/man6/*
|
||
|
%doc README
|
||
|
|
||
|
%changelog
|
||
|
* 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
|