rpms/listen/devel listen.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Haïkel Guémar (hguemar) fedora-extras-commits at redhat.com
Mon Oct 9 08:26:18 UTC 2006


Author: hguemar

Update of /cvs/extras/rpms/listen/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1141/devel

Modified Files:
	.cvsignore sources 
Added Files:
	listen.spec 
Log Message:
auto-import listen-0.5-3.beta1.fc5 on branch devel from listen-0.5-3.beta1.fc5.src.rpm


--- NEW FILE listen.spec ---
Name:           listen
Version:        0.5
Release:        3.beta1%{?dist}
Summary:        A music manager and player for GNOME

Group:          Applications/Multimedia
License:        GPL
URL:            http://listengnome.free.fr
Source0:        %name-%{version}b1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}b1-%{release}-root-%(%{__id_u} -n)


Requires(post):   /sbin/ldconfig
Requires(postun): /sbin/ldconfig  
Buildrequires: python-devel
BuildRequires: pygtk2-devel 
BuildRequires: gtk2-devel
Buildrequires: pkgconfig
Buildrequires: docbook2X
BuildRequires: gettext
Buildrequires: xorg-x11-server-Xvfb
Buildrequires: xorg-x11-xauth
Buildrequires: xorg-x11-fonts-base
Buildrequires: xorg-x11-fonts-misc
BuildRequires: gstreamer-python
BuildRequires: dbus-python
BuildRequires: python-sqlite2
BuildRequires: python-ctypes
BuildRequires: gnome-python2
BuildRequires: gnome-python2-extras
BuildRequires: gnome-python2-libegg
BuildRequires: python-ogg-devel
BuildRequires: python-vorbis
BuildRequires: python-sexy
BuildRequires: python-mutagen >= 1.6
BuildRequires: desktop-file-utils
# MusicBrainz support
BuildRequires: python-musicbrainz2 
BuildRequires: libtunepimp 
# optional requires an updated libgpod package from Core
#Requires: python-libgpod

%description
Listen is a music manager and player for GNOME
With listen you can:
* Play your favorite songs
* Manage your library
* Manage your ipod
* Make playlists
* Automatically or manually download album covers
* Automatically synchronize album covers with iPod
* Easily burn an audio CD
* Directly get informations from wikipedia when you play a song
* See the lyrics of a song
* Have statistics about your favorite songs, albums or artists
* Listen to web radio
* Submit your songs to Audioscrobbler
* Quick access to last.fm related file
With listen you will be able to:
 * Listen And Rip Audio CDs
 * Browse and listen songs on a DAAP share
 * Share you library via a DAAP share
 * Fill metadata with musicbrainz
 * Make smart playlists


%prep
%setup -q -n %{name}-%{version}b1
# the path is hardcoded in the Makefile
%{__sed} -i 's/local//' Makefile
# Under Fedora dockbook2x-man is renamed db2x_docbook2man
%{__sed} -i 's/docbook2x-man/db2x_docbook2man/' Makefile

%build
# (misc) for import gtk, as gtk requires a X server to be imported
XDISPLAY=$(i=2; while [ -f /tmp/.X$i-lock ]; do i=$(($i+1)); done; echo $i)
# added - nolisten tcp -ac -terminate to fix build issue with mock
%{_prefix}/bin/Xvfb :$XDISPLAY -nolisten tcp -ac -terminate &
export DISPLAY=:$XDISPLAY
xauth add $DISPLAY . EE
make %{?_smp_mflags}



%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
chmod +x $RPM_BUILD_ROOT%{_libdir}/%{name}/listen.py
chmod +x $RPM_BUILD_ROOT%{_libdir}/%{name}/mmkeys.so
# fixed rights of trackedit.glade thanks to Martin Sourada
chmod 644 $RPM_BUILD_ROOT%{_datadir}/%{name}/trackedit.glade
desktop-file-install --vendor fedora --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications      \
  --add-category X-Fedora                              \
  --remove-mime-type audio/mp3 \
  --remove-mime-type audio/x-mp3 \
  --remove-mime-type audio/mpeg \
  --remove-mime-type audio/x-mpeg \
  --remove-mime-type audio/mpeg3 \
  --remove-mime-type audio/x-mpeg-3 \
  --remove-mime-type application/x-id3 \
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop


%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files 
%defattr(-,root,root,-)
%doc gpl.txt
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_datadir}/%{name}/trackedit.glade
%{_datadir}/%{name}/img/
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/*.desktop

%changelog
* Sun Nov 08 2006 Haïkel Guémar <karlthered at gmail.com> 0.5-3.beta1
- Removed audio/mp3 & cie mime types from .desktop, fixed naming issue,
 some enhancements to the spec (thanks M. Sourada), 

* Thu Nov 05 2006 Haïkel Guémar <karlthered at gmail.com> 0.5b1-2
- Added gettext and gtk2-devel as BR, fixed build issue with mock

* Fri Sep 08 2006 Haïkel Guémar <karlthered at gmail.com> 0.5b1-1
- Updated to 0.5 beta 1

* Sun Aug 20 2006 Haïkel Guémar <karlthered at gmail.com> 0.5.svn20060825-1
- Updated to 0.5.svn20060825 (0.5pre1)

* Thu May 25 2006 Haïkel Guémar <karlthered at gmail.com> 0.4.3-4
- Added licence/copyright files and fixed some issues with rpmlint

* Thu May 25 2006 Haïkel Guémar <karlthered at gmail.com> 0.4.3-3
- Add some patches to remove the dependency against libmad

* Thu May 25 2006 Haïkel Guémar <karlthered at gmail.com> 0.4.3-2
- Some cleaning to the spec

* Thu May 11 2006 Haïkel Guémar <karlthered at gmail.com> 0.4.3-1
- First packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/listen/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Oct 2006 08:24:55 -0000	1.1
+++ .cvsignore	9 Oct 2006 08:26:18 -0000	1.2
@@ -0,0 +1 @@
+listen-0.5b1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/listen/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Oct 2006 08:24:55 -0000	1.1
+++ sources	9 Oct 2006 08:26:18 -0000	1.2
@@ -0,0 +1 @@
+9dd7b4252ccdddc44199ac0820ac4b91  listen-0.5b1.tar.gz




More information about the fedora-extras-commits mailing list