packages: pianobooster/pianobooster.spec (NEW) - added to PLD

lisu lisu at pld-linux.org
Fri Mar 12 09:58:13 CET 2010


Author: lisu                         Date: Fri Mar 12 08:58:13 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added to PLD

---- Files affected:
packages/pianobooster:
   pianobooster.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/pianobooster/pianobooster.spec
diff -u /dev/null packages/pianobooster/pianobooster.spec:1.1
--- /dev/null	Fri Mar 12 09:58:13 2010
+++ packages/pianobooster/pianobooster.spec	Fri Mar 12 09:58:07 2010
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary:	Piano Teacher
+Summary(pl.UTF-8):	Nauka gry na pianinie
+Name:		pianobooster
+Version:	0.6.4
+Release:	1
+License:	GPL v3+
+Group:		X11/Applications/Games
+Source0:	http://downloads.sourceforge.net/pianobooster/%{name}-src-%{version}.tar.gz
+# Source0-md5:	af1bb513c93ac7b1c8cc919b60146d1c
+Patch0:		%{name}-desktop.patch
+URL:		http://pianobooster.sourceforge.net/
+BuildRequires:	cmake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PianoBooster is a fun way of playing along with a musical
+accompaniment and at the same time learning the basics of reading
+musical notation. The difference between playing along to a CD or a
+standard midi file is that PianoBooster listens and follows what you
+are playing on a midi piano keyboard.
+
+%description -l pl.UTF-8
+PianoBooster pozwala na granie muzyki z akompaniamentem, a przy okazji
+uczy podstaw odczytu notatcji muzycznej. W odróżnieniu od odtwarzania
+muzyki na odtwarzaczu CD lub zwykłego pliki midi, PianoBooster reaguje
+na grę użytkownika korzystającego z muzycznej klawiatury midi.
+
+%prep
+%setup -q -n %{name}-src-%{version}
+%patch0 -p1
+
+%build
+cd build
+%cmake ../src \
+	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64
+%endif
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_bindir}/pianobooster
+%{_desktopdir}/pianobooster.desktop
+%{_pixmapsdir}/pianobooster.png
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/03/12 08:58:07  lisu
+- added to PLD
+
================================================================


More information about the pld-cvs-commit mailing list