SPECS: banshee.spec - major cleanup, rel. down, added ToDo, fixed ...
deejay1
deejay1 at pld-linux.org
Tue Mar 21 22:30:18 CET 2006
Author: deejay1 Date: Tue Mar 21 21:30:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- major cleanup, rel. down, added ToDo, fixed post/preun scripts
- cut off changelog, added proper dates in it
- updated BR's for Th
---- Files affected:
SPECS:
banshee.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/banshee.spec
diff -u SPECS/banshee.spec:1.2 SPECS/banshee.spec:1.3
--- SPECS/banshee.spec:1.2 Tue Mar 21 21:27:43 2006
+++ SPECS/banshee.spec Tue Mar 21 22:30:12 2006
@@ -1,55 +1,40 @@
# $Revision$, $Date$
-
-%define mono_version 1.1.10
-%define gstreamer_version 0.8.6
-%define gstreamer-plugins_version 0.8.6
-%define gtk2-sharp_version 2.4.0
-%define gst-sharp_version 0.2.0
-%define sqlite_version 3.2.8
-%define ipod_version 0.5.2
-%define dbus_version 0.50
-%define hal_version 0.5.2
-%define nautilus_version 2.12.1
+# ToDo:
+# - check Patch0
+# - make avahi.pc work (propable bug in avahi package,
+# it doesn't make a proper symlink for the .dll
+# - make some proper bconds for other it
+#
+%include /usr/lib/rpm/macros.mono
+#
Summary: A Mono/GStreamer Based Music Player
Summary(pl): Oparty na Mono/GStreamerze odtwarzacz muzyki
Name: banshee
Version: 0.10.8
-Release: 1
+Release: 0.1
License: GPL
Group: Applications/Multimedia
-Source: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
+Source0: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
+# Source0-md5: cfa4051cd8aba171a09dcb9a3f34fef3
Patch0: %{name}-stat.patch
-URL: http://banshee.aaronbock.net
-BuildRequires: dbus-devel >= %{dbus_version}
-BuildRequires: gnome-desktop-devel >= 2.0
-BuildRequires: gst-sharp >= %{gst-sharp_version}
-BuildRequires: gstreamer-GConf >= 0.8
-BuildRequires: gstreamer-cdparanoia >= 0.8
-BuildRequires: gstreamer-devel >= %{gstreamer_version}
-BuildRequires: gstreamer-gnomevfs >= 0.8
-BuildRequires: gstreamer-plugins-devel >= %{gstreamer-plugins_version}
-BuildRequires: gtk-sharp2-gapi >= %{gtk-sharp2_version}
-BuildRequires: hal-devel >= %{hal_version}
-BuildRequires: ipod-sharp >= %{ipod_version}
-BuildRequires: mono-data-sqlite >= %{mono_version}
-BuildRequires: mono-devel >= %{mono_version}
+URL: http://banshee-project.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: avahi-compat-howl-devel
+BuildRequires: dotnet-avahi-devel
+BuildRequires: dotnet-dbus-sharp-devel
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.3.92
+BuildRequires: gnome-desktop-devel
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
+BuildRequires: hal-devel >= 0.5.2
+BuildRequires: libtool
+BuildRequires: libmusicbrainz-devel
+BuildRequires: mono-csharp >= 1.1.10
BuildRequires: monodoc
-BuildRequires: nautilus-cd-burner-devel >= %{nautilus_version}
-BuildRequires: njb-sharp-devel
-BuildRequires: sqlite-devel >= %{sqlite_version}
-Requires: dbus >= %{dbus_version}
-Requires: dbus-sharp >= %{dbus_version}
-Requires: gst-sharp >= %{gst-sharp_version}
-Requires: gstreamer >= %{gstreamer_version}
-Requires: gstreamer-plugins >= %{gstreamer-plugins_version}
-Requires: gtk-sharp2 >= %{gtk-sharp2_version}
-Requires: ipod-sharp >= %{ipod_version}
-Requires: mono-data-sqlite >= %{mono_version}
-Requires: njb-sharp
-Requires: sqlite >= %{sqlite_version}
-Requires: mono >= %{mono_version}
-Obsoletes: sonance <= %{version}
+BuildRequires: nautilus-cd-burner-devel >= 2.12.0
+BuildRequires: pkgconfig
+BuildRequires: sqlite3-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -64,17 +49,18 @@
%prep
%setup -q
-%patch0 -p1
+#%patch0 -p1
%build
%configure \
--disable-daap \
--disable-dev-tests \
- --disable-helix
+ --disable-helix \
--disable-ipod \
--disable-njb \
--disable-vlc \
- --disable-xing
+ --disable-xing \
+ --with-gstreamer-0-10
%{__make}
%install
@@ -87,35 +73,26 @@
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%find_lang %{name}
-DESKTOPS="banshee.desktop"
-for D in $DESKTOPS; do
- desktop-file-install --vendor %{desktop_vendor} \
- --dir $RPM_BUILD_ROOT%{_desktopdir} \
- --add-category X-Red-Hat-Base \
- --add-category Application \
- --add-category AudioVideo \
- $RPM_BUILD_ROOT%{_desktopdir}/$D
- mv $RPM_BUILD_ROOT%{_desktopdir}/%{desktop_vendor}-$D $RPM_BUILD_ROOT%{_desktopdir}/$D
-done
-
-rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
-find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
-
%clean
rm -rf $RPM_BUILD_ROOT
%post
-update-desktop-database %{_desktopdir}
-SCHEMAS="banshee.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
+for S in $SCHEMAS; do
+ %gconf_schema_install $S
+done
+
+%preun
+SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
for S in $SCHEMAS; do
- gconftool-2 \
- --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/$S > /dev/null || :
+ %gconf_schema_install $S
done
%postun
-update-desktop-database %{_desktopdir}
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
%files -f %{name}.lang
%defattr(644,root,root,755)
@@ -123,6 +100,7 @@
%{_sysconfdir}/gconf/schemas/filesystemmonitor.schemas
%{_sysconfdir}/gconf/schemas/metadatasearch.schemas
%{_sysconfdir}/gconf/schemas/banshee.schemas
+%{_sysconfdir}/gconf/schemas/banshee-notificationareaicon.schemas
%{_sysconfdir}/gconf/schemas/audioscrobbler.schemas
%{_sysconfdir}/gconf/schemas/mmkeys.schemas
%attr(755,root,root) %{_bindir}/banshee
@@ -137,61 +115,29 @@
#%{_libdir}/banshee/Banshee.Dap
%{_libdir}/banshee/Banshee.MediaEngine
%{_libdir}/banshee/Banshee.Plugins
+%{_libdir}/monodoc/sources/*
%{_desktopdir}/banshee.desktop
%{_iconsdir}/hicolor/*/*/*
%{_datadir}/dbus-1/services/org.gnome.Banshee.service
+%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.3 2006/03/21 21:30:12 deejay1
+- major cleanup, rel. down, added ToDo, fixed post/preun scripts
+- cut off changelog, added proper dates in it
+- updated BR's for Th
+
Revision 1.2 2006/03/21 20:27:43 qboosh
- pl, some cleanups
-Revision 1.1 2006/03/20 czarny
+Revision 1.1 2006/03/20 17:07:15 czarny
- init PLD spec
- adaptized from some strange rpm found out there in the net
- more to do, then done
- NFY
- builds and installs only with --nodeps
-* Tue Feb 07 2006 Matthew Hall <matt at nrpms.net> 0.10.5-1
-- 0.10.5 Release
-
-* Wed Feb 01 2006 Matthew Hall <matt at nrpms.net> 0.10.4-2
-- Enable njb support
-
-* Wed Jan 18 2006 Matthew Hall <matt at nrpms.net> 0.10.4-1
-- 0.10.4 Release
-
-* Tue Jan 03 2006 Matthew Hall <matt at nrpms.net> 0.10.2-1
-- 0.10.2 Release
-
-* Wed Dec 07 2005 Matthew Hall <matt at nrpms.net> 0.10-1
-- 0.10 Release
-
-* Sat Nov 12 2005 Matthew Hall <matt at nrpms.net> 0.9.11.1-1
-- 0.9.11.1 Release
-
-* Thu Nov 10 2005 Matthew Hall <matt at nrpms.net> 0.9.11-1
-- 0.9.11 Release
-
-* Mon Sep 26 2005 Matthew Hall <matt at nrpms.net> 0.9.7.1-2
-- R/BR: 's/gtk-sharp/gtk-sharp2/'
-
-* Fri Sep 16 2005 Matthew Hall <matt at nrpms.net> 0.9.7.1-1
-- 0.9.7.1 Release
-
-* Mon Aug 29 2005 Matthew Hall <matt at nrpms.net> 0.8.7.1-1
-- 0.8.7.1 Release
-
-* Tue Aug 16 2005 Matthew Hall <matt at nrpms.net> 0.8.3-1
-- 0.8.3 Release
-- Sonance renamed to Banshee
-
-* Tue Aug 02 2005 Matthew Hall <matt at nrpms.net> 0.8.0-1
-- 0.8.0 Release
-
-* Thu Jul 28 2005 Matthew Hall <matt at nrpms.net> 0.7.3-1
-- 0.2.1 Release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/banshee.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list