diff --git a/.cvsignore b/.cvsignore index e69de29..7e6c000 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +plee-the-bear-0.4.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..eafdbd6 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +plee-the-bear-0_4_1-2_fc12:EL-5:plee-the-bear-0.4.1-2.fc12.src.rpm:1259056279 diff --git a/plee-the-bear.spec b/plee-the-bear.spec new file mode 100644 index 0000000..9425ab1 --- /dev/null +++ b/plee-the-bear.spec @@ -0,0 +1,104 @@ +Name: plee-the-bear +Version: 0.4.1 +Release: 2%{?dist} +Summary: 2D platform game +Group: Amusements/Games +# Code and artwork respectively +License: GPLv2+ and CC-BY-SA +URL: http://plee-the-bear.sourceforge.net/ +Source0: http://downloads.sourceforge.net/project/plee-the-bear/Plee%20the%20Bear/0.4/%{name}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: desktop-file-utils +BuildRequires: libclaw-devel +BuildRequires: boost-devel +BuildRequires: wxGTK-devel +BuildRequires: SDL_mixer-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: gettext +BuildRequires: cmake + +%description +Plee the Bear is a 2D platform game like those we found on consoles in the +beginning of the 90's. The basis of the scenario fit in few lines: + +4 PM or so, Plee wakes up, tired. He has dreamed again about that awesome +period when he went across the entire world together with his belle. He +puts his leg in the honey pot... empty! Moreover every single honey pot in +the house is empty. "One more trick of that kid", he thinks. "I'm going to +give him such a wallop of which he sure will remember". + +Following honey drops on the ground, Plee reaches the edge of the forest. +Beginning of the game. + +The game is led by Julien Jorge and Sebastien Angibaud. Nevertheless, the +game counts several contributions from external people. + + +%prep +%setup -q + + +%build +%cmake . +make %{?_smp_mflags} VERBOSE=1 + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT VERBOSE=1 INSTALL="install -p" + +# Translations +%find_lang %{name} +%find_lang bear-factory +cat bear-factory.lang >>%{name}.lang + +# Menu entries +for F in $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop +do + desktop-file-validate $F +done + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +/sbin/ldconfig +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + + +%postun +/sbin/ldconfig +[ $1 = 0 ] || exit 0 +touch --no-create %{_datadir}/icons/hicolor &>/dev/null +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%{_libdir}/*.so +%{_bindir}/* +%{_datadir}/plee-the-bear +%{_datadir}/bear-factory +%{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/pixmaps/* +%doc CCPL COPYING GPL + + +%changelog +* Fri Sep 18 2009 Lubomir Rintel - 0.4.1-2 +- Incorporate suggestions from review (#524283#c2, Simon Wesp) +- Fix license tag +- Preserve timestamps +- Regenerate icon cache + +* Fri Sep 18 2009 Lubomir Rintel - 0.4.1-1 +- Initial packaging diff --git a/sources b/sources index e69de29..2ba0940 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5bb295d36aa92aa7c84e3fceda73e47b plee-the-bear-0.4.1.tar.gz