rpms/pianobooster/F-10 import.log, NONE, 1.1 pianobooster.desktop, NONE, 1.1 pianobooster.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christian Krause chkr at fedoraproject.org
Fri Apr 17 20:33:35 UTC 2009


Author: chkr

Update of /cvs/pkgs/rpms/pianobooster/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31286/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pianobooster.desktop pianobooster.spec 
Log Message:
initial import of pianobooster



--- NEW FILE import.log ---
pianobooster-0_6_2-4_fc12:F-10:pianobooster-0.6.2-4.fc12.src.rpm:1240000348


--- NEW FILE pianobooster.desktop ---
[Desktop Entry]
Name=Piano Booster
Comment=A MIDI file player that teaches you how to play the piano
GenericName=Piano Teacher
Exec=pianobooster
Icon=pianobooster
Terminal=false
Type=Application
Categories=Music;Education;AudioVideo;



--- NEW FILE pianobooster.spec ---
Name:            pianobooster
Summary:         A MIDI file player that teaches you how to play the piano
Version:         0.6.2
Release:         4%{?dist}
License:         GPLv3+
Group:           Applications/Multimedia
URL:             http://pianobooster.sourceforge.net/
Source0:         http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tgz
Source1:         %{name}.desktop
BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:   cmake
BuildRequires:   qt4-devel
BuildRequires:   desktop-file-utils
BuildRequires:   alsa-lib-devel

%description
A MIDI file player/game that displays the musical notes AND teaches you how
to play the piano. 

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 reacts to what you are playing on a
MIDI keyboard.


%prep
%setup -q -n %{name}-src-%{version}

sed -e 's|\r||g' README.txt > README.txt.tmp
touch -r README.txt README.txt.tmp
mv README.txt.tmp README.txt

sed -e 's|\r||g' license.txt > license.txt.tmp
touch -r license.txt license.txt.tmp
mv license.txt.tmp license.txt


%build
pushd build
%cmake ../src
make %{?_smp_mflags}
popd

%install
rm -rf $RPM_BUILD_ROOT
pushd build
install -d $RPM_BUILD_ROOT/%{_bindir}
install %{name} $RPM_BUILD_ROOT/%{_bindir}
popd

install -d $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install \
    --dir %{buildroot}%{_datadir}/applications  \
    %{SOURCE1}


install -d $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p src/images/Logo32x32.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
install -d $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
install -p src/images/logo64x64.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc license.txt gplv3.txt README.txt
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/apps/*

%changelog
* Fri Apr 17 2009 Christian Krause <chkr at fedoraproject.org> - 0.6.2-4
- preserve timestamps of README.txt and license.txt

* Sun Apr 12 2009 Christian Krause <chkr at fedoraproject.org> - 0.6.2-3
- use %%{name} macro
- provide .desktop file as separate source1
- use sed instead of dos2unix
- use install -p to preserve the timestamps 
- add GenericName to desktop file
- fix typo in icon installation
- enabled parallel build

* Tue Apr 07 2009 Christian Krause <chkr at fedoraproject.org> - 0.6.2-2
Initial spec file.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pianobooster/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Apr 2009 04:29:33 -0000	1.1
+++ .cvsignore	17 Apr 2009 20:33:33 -0000	1.2
@@ -0,0 +1 @@
+pianobooster-src-0.6.2.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pianobooster/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Apr 2009 04:29:33 -0000	1.1
+++ sources	17 Apr 2009 20:33:34 -0000	1.2
@@ -0,0 +1 @@
+b644305e706721af1cba0debcb4390e2  pianobooster-src-0.6.2.tgz




More information about the scm-commits mailing list