rpms/decibel-audio-player/F-9 decibel-audio-player-0.10-desktop.patch, NONE, 1.1 decibel-audio-player.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Debarshi Ray (rishi)
fedora-extras-commits at redhat.com
Thu May 22 18:36:41 UTC 2008
Author: rishi
Update of /cvs/pkgs/rpms/decibel-audio-player/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4377/F-9
Modified Files:
.cvsignore sources
Added Files:
decibel-audio-player-0.10-desktop.patch
decibel-audio-player.spec
Log Message:
Initial import into F-9.
Modified Files:
F-9/.cvsignore F-9/sources
Added Files:
F-9/decibel-audio-player-0.10-desktop.patch
F-9/decibel-audio-player.spec
decibel-audio-player-0.10-desktop.patch:
--- NEW FILE decibel-audio-player-0.10-desktop.patch ---
diff -urNp decibel-audio-player-0.09.orig/res/decibel-audio-player.desktop decibel-audio-player-0.09/res/decibel-audio-player.desktop
--- decibel-audio-player-0.09.orig/res/decibel-audio-player.desktop 2008-02-03 04:32:37.000000000 +0530
+++ decibel-audio-player-0.09/res/decibel-audio-player.desktop 2008-02-03 05:19:31.000000000 +0530
@@ -1,13 +1,13 @@
[Desktop Entry]
-Name=Decibel Audio Player
-GenericName=Audio Player
+Encoding=UTF-8
+Name=Decibel Music Player
+GenericName=Music Player
Comment=A simple audio player
+Comment[fr]=Un lecteur audio simple d'utilisation
Exec=decibel-audio-player
-MimeType=application/x-executable;
Terminal=false
Type=Application
-Icon=decibel-audio-player.png
+Icon=decibel-audio-player
StartupNotify=true
-Categories=GNOME;GTK;AudioVideo;
-
-Comment[fr]=Un lecteur audio simple d'utilisation
+Categories=GNOME;GTK;Audio;Music;Player;AudioVideo
+MimeType=audio/musepack;application/musepack;application/x-ape;audio/ape;audio/x-ape;audio/x-musepack;application/x-musepack;audio/x-mp3;application/x-id3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;audio/mp3;audio/x-m4a;audio/mpc;audio/x-mpc;audio/mp;audio/x-mp;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;
--- NEW FILE decibel-audio-player.spec ---
%if 0%{?fc7}
%else
%define _remove_encoding --remove-key Encoding
%endif
Summary: Music player for GNOME
Name: decibel-audio-player
Version: 0.10
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://decibel.silent-blade.org/
Source0: http://decibel.silent-blade.org/uploads/Main/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-desktop.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: dbus-python
Requires: gnome-python2
Requires: gstreamer-python
Requires: hicolor-icon-theme
Requires: pygtk2-libglade
Requires: python-mutagen
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildArch: noarch
%description
Decibel is an audio player that aims at being very straightforward to use by
means of a very clean and user friendly interface. It is especially targeted
at GNOME and will follow, as closely as possible, the GNOME HIG. It makes use
of the GStreamer library to read audio files.
%prep
%setup -q
%patch0 -p1
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
make install prefix=%{_prefix} INSTALL="%{__install} -p" \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
# icon
install -p -m644 $RPM_BUILD_ROOT%{_datadir}/%{name}/pix/%{name}-16.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
install -p -m644 $RPM_BUILD_ROOT%{_datadir}/%{name}/pix/%{name}-24.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
install -p -m644 $RPM_BUILD_ROOT%{_datadir}/%{name}/pix/%{name}-32.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
install -p -m644 $RPM_BUILD_ROOT%{_datadir}/%{name}/pix/%{name}.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
install -p -m644 $RPM_BUILD_ROOT%{_datadir}/%{name}/pix/%{name}-64.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
install -p -m644 $RPM_BUILD_ROOT%{_datadir}/%{name}/pix/%{name}-128.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
desktop-file-install %{?_remove_encoding} --vendor fedora --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
# Files containing shebangs need to have the executable bits.
chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/src/decibel-audio-player.py
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ -x %{_bindir}/update-desktop-database ]; then
update-desktop-database &> /dev/null || :
fi
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
if [ -x %{_bindir}/update-desktop-database ]; then
update-desktop-database &> /dev/null || :
fi
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc doc/ChangeLog
%doc doc/LICENCE
%{_bindir}/%{name}
%{_bindir}/%{name}-remote
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/%{name}-remote.1.gz
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/pix
%{_datadir}/%{name}/res
%{_datadir}/%{name}/src
%changelog
* Thu May 22 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.10-1
- Version bump to 0.10.
* Sun Feb 03 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.09-1
- Initial build.
- Fixed wrong MimeType.
- Removed Application from Categories.
- Removed Encoding from Desktop Entry for all distributions, except Fedora 7.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/decibel-audio-player/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 May 2008 18:30:04 -0000 1.1
+++ .cvsignore 22 May 2008 18:35:27 -0000 1.2
@@ -0,0 +1 @@
+decibel-audio-player-0.10.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/decibel-audio-player/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 May 2008 18:30:04 -0000 1.1
+++ sources 22 May 2008 18:35:27 -0000 1.2
@@ -0,0 +1 @@
+a0b43e0a43e56495152b598cb84ba02c decibel-audio-player-0.10.tar.gz
More information about the fedora-extras-commits
mailing list