]> git.pld-linux.org Git - packages/banshee.git/blob - banshee.spec
- cosmetics
[packages/banshee.git] / banshee.spec
1 # ToDo:
2 #       - check Patch0
3 #       - make avahi.pc work (propable bug in avahi package,
4 #               it doesn't make a proper symlink for the .dll
5 #       - make some proper bconds for other it
6 #
7 %include /usr/lib/rpm/macros.mono
8 #
9
10 Summary:        A Mono/GStreamer Based Music Player
11 Summary(pl):    Oparty na Mono/GStreamerze odtwarzacz muzyki
12 Name:           banshee
13 Version:        0.10.9
14 Release:        0.1
15 License:        GPL
16 Group:          Applications/Multimedia
17 Source0:        http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
18 # Source0-md5:  86b67e399ea805f69a860b3e6fd4627f
19 URL:            http://banshee-project.org/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  avahi-compat-howl-devel
23 BuildRequires:  dotnet-avahi-devel
24 BuildRequires:  dotnet-dbus-sharp-devel
25 BuildRequires:  dotnet-gtk-sharp2-devel >= 2.3.92
26 BuildRequires:  gnome-desktop-devel
27 BuildRequires:  gstreamer-cdparanoia
28 BuildRequires:  gstreamer-gnomevfs
29 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.0
30 BuildRequires:  hal-devel >= 0.5.2
31 BuildRequires:  libtool
32 BuildRequires:  libmusicbrainz-devel
33 BuildRequires:  mono-csharp >= 1.1.13
34 BuildRequires:  monodoc
35 BuildRequires:  nautilus-cd-burner-devel >= 2.12.0
36 BuildRequires:  pkgconfig
37 BuildRequires:  sqlite3-devel
38 Requires:       gstreamer-cdparanoia
39 Requires:       gstreamer-gnomevfs
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 Banshee is a brand spankin' new audio player based on the GStreamer
44 media library and is developed on the Open Source Mono .NET Platform,
45 written in C#.
46
47 %description -l pl
48 Banshee to nowy odtwarzacz d¼wiêku oparty na bibliotece odtwarzacza
49 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
50 C#.
51
52 %prep
53 %setup -q
54
55 %build
56 %configure \
57         --disable-daap \
58         --disable-dev-tests \
59         --disable-helix \
60         --disable-ipod \
61         --disable-njb \
62         --disable-vlc \
63         --disable-xing \
64         --with-gstreamer-0-10
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_desktopdir}
70
71 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
75 %find_lang %{name}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post
81 umask 022
82 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
83 SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
84 for S in $SCHEMAS; do
85         %gconf_schema_install $S
86 done
87
88 %preun
89 SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
90 for S in $SCHEMAS; do
91         %gconf_schema_install $S
92 done
93
94 %postun
95 umask 022
96 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING ChangeLog NEWS README 
101 %{_sysconfdir}/gconf/schemas/filesystemmonitor.schemas
102 %{_sysconfdir}/gconf/schemas/metadatasearch.schemas
103 %{_sysconfdir}/gconf/schemas/banshee.schemas
104 %{_sysconfdir}/gconf/schemas/banshee-notificationareaicon.schemas
105 %{_sysconfdir}/gconf/schemas/audioscrobbler.schemas
106 %{_sysconfdir}/gconf/schemas/mmkeys.schemas
107 %attr(755,root,root) %{_bindir}/banshee
108 %{_pkgconfigdir}/banshee.pc
109 %dir %{_libdir}/banshee
110 %{_libdir}/banshee/*.dll
111 #%{_libdir}/banshee/*.a
112 %attr(755,root,root) %{_libdir}/banshee/*.so
113 %{_libdir}/banshee/*.exe
114 %{_libdir}/banshee/*.mdb
115 %{_libdir}/banshee/*.config
116 #%{_libdir}/banshee/Banshee.Dap
117 %{_libdir}/banshee/Banshee.MediaEngine
118 %{_libdir}/banshee/Banshee.Plugins
119 %{_libdir}/monodoc/sources/*
120 %{_desktopdir}/banshee.desktop
121 %{_iconsdir}/hicolor/*/*/*
122 %{_datadir}/dbus-1/services/org.gnome.Banshee.service
This page took 0.2141 seconds and 4 git commands to generate.