70 lines
2.1 KiB
RPMSpec
70 lines
2.1 KiB
RPMSpec
|
Name: WoodysFishingHole
|
||
|
Version: 0.9.0
|
||
|
Release: 3mamba
|
||
|
Summary: A fishing game for young children.
|
||
|
Group: Graphical Desktop/Applications/Educational
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Alessandro Ramazzina <alessandro.ramazzina@qilinux.it>
|
||
|
URL: http://sourceforge.net/projects/wfh/
|
||
|
Source: http://downloads.sourceforge.net/sourceforge/wfh/%{name}-%{version}-src.tar.gz
|
||
|
Source1: fish.png
|
||
|
License: GPL
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
BuildRequires: jdk , apache-ant >= 1.6.5
|
||
|
Requires: jre
|
||
|
|
||
|
%description
|
||
|
A fishing game for young children. A simple educational game for kids up to 6 years old. Young toddlers can match colors then move up to letters and numbers. Older kids can practice the names of colors and/or simple objects and practice math.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}
|
||
|
|
||
|
%build
|
||
|
ant
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
mkdir -p %{buildroot}/usr/lib
|
||
|
install -m 755 WoodysFishingHole.jar %{buildroot}/usr/lib
|
||
|
|
||
|
#Icon
|
||
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/fish.png
|
||
|
|
||
|
# Create the system menu entry
|
||
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||
|
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
||
|
[Desktop Entry]
|
||
|
Name=%{name}
|
||
|
Comment=GSokoban is a version of Sokoban for GNOME and Linux/UNIX.
|
||
|
Exec=java -jar %{_libdir}/WoodysFishingHole.jar
|
||
|
Icon=%{_datadir}/pixmaps/fish.png
|
||
|
Terminal=0
|
||
|
Type=Application
|
||
|
X-KDE-StartupNotify=false
|
||
|
Category=Game;KidsGame;
|
||
|
EOF
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc README
|
||
|
%{_libdir}/WoodysFishingHole.jar
|
||
|
%{_datadir}/applications/WoodysFishingHole.desktop
|
||
|
%{_datadir}/pixmaps/fish.png
|
||
|
|
||
|
%changelog
|
||
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 0.9.0-3mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Mon May 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-2mamba
|
||
|
- entry group fixed
|
||
|
- desktop menu file fixed
|
||
|
|
||
|
* Fri Jul 22 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.0-1qilnx
|
||
|
- package created by autospec
|