diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d35553c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Impressive-0.10.2.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index ae83d1e..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: impressive -# $Id$ -NAME := impressive -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/impressive.sh b/impressive.sh new file mode 100755 index 0000000..c9e7a37 --- /dev/null +++ b/impressive.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +. /usr/share/opengl-games-utils/opengl-game-functions.sh + +APP=python-impressive + +checkDriOK $APP + +exec $APP "$@" diff --git a/impressive.spec b/impressive.spec new file mode 100644 index 0000000..8fd28ab --- /dev/null +++ b/impressive.spec @@ -0,0 +1,90 @@ +Name: impressive +Version: 0.10.2 +Release: 6%{?dist} +Summary: The stylish way of giving presentations + +Group: Applications/Productivity +License: GPLv2 +URL: http://impressive.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/Impressive-%{version}.tar.gz +Source1: %{name}.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +Requires: python-imaging +Requires: pygame +Requires: PyOpenGL +Requires: opengl-games-utils +Requires: xpdf +Requires: xdg-utils +Requires: opengl-games-utils + +%if 0%{?fedora} > 10 +Requires: dejavu-sans-fonts +%endif + +%if 0%{?fedora} <= 10 +Requires: dejavu-fonts +%endif + +Provides: keyjnote = %{version}-%{release} +Obsoletes: keyjnote < 0.10.2-3 + + +%description +Impressive is a program that displays presentation slides. But unlike +OpenOffice.org Impress or other similar applications, it does so with +style. + +Smooth alpha-blended slide transitions are provided for the sake +of eye candy, but in addition to this, Impressive offers some unique tools +that are really useful for presentations. + + +%prep +%setup -q -n Impressive-%{version} + + +%build +# This package don't build anything, just copy files under build root. + + +%install +rm -rf $RPM_BUILD_ROOT +install -D -p -m 755 impressive.py $RPM_BUILD_ROOT%{_bindir}/python-impressive +install -D -p -m 644 impressive.1 $RPM_BUILD_ROOT%{_mandir}/man1/impressive.1 +cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc changelog.txt demo.pdf impressive.html license.txt +%{_bindir}/%{name} +%{_bindir}/python-%{name} +%{_mandir}/man1/* + +%changelog +* Thu Feb 19 2009 Allisson Azevedo 0.10.2-6 +- Added provides keyjnote. + +* Mon Feb 16 2009 Allisson Azevedo 0.10.2-5 +- Obsolete keyjnote. + +* Mon Feb 16 2009 Allisson Azevedo 0.10.2-4 +- Fix requires for dejavu fonts. + +* Thu Feb 12 2009 Allisson Azevedo 0.10.2-3 +- Added OpenGL wrapper. +- Fix requires for dejavu fonts. + +* Thu Feb 12 2009 Allisson Azevedo 0.10.2-2 +- Changed license. +- Added dejavu-fonts to requires. +- Added build section. + +* Mon Feb 9 2009 Allisson Azevedo 0.10.2-1 +- Initial RPM release diff --git a/sources b/sources index e69de29..63505ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +492eda5e3e09beb2f6dc997ed94f5349 Impressive-0.10.2.tar.gz