From 063d0cf21ff267b92cbcb96bcda82b614506ef1e Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mar 09 2014 09:07:08 +0000 Subject: Remove more old cruft --- diff --git a/banshee-make-git-snapshot.sh b/banshee-make-git-snapshot.sh deleted file mode 100644 index 24847e5..0000000 --- a/banshee-make-git-snapshot.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -# Usage: ./banshee-make-git-snapshot.sh [COMMIT] [DATE] -# -# to make a snapshot of the given tag/branch. Defaults to HEAD. -# Point env var REF to a local banshee repo to reduce clone time. - -if [ -z $2 ]; then - DATE=`date +%Y%m%d` -else - DATE=$2 -fi - -DIRNAME="banshee-$DATE" - -echo REF ${REF:+--reference $REF} -echo DIRNAME $DIRNAME -echo HEAD ${1:-HEAD} - -rm -rf $DIRNAME - -git clone ${REF:+--reference $REF} \ - git://git.gnome.org/banshee $DIRNAME - -GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \ - | bzip2 > $DIRNAME.tar.bz2 - -rm -rf $DIRNAME - diff --git a/banshee.spec b/banshee.spec index 2a438f9..df2375b 100644 --- a/banshee.spec +++ b/banshee.spec @@ -1,22 +1,11 @@ -%global mono_shared %{_builddir}/%{?buildsubdir} - -#%global gitdate 20091216 -#%global gitcommit 8e29a44269cd4b2a27822e62815f5bc6e22dfb58 - Name: banshee Version: 2.6.1 -#Release: 0%{gitdate}git%{?dist} Release: 2%{?dist} Summary: Easily import, manage, and play selections from your music collection License: MIT URL: http://banshee.fm/ - -# based on libdrm's make-git-snapshot.sh -# sh banshee-make-git-snapshot.sh -#Source0: %{name}-%{gitdate}.tar.bz2 Source0: http://ftp.gnome.org/pub/GNOME/sources/banshee/2.6/banshee-%{version}.tar.xz -#Source2: %{name}-make-git-snapshot.sh Patch2: Initial-port-to-GStreamer-1.0.patch Patch3: Remove-build-time-enable-gapless-playback-option.patch @@ -24,15 +13,12 @@ Patch3: Remove-build-time-enable-gapless-playback-option.patch # Mono only available on these: ExclusiveArch: %{mono_arches} -# Versioned dependencies BuildRequires: mono-devel -# see bz #526132 -- this is our first package that disables mDNSresponder -# which does not work due to glibc dlsym bug BuildRequires: mono-zeroconf-devel >= 0.9.0-2 BuildRequires: sqlite-devel >= 3.4 -BuildRequires: gstreamer1-devel >= 0.10 -BuildRequires: gstreamer1-plugins-base-devel >= 0.10 -BuildRequires: gstreamer1-plugins-good >= 0.10 +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base-devel +BuildRequires: gstreamer1-plugins-good BuildRequires: libmtp-devel >= 0.2.0 # explicitly depend on dbus-glib-devel for # https://bugzilla.redhat.com/show_bug.cgi?id=867133 @@ -72,8 +58,6 @@ BuildRequires: gnome-doc-utils gettext-devel intltool perl(XML::Parser) # Building with nunit installed causes banshee to require it at runtime #BuildRequires: mono-nunit-devel -#BuildRequires: monotorrent-dbus-devel - BuildRequires: desktop-file-utils # Snapshots only @@ -134,18 +118,13 @@ developing applications that use %{name}-musicbrainz. %prep %setup -q -#%setup -q -n %{name}-%{gitdate} %patch2 -p1 -b .gst1 %patch3 -p1 -b .gapless %build -export MONO_SHARED_DIR=%mono_shared # Snapshots only NOCONFIGURE=1 ./autogen.sh -# Please note that "--disable-ipod" does not actually remove -# ipod support, it just removes the ipod-sharp library dependency. -# libgpod-sharp is now used for ipod support %configure --disable-docs --enable-mtp \ %ifarch s390 s390x --disable-appledevice \ @@ -156,7 +135,6 @@ NOCONFIGURE=1 ./autogen.sh make %{?_smp_mflags} V=1 %install -export MONO_SHARED_DIR=%mono_shared make install DESTDIR=%{buildroot} # clean-up .a archives @@ -190,8 +168,6 @@ fi gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang -# ChangeLog not in snapshot -%doc ChangeLog %doc COPYING AUTHORS README NEWS %{_bindir}/banshee %{_bindir}/muinshee