Author: musuruan
Update of /cvs/nonfree/rpms/pushover/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13307/devel
Modified Files:
.cvsignore sources
Added Files:
pushover.desktop pushover.spec
Log Message:
First import
--- NEW FILE pushover.desktop ---
[Desktop Entry]
Name=Pushover
Comment=Make all dominoes topple over
Exec=pushover
Icon=pushover
Terminal=false
Type=Application
Categories=Game;LogicGame;
--- NEW FILE pushover.spec ---
Name: pushover
Version: 0.0.2
Release: 2%{?dist}
Summary: Fun puzzle game with dominos
Group: Amusements/Games
# Some proprietary graphics from the original game are still used
License: GPLv3 and proprietary
URL:
http://pushover.sourceforge.net/
Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
BuildRequires: libpng-devel
BuildRequires: zlib-devel
BuildRequires: lua-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
Requires: gnu-free-sans-fonts
%description
Rearrange the dominoes on the different platforms so that you can start a
chainreaction that makes all dominoes topple over.
%prep
%setup -q
# Fix char encoding
iconv --from=ISO-8859-1 --to=UTF-8 ChangeLog > ChangeLog.utf8
touch -r ChangeLog ChangeLog.utf8
mv ChangeLog.utf8 ChangeLog
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Remove installed docs
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/
# Symlink system font
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/FreeSans.ttf
ln -s %{_datadir}/fonts/gnu-free/FreeSans.ttf \
$RPM_BUILD_ROOT%{_datadir}/%{name}/data/FreeSans.ttf
# Install desktop file
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%doc AUTHORS ChangeLog COPYING NEWS readme.txt
%changelog
* Tue Jan 05 2010 Andrea Musuruane <musuruan(a)gmail.com> 0.0.2-2
- Fixed license
- Fixed typo
- More consistent macro usage
- Cosmetic changes
* Sat Dec 26 2009 Andrea Musuruane <musuruan(a)gmail.com> 0.0.2-1
- First release
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/pushover/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 May 2010 11:44:50 -0000 1.1
+++ .cvsignore 29 May 2010 15:30:44 -0000 1.2
@@ -0,0 +1 @@
+pushover-0.0.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/pushover/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 May 2010 11:44:50 -0000 1.1
+++ sources 29 May 2010 15:30:44 -0000 1.2
@@ -0,0 +1 @@
+b0b6b584a57db0ca6ec69647fba67369 pushover-0.0.2.tar.gz